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_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") Notification: Performance of loadModel(Modelica): time 1.864/1.864, allocations: 225.8 MB / 239.4 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.239e-05/2.242e-05, allocations: 0 / 292.7 MB, free: 8.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08644/0.08648, allocations: 50.42 MB / 343.1 MB, free: 5.906 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3693/0.4558, allocations: 95.95 MB / 439 MB, free: 14.4 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.4561, allocations: 82.33 kB / 439.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.386/0.8422, allocations: 79.44 MB / 0.5064 GB, free: 2.281 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.8422, allocations: 0 / 0.5064 GB, free: 2.281 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007193/0.843, allocations: 116 kB / 0.5065 GB, free: 2.168 MB / 426.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.01279/0.8558, allocations: 5.526 MB / 0.5119 GB, free: 12.57 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.8558, allocations: 12.03 kB / 0.5119 GB, free: 12.55 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001924/0.8578, allocations: 0.8679 MB / 0.5128 GB, free: 11.68 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01016/0.8679, allocations: 3.597 MB / 0.5163 GB, free: 8.012 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001907/0.8682, allocations: 156.1 kB / 0.5164 GB, free: 7.855 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004626/0.8686, allocations: 207.9 kB / 0.5166 GB, free: 7.652 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005092/0.8738, allocations: 1.995 MB / 0.5186 GB, free: 5.598 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-05/0.8738, allocations: 0 / 0.5186 GB, free: 5.598 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002882/0.8741, allocations: 88 kB / 0.5187 GB, free: 5.512 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-05/0.8742, allocations: 51.98 kB / 0.5187 GB, free: 5.461 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004777/0.879, allocations: 1.754 MB / 0.5204 GB, free: 3.703 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2639/1.143, allocations: 10.12 MB / 0.5303 GB, free: 106.1 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004872/1.148, allocations: 2.26 MB / 0.5325 GB, free: 105.9 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003131/1.151, allocations: 1.319 MB / 0.5338 GB, free: 105.8 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001772/1.151, allocations: 45.45 kB / 0.5338 GB, free: 105.8 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002608/1.154, allocations: 1.092 MB / 0.5349 GB, free: 105.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=246): time 7.329e-06/1.154, allocations: 3.719 kB / 0.5349 GB, free: 105.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=382): time 0.06483/1.219, allocations: 19.12 MB / 0.5536 GB, free: 101.1 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.09006/1.309, allocations: 30.79 MB / 0.5836 GB, free: 84.16 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.177/1.486, allocations: 13.36 MB / 0.5967 GB, free: 77.59 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005732/1.487, allocations: 85.7 kB / 0.5968 GB, free: 77.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004026/1.491, allocations: 3.72 MB / 0.6004 GB, free: 74.14 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001356/1.492, allocations: 1.263 MB / 0.6016 GB, free: 73.16 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003019/1.492, allocations: 68 kB / 0.6017 GB, free: 73.09 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001771/1.492, allocations: 438.8 kB / 0.6021 GB, free: 72.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002963/1.495, allocations: 1.278 MB / 0.6034 GB, free: 71.45 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003216/1.499, allocations: 1.597 MB / 0.6049 GB, free: 69.85 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003332/1.502, allocations: 1.474 MB / 0.6064 GB, free: 68.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/1.502, allocations: 0 / 0.6064 GB, free: 68.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=445) (initialization): time 0.01355/1.516, allocations: 5.287 MB / 0.6115 GB, free: 63.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/1.516, allocations: 8 kB / 0.6115 GB, free: 63.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.179e-05/1.516, allocations: 7.516 kB / 0.6115 GB, free: 63.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006903/1.523, allocations: 1.423 MB / 0.6129 GB, free: 62.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003799/1.526, allocations: 0.5673 MB / 0.6135 GB, free: 61.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03199/1.558, allocations: 22.26 MB / 0.6352 GB, free: 39.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004132/1.563, allocations: 203.1 kB / 0.6354 GB, free: 39.72 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005312/1.563, allocations: 126.1 kB / 0.6355 GB, free: 39.62 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (318): * Single equations (assignments): 307 * Array equations: 2 * Algorithm blocks: 0 * 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%) 7,(1,100.0%) 4} * Non-linear torn systems: 2 {2 43,3 51} Notification: Performance of prepare postOptimizeDAE: time 0.0006975/1.564, allocations: 282.1 kB / 0.6358 GB, free: 39.34 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001577/1.566, allocations: 0.8565 MB / 0.6367 GB, free: 38.47 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0143/1.58, allocations: 5.473 MB / 0.642 GB, free: 33.7 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006385/1.586, allocations: 2.388 MB / 0.6443 GB, free: 31.55 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.712e-05/1.586, allocations: 4 kB / 0.6443 GB, free: 31.55 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.556e-05/1.586, allocations: 18.09 kB / 0.6443 GB, free: 31.55 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.031/1.617, allocations: 14.1 MB / 0.6581 GB, free: 20.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.089e-05/1.617, allocations: 4 kB / 0.6581 GB, free: 20.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003302/1.621, allocations: 0.4922 MB / 0.6586 GB, free: 19.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006944/1.628, allocations: 1.436 MB / 0.66 GB, free: 18.63 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004629/1.628, allocations: 86.59 kB / 0.6601 GB, free: 18.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0284/1.657, allocations: 20.36 MB / 0.68 GB, free: 14.24 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.3329/1.99, allocations: 27.25 MB / 0.7066 GB, free: 105.4 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0192/2.009, allocations: 7.864 MB / 0.7143 GB, free: 104.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003721/2.013, allocations: 1.597 MB / 0.7158 GB, free: 103.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001456/2.014, allocations: 86.56 kB / 0.7159 GB, free: 103.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003378/2.017, allocations: 174.5 kB / 0.7161 GB, free: 103.7 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008147/2.018, allocations: 289.1 kB / 0.7163 GB, free: 103.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003341/2.019, allocations: 103.3 kB / 0.7164 GB, free: 103.7 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.01858/2.037, allocations: 10.77 MB / 0.727 GB, free: 103.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.366e-06/2.037, allocations: 0 / 0.727 GB, free: 103.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006267/2.044, allocations: 1.756 MB / 0.7287 GB, free: 103.1 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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.nextTimeEvent,comparisonWithFEA.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (265): * Single equations (assignments): 254 * 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%) 2,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 6,(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 2 {4 53,3 43} Notification: Performance of Backend phase and start with SimCode phase: time 0.001916/2.046, allocations: 0.5147 MB / 0.7292 GB, free: 102.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009586/2.055, allocations: 4.731 MB / 0.7338 GB, free: 100.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.566e-06/2.055, allocations: 3.406 kB / 0.7338 GB, free: 100.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006431/2.062, allocations: 3.284 MB / 0.737 GB, free: 98.52 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004017/2.066, allocations: 498.5 kB / 0.7375 GB, free: 98.24 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04074/2.106, allocations: 17.47 MB / 0.7545 GB, free: 92.85 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01107/2.118, allocations: 4.21 MB / 0.7586 GB, free: 91.45 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00635/2.124, allocations: 0.8422 MB / 0.7595 GB, free: 90.73 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003422/2.127, allocations: 357.4 kB / 0.7598 GB, free: 90.41 MB / 458.7 MB Notification: Performance of SimCode: time 2.546e-06/2.127, allocations: 4 kB / 0.7598 GB, free: 90.4 MB / 458.7 MB Notification: Performance of Templates: time 0.4917/2.619, allocations: 90.34 MB / 0.848 GB, free: 10.38 MB / 458.7 MB