Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedSolenoid.armature.stopper_xMax.v_rel|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleSolenoid.armature.stopper_xMax.v_rel|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") Notification: Performance of loadModel(Modelica): time 1.865/1.865, allocations: 194.9 MB / 210.6 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.266e-05/4.284e-05, allocations: 11.98 kB / 258.8 MB, free: 8.039 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3012, allocations: 44.5 MB / 303.3 MB, free: 12.94 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke): time 0.01419/0.3155, allocations: 8.528 MB / 311.9 MB, free: 5.066 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008464/0.324, allocations: 3.156 MB / 315 MB, free: 1.898 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001963/0.326, allocations: 51.88 kB / 315.1 MB, free: 1.848 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01171/0.3377, allocations: 7.931 MB / 323 MB, free: 9.898 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008819/0.3466, allocations: 4.527 MB / 327.5 MB, free: 5.363 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002535/0.3492, allocations: 0.538 MB / 328.1 MB, free: 4.824 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005811/0.355, allocations: 2.052 MB / 330.1 MB, free: 2.766 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001196/0.3563, allocations: 457.9 kB / 330.6 MB, free: 2.316 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003266/0.3596, allocations: 1.786 MB / 332.3 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007672/0.3673, allocations: 3.638 MB / 336 MB, free: 12.88 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001147/0.3685, allocations: 135.9 kB / 336.1 MB, free: 12.75 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007891/0.3693, allocations: 108 kB / 336.2 MB, free: 12.64 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002131/0.3714, allocations: 1.689 MB / 337.9 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001264/0.3727, allocations: 352 kB / 338.2 MB, free: 10.61 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007984/0.3807, allocations: 5.398 MB / 343.6 MB, free: 5.195 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.3808, allocations: 0 / 343.6 MB, free: 5.195 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.975e-06/0.3808, allocations: 0 / 343.6 MB, free: 5.195 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002076/0.381, allocations: 0 / 343.6 MB, free: 5.195 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 528 * Number of variables: 528 Notification: Performance of Generate backend data structure: time 0.01397/0.395, allocations: 5.343 MB / 349 MB, free: 15.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.3951, allocations: 12.03 kB / 349 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001932/0.397, allocations: 0.8484 MB / 349.8 MB, free: 14.89 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007272/0.4043, allocations: 2.901 MB / 352.7 MB, free: 11.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002301/0.4046, allocations: 156.1 kB / 352.9 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005781/0.4052, allocations: 207.9 kB / 353.1 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00672/0.4119, allocations: 2.069 MB / 355.2 MB, free: 9.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.171e-05/0.412, allocations: 11.98 kB / 355.2 MB, free: 9.418 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003155/0.4124, allocations: 87.98 kB / 355.3 MB, free: 9.332 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-05/0.4124, allocations: 51.95 kB / 355.3 MB, free: 9.281 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006976/0.4194, allocations: 1.864 MB / 357.2 MB, free: 7.406 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02341/0.4429, allocations: 8.774 MB / 366 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006783/0.4497, allocations: 2.274 MB / 368.2 MB, free: 12.08 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003336/0.4501, allocations: 38.41 kB / 368.3 MB, free: 12.05 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003808/0.4539, allocations: 1.124 MB / 369.4 MB, free: 10.89 MB / 314.7 MB Notification: Performance of pre-optimization done (n=242): time 6.312e-06/0.454, allocations: 0 / 369.4 MB, free: 10.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=375): time 0.1114/0.5654, allocations: 21.44 MB / 390.8 MB, free: 5.125 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1675/0.7329, allocations: 29.9 MB / 420.7 MB, free: 6.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2782/1.011, allocations: 13.75 MB / 434.5 MB, free: 98.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000609/1.012, allocations: 89.17 kB / 434.6 MB, free: 98.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004516/1.016, allocations: 3.796 MB / 438.4 MB, free: 95.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001519/1.018, allocations: 1.239 MB / 439.6 MB, free: 94.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003367/1.018, allocations: 66.84 kB / 439.7 MB, free: 94.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001803/1.018, allocations: 440 kB / 440.1 MB, free: 94.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003935/1.022, allocations: 1.216 MB / 441.3 MB, free: 94.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00423/1.027, allocations: 1.573 MB / 442.9 MB, free: 93.33 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004464/1.031, allocations: 1.454 MB / 444.3 MB, free: 92.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.27e-05/1.031, allocations: 1.719 kB / 444.3 MB, free: 92.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=446) (initialization): time 0.01748/1.049, allocations: 5.16 MB / 449.5 MB, free: 90.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.603e-05/1.049, allocations: 33.55 kB / 449.5 MB, free: 90.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.863e-05/1.049, allocations: 3.844 kB / 449.5 MB, free: 90.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008381/1.057, allocations: 1.354 MB / 450.9 MB, free: 89.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005067/1.062, allocations: 0.5606 MB / 451.5 MB, free: 88.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03389/1.096, allocations: 21.23 MB / 472.7 MB, free: 67.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005137/1.101, allocations: 182.1 kB / 472.9 MB, free: 66.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005786/1.102, allocations: 123.9 kB / 473 MB, free: 66.76 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEvent,$PRE.comparisonWithFEA.nextTimeEventScaled,comparisonWithFEA.nextTimeEventScaled,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact,advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (314): * Single equations (assignments): 302 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 4} * Non-linear torn systems: 2 {2 43,3 54} Notification: Performance of prepare postOptimizeDAE: time 0.004539/1.107, allocations: 2.186 MB / 475.2 MB, free: 64.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001344/1.108, allocations: 0.8175 MB / 476 MB, free: 63.74 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01705/1.125, allocations: 5.176 MB / 481.2 MB, free: 58.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008041/1.133, allocations: 2.286 MB / 483.5 MB, free: 56.26 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.987e-05/1.133, allocations: 11.95 kB / 483.5 MB, free: 56.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.837e-05/1.133, allocations: 19.92 kB / 483.5 MB, free: 56.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02833/1.162, allocations: 10.77 MB / 494.3 MB, free: 45.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.871e-05/1.162, allocations: 4 kB / 494.3 MB, free: 45.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004417/1.166, allocations: 471.4 kB / 494.7 MB, free: 44.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00853/1.175, allocations: 1.381 MB / 496.1 MB, free: 43.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005196/1.175, allocations: 71.97 kB / 496.2 MB, free: 43.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03086/1.206, allocations: 19.72 MB / 0.5038 GB, free: 22.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.113/1.319, allocations: 26.52 MB / 0.5297 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0238/1.343, allocations: 6.987 MB / 0.5365 GB, free: 4.367 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002972/1.346, allocations: 1.033 MB / 0.5375 GB, free: 3.305 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001185/1.347, allocations: 68 kB / 0.5376 GB, free: 3.238 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004184/1.351, allocations: 143.9 kB / 0.5377 GB, free: 3.098 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009863/1.352, allocations: 279.2 kB / 0.538 GB, free: 2.824 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003507/1.353, allocations: 104 kB / 0.5381 GB, free: 2.723 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.02017/1.373, allocations: 11.1 MB / 0.5489 GB, free: 7.676 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.242e-06/1.373, allocations: 0 / 0.5489 GB, free: 7.676 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005521/1.379, allocations: 1.104 MB / 0.55 GB, free: 6.574 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 9 ($STATESET2.x[2],$STATESET2.x[1],advancedSolenoid.x,advancedSolenoid.armature.stopper_xMin.v_rel,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,$STATESET1.x,simpleSolenoid.x,simpleSolenoid.armature.stopper_xMin.v_rel) * Number of discrete variables: 7 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact,$whenCondition1,comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEventScaled) * Number of discrete states: 2 (comparisonWithFEA.nextTimeEventScaled,comparisonWithFEA.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (253): * Single equations (assignments): 242 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 5,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 2 {5 55,4 42} Notification: Performance of Backend phase and start with SimCode phase: time 0.001667/1.38, allocations: 445.3 kB / 0.5504 GB, free: 6.164 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01337/1.394, allocations: 4.848 MB / 0.5552 GB, free: 1.191 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.394, allocations: 0 / 0.5552 GB, free: 1.191 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008719/1.403, allocations: 3.323 MB / 0.5584 GB, free: 13.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004018/1.407, allocations: 463.4 kB / 0.5589 GB, free: 13.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2997/1.706, allocations: 20.22 MB / 0.5786 GB, free: 132.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007505/1.714, allocations: 4.204 MB / 0.5827 GB, free: 131.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00339/1.717, allocations: 342.5 kB / 0.583 GB, free: 131.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001135/1.719, allocations: 173.7 kB / 0.5832 GB, free: 131.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.242e-06/1.719, allocations: 3.969 kB / 0.5832 GB, free: 131.8 MB / 410.7 MB Notification: Performance of Templates: time 0.1667/1.885, allocations: 61.63 MB / 0.6434 GB, free: 78.82 MB / 410.7 MB