Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor") Notification: Performance of loadModel(Modelica): time 2.074/2.074, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.826e-05/2.837e-05, allocations: 4 kB / 292.1 MB, free: 8.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0913/0.09135, allocations: 50.41 MB / 342.5 MB, free: 6.398 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3845/0.4758, allocations: 96.17 MB / 438.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.4761, allocations: 80.95 kB / 438.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1407/0.6169, allocations: 37.15 MB / 475.9 MB, free: 13.36 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.593e-06/0.6169, allocations: 0 / 475.9 MB, free: 13.36 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.663e-05/0.617, allocations: 28 kB / 476 MB, free: 13.34 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 371 * Number of variables: 371 Notification: Performance of Generate backend data structure: time 0.005606/0.6226, allocations: 1.591 MB / 477.6 MB, free: 11.69 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.6227, allocations: 12.03 kB / 477.6 MB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003675/0.6264, allocations: 453.7 kB / 478 MB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00197/0.6284, allocations: 0.7503 MB / 478.8 MB, free: 10.44 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002224/0.6286, allocations: 140.6 kB / 478.9 MB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003605/0.629, allocations: 152 kB / 479.1 MB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003447/0.6325, allocations: 1.236 MB / 480.3 MB, free: 8.891 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.344e-05/0.6325, allocations: 7.906 kB / 480.3 MB, free: 8.883 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002099/0.6328, allocations: 63.98 kB / 480.4 MB, free: 8.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.955e-05/0.6328, allocations: 32 kB / 480.4 MB, free: 8.789 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003316/0.6362, allocations: 1.154 MB / 481.5 MB, free: 7.633 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01221/0.6484, allocations: 4.944 MB / 486.5 MB, free: 2.465 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003607/0.652, allocations: 1.848 MB / 488.3 MB, free: 468 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001346/0.6534, allocations: 0.5161 MB / 488.9 MB, free: 15.94 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001891/0.6536, allocations: 114 kB / 489 MB, free: 15.81 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00162/0.6553, allocations: 0.6943 MB / 489.7 MB, free: 15.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=132): time 5.379e-06/0.6553, allocations: 0 / 489.7 MB, free: 15.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=163): time 0.016/0.6713, allocations: 4.901 MB / 494.6 MB, free: 10.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001783/0.6715, allocations: 230.9 kB / 494.8 MB, free: 9.832 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.6726, allocations: 0.5269 MB / 495.3 MB, free: 9.297 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000224/0.6729, allocations: 57.7 kB / 495.4 MB, free: 9.234 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006035/0.6735, allocations: 0.5882 MB / 496 MB, free: 8.637 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006882/0.6742, allocations: 0.539 MB / 496.5 MB, free: 8.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.6743, allocations: 32 kB / 496.5 MB, free: 8.059 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002423/0.6746, allocations: 370.8 kB / 496.9 MB, free: 7.688 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/0.6758, allocations: 456 kB / 497.3 MB, free: 7.242 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00157/0.6774, allocations: 0.7718 MB / 498.1 MB, free: 6.348 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001515/0.6789, allocations: 0.5625 MB / 498.7 MB, free: 5.789 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.477e-05/0.679, allocations: 4 kB / 498.7 MB, free: 5.785 MB / 410.7 MB Notification: Performance of matching and sorting (n=212) (initialization): time 0.005487/0.6845, allocations: 1.825 MB / 0.4888 GB, free: 3.934 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.399e-05/0.6845, allocations: 8 kB / 0.4888 GB, free: 3.926 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.212e-05/0.6846, allocations: 8 kB / 0.4888 GB, free: 3.918 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002145/0.6867, allocations: 473.8 kB / 0.4892 GB, free: 3.445 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001786/0.6885, allocations: 295.5 kB / 0.4895 GB, free: 3.156 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01455/0.7031, allocations: 8.594 MB / 0.4979 GB, free: 10.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/0.7046, allocations: 83.95 kB / 0.498 GB, free: 9.945 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002128/0.7048, allocations: 67.98 kB / 0.4981 GB, free: 9.879 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.fundamentalWavePermabilitySensor.harmonicPotential.mean1.y_last,fundamentalWavePermabilitySensor.harmonicPotential.mean1.y_last,$PRE.fundamentalWavePermabilitySensor.harmonicPotential.mean2.y_last,fundamentalWavePermabilitySensor.harmonicPotential.mean2.y_last,$PRE.fundamentalWavePermabilitySensor.harmonicFlux.mean1.y_last,fundamentalWavePermabilitySensor.harmonicFlux.mean1.y_last,$PRE.fundamentalWavePermabilitySensor.harmonicFlux.mean2.y_last,fundamentalWavePermabilitySensor.harmonicFlux.mean2.y_last,$PRE.rootMeanSquare.mean1.y_last,rootMeanSquare.mean1.y_last,$PRE.rootMeanSquare.mean2.y_last,rootMeanSquare.mean2.y_last) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (158): * Single equations (assignments): 154 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 9,(1,100.0%) 19,(2,100.0%) 18} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004414/0.7053, allocations: 214.8 kB / 0.4983 GB, free: 9.664 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002836/0.7056, allocations: 114.7 kB / 0.4984 GB, free: 9.551 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005471/0.7111, allocations: 1.754 MB / 0.5001 GB, free: 7.773 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-05/0.7112, allocations: 16 kB / 0.5001 GB, free: 7.758 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.638e-05/0.7112, allocations: 8 kB / 0.5001 GB, free: 7.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.321e-05/0.7112, allocations: 11.97 kB / 0.5001 GB, free: 7.738 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009114/0.7203, allocations: 3.571 MB / 0.5036 GB, free: 4.082 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/0.7204, allocations: 0 / 0.5036 GB, free: 4.082 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001461/0.7219, allocations: 203.8 kB / 0.5038 GB, free: 3.883 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002057/0.724, allocations: 457.9 kB / 0.5042 GB, free: 3.426 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002169/0.7242, allocations: 39.97 kB / 0.5043 GB, free: 3.387 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01362/0.7378, allocations: 8.327 MB / 0.5124 GB, free: 10.53 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.56e-06/0.7379, allocations: 0 / 0.5124 GB, free: 10.53 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007013/0.7449, allocations: 2.495 MB / 0.5148 GB, free: 7.977 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007699/0.7457, allocations: 291.6 kB / 0.5151 GB, free: 7.672 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002355/0.746, allocations: 32 kB / 0.5151 GB, free: 7.641 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009822/0.747, allocations: 75.95 kB / 0.5152 GB, free: 7.566 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003678/0.7474, allocations: 129.1 kB / 0.5153 GB, free: 7.441 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001568/0.7475, allocations: 51.91 kB / 0.5154 GB, free: 7.391 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007794/0.7483, allocations: 411.2 kB / 0.5158 GB, free: 6.992 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.15e-07/0.7483, allocations: 0 / 0.5158 GB, free: 6.992 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002325/0.7507, allocations: 431.9 kB / 0.5162 GB, free: 6.57 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (coil.i,fundamentalWavePermabilitySensor.harmonicPotential.mean1.x,fundamentalWavePermabilitySensor.harmonicPotential.mean2.x,fundamentalWavePermabilitySensor.harmonicFlux.mean1.x,fundamentalWavePermabilitySensor.harmonicFlux.mean2.x,rootMeanSquare.mean1.x,rootMeanSquare.mean2.x,currentSensorQS.pin_p.reference.gamma) * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,fundamentalWavePermabilitySensor.harmonicPotential.mean1.y_last,fundamentalWavePermabilitySensor.harmonicPotential.mean2.y_last,fundamentalWavePermabilitySensor.harmonicFlux.mean1.y_last,fundamentalWavePermabilitySensor.harmonicFlux.mean2.y_last,rootMeanSquare.mean1.y_last,rootMeanSquare.mean2.y_last) * Number of discrete states: 6 (fundamentalWavePermabilitySensor.harmonicPotential.mean1.x,fundamentalWavePermabilitySensor.harmonicPotential.mean2.x,fundamentalWavePermabilitySensor.harmonicFlux.mean1.x,fundamentalWavePermabilitySensor.harmonicFlux.mean2.x,rootMeanSquare.mean1.x,rootMeanSquare.mean2.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 9,(2,100.0%) 18,(2,100.0%) 16} * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005525/0.7513, allocations: 258.6 kB / 0.5164 GB, free: 6.305 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004434/0.7557, allocations: 1.898 MB / 0.5183 GB, free: 4.371 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.642e-06/0.7558, allocations: 0 / 0.5183 GB, free: 4.371 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002938/0.7587, allocations: 1.321 MB / 0.5196 GB, free: 3.012 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008201/0.7596, allocations: 97.81 kB / 0.5197 GB, free: 2.918 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005893/0.7655, allocations: 2.102 MB / 0.5217 GB, free: 0.7617 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2392/1.005, allocations: 1.216 MB / 0.5229 GB, free: 122.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006308/1.005, allocations: 95.41 kB / 0.523 GB, free: 122.1 MB / 442.7 MB Notification: Performance of SimCode: time 1.633e-06/1.005, allocations: 0 / 0.523 GB, free: 122.1 MB / 442.7 MB Notification: Performance of Templates: time 0.04998/1.055, allocations: 37.07 MB / 0.5592 GB, free: 116.9 MB / 442.7 MB