Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") Notification: Performance of loadModel(Modelica): time 1.932/1.932, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.265e-05/3.278e-05, allocations: 5.562 kB / 292.1 MB, free: 8.848 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09214/0.09219, allocations: 50.43 MB / 342.6 MB, free: 6.398 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3736/0.4659, allocations: 89.19 MB / 431.8 MB, free: 5.012 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/0.4661, allocations: 79.77 kB / 431.8 MB, free: 4.969 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04153/0.5077, allocations: 9.478 MB / 441.3 MB, free: 12.81 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.225e-06/0.5077, allocations: 0 / 441.3 MB, free: 12.81 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.083e-05/0.5078, allocations: 4 kB / 441.3 MB, free: 12.81 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001279/0.5091, allocations: 0.5835 MB / 441.9 MB, free: 12.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.5091, allocations: 8.031 kB / 441.9 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.5092, allocations: 39.53 kB / 441.9 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005879/0.5098, allocations: 325.8 kB / 442.3 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.901e-05/0.51, allocations: 45.64 kB / 442.3 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001828/0.5101, allocations: 42.62 kB / 442.3 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006555/0.5108, allocations: 293.3 kB / 442.6 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.5109, allocations: 0 / 442.6 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.285e-05/0.5109, allocations: 12.94 kB / 442.6 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.5109, allocations: 4 kB / 442.6 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006347/0.5116, allocations: 261.8 kB / 442.9 MB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002434/0.514, allocations: 1.174 MB / 444.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005575/0.5146, allocations: 255.8 kB / 444.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003259/0.515, allocations: 143.6 kB / 444.5 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.221e-05/0.515, allocations: 11.98 kB / 444.5 MB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.5151, allocations: 34.12 kB / 444.5 MB, free: 10.01 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 3.574e-06/0.5151, allocations: 0 / 444.5 MB, free: 10.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.01013/0.5252, allocations: 2.159 MB / 446.7 MB, free: 8.137 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.089e-05/0.5253, allocations: 88.89 kB / 446.8 MB, free: 8.031 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004874/0.5258, allocations: 258.7 kB / 447 MB, free: 7.828 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.576e-05/0.5259, allocations: 36.83 kB / 447 MB, free: 7.793 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.5261, allocations: 218 kB / 447.3 MB, free: 7.602 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001704/0.5263, allocations: 147.5 kB / 447.4 MB, free: 7.477 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.5263, allocations: 10.69 kB / 447.4 MB, free: 7.473 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.5265, allocations: 333.7 kB / 447.7 MB, free: 7.145 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003713/0.5269, allocations: 138.7 kB / 447.9 MB, free: 7.066 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004234/0.5273, allocations: 198.9 kB / 448.1 MB, free: 6.922 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004213/0.5278, allocations: 149 kB / 448.2 MB, free: 6.836 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.406e-06/0.5278, allocations: 0 / 448.2 MB, free: 6.836 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.007168/0.535, allocations: 1.46 MB / 449.7 MB, free: 5.578 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.535, allocations: 7.953 kB / 449.7 MB, free: 5.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.141e-06/0.5351, allocations: 4.062 kB / 449.7 MB, free: 5.566 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00665/0.5417, allocations: 1.036 MB / 450.7 MB, free: 4.641 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003883/0.5421, allocations: 59.91 kB / 450.8 MB, free: 4.582 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01295/0.5551, allocations: 4.351 MB / 455.1 MB, free: 1.168 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005564/0.5557, allocations: 35.73 kB / 455.2 MB, free: 1.141 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.156e-05/0.5558, allocations: 18.92 kB / 455.2 MB, free: 1.125 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 20} Notification: Performance of prepare postOptimizeDAE: time 0.0001756/0.556, allocations: 127.2 kB / 455.3 MB, free: 1.008 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.5561, allocations: 31.62 kB / 455.3 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001923/0.5581, allocations: 0.5874 MB / 455.9 MB, free: 0.5586 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.5581, allocations: 8 kB / 455.9 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.758e-06/0.5581, allocations: 0 / 455.9 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/0.5581, allocations: 7.938 kB / 455.9 MB, free: 0.543 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00369/0.5618, allocations: 1.229 MB / 457.2 MB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.938e-06/0.5619, allocations: 0 / 457.2 MB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006341/0.5625, allocations: 99.16 kB / 457.3 MB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001717/0.5643, allocations: 261.1 kB / 457.5 MB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-05/0.5644, allocations: 10.69 kB / 457.5 MB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004343/0.5687, allocations: 2.134 MB / 459.7 MB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.5688, allocations: 0 / 459.7 MB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002547/0.5713, allocations: 0.9419 MB / 460.6 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003009/0.5717, allocations: 144.6 kB / 460.8 MB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.561e-05/0.5718, allocations: 12 kB / 460.8 MB, free: 12.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000557/0.5723, allocations: 31.98 kB / 460.8 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/0.5725, allocations: 44.38 kB / 460.8 MB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.488e-05/0.5726, allocations: 15.98 kB / 460.9 MB, free: 12.08 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003267/0.5729, allocations: 205.4 kB / 461.1 MB, free: 11.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.73e-07/0.5729, allocations: 0 / 461.1 MB, free: 11.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009438/0.5739, allocations: 140 kB / 461.2 MB, free: 11.74 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (winding.i,core.Hstat,core.B,core.MagRel) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.000373/0.5743, allocations: 163.1 kB / 461.4 MB, free: 11.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001363/0.5757, allocations: 0.5328 MB / 461.9 MB, free: 11.03 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.5757, allocations: 0 / 461.9 MB, free: 11.03 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007088/0.5764, allocations: 343.1 kB / 462.2 MB, free: 10.69 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004847/0.5769, allocations: 36.5 kB / 462.3 MB, free: 10.65 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.5789, allocations: 0.7546 MB / 463 MB, free: 9.867 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005674/0.5795, allocations: 0.8048 MB / 463.8 MB, free: 9.031 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/0.5797, allocations: 31.42 kB / 463.8 MB, free: 9 MB / 378.7 MB Notification: Performance of SimCode: time 1.503e-06/0.5798, allocations: 0 / 463.8 MB, free: 9 MB / 378.7 MB Notification: Performance of Templates: time 0.01262/0.5924, allocations: 6.18 MB / 470 MB, free: 2.816 MB / 378.7 MB