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.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") Notification: Performance of loadModel(Modelica): time 1.767/1.767, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.826e-05/4.848e-05, allocations: 7.984 kB / 225 MB, free: 2.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2566, allocations: 38.75 MB / 263.8 MB, free: 9.832 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1782/0.4348, allocations: 83.7 MB / 347.5 MB, free: 6.004 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/0.4352, allocations: 75.95 kB / 347.6 MB, free: 5.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.441/0.8761, allocations: 72.12 MB / 419.7 MB, free: 52.72 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.052e-06/0.8762, allocations: 0 / 419.7 MB, free: 52.72 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0007614/0.877, allocations: 108 kB / 419.8 MB, free: 52.61 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 512 * Number of variables: 512 Notification: Performance of Generate backend data structure: time 0.01176/0.8887, allocations: 5.527 MB / 425.3 MB, free: 47.01 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.8888, allocations: 16.03 kB / 425.3 MB, free: 47 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001885/0.8907, allocations: 0.8605 MB / 426.2 MB, free: 46.12 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009068/0.8998, allocations: 3.525 MB / 429.7 MB, free: 42.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/0.9, allocations: 148 kB / 429.9 MB, free: 42.42 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004484/0.9005, allocations: 204 kB / 430.1 MB, free: 42.22 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004689/0.9052, allocations: 1.915 MB / 432 MB, free: 40.24 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.95e-05/0.9053, allocations: 7.906 kB / 432 MB, free: 40.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002459/0.9055, allocations: 80 kB / 432.1 MB, free: 40.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.766e-05/0.9056, allocations: 52 kB / 432.1 MB, free: 40.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004341/0.9099, allocations: 1.698 MB / 433.8 MB, free: 38.41 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03349/0.9435, allocations: 9.996 MB / 443.8 MB, free: 28.17 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007321/0.9508, allocations: 2.14 MB / 445.9 MB, free: 25.96 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005191/0.9561, allocations: 1.268 MB / 447.2 MB, free: 24.69 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003829/0.9565, allocations: 123.2 kB / 447.3 MB, free: 24.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004136/0.9607, allocations: 1.037 MB / 448.4 MB, free: 23.49 MB / 314.7 MB Notification: Performance of pre-optimization done (n=230): time 1.204e-05/0.9607, allocations: 0 / 448.4 MB, free: 23.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=355): time 0.1202/1.081, allocations: 18.98 MB / 467.3 MB, free: 4.254 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1328/1.214, allocations: 33.11 MB / 0.4887 GB, free: 2.453 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4422/1.656, allocations: 13.34 MB / 0.5017 GB, free: 83.88 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005783/1.657, allocations: 84.02 kB / 0.5018 GB, free: 83.85 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004932/1.662, allocations: 3.683 MB / 0.5054 GB, free: 83.27 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001451/1.663, allocations: 1.177 MB / 0.5066 GB, free: 82.95 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003708/1.663, allocations: 67.44 kB / 0.5066 GB, free: 82.9 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001875/1.664, allocations: 426.1 kB / 0.507 GB, free: 82.54 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003629/1.667, allocations: 1.334 MB / 0.5083 GB, free: 81.95 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004061/1.671, allocations: 1.644 MB / 0.51 GB, free: 81.1 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004287/1.676, allocations: 1.552 MB / 0.5115 GB, free: 80.39 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.705e-05/1.676, allocations: 8.688 kB / 0.5115 GB, free: 80.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=420) (initialization): time 0.01268/1.689, allocations: 4.897 MB / 0.5163 GB, free: 78.23 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.494e-05/1.689, allocations: 35.28 kB / 0.5163 GB, free: 78.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.12e-05/1.689, allocations: 4.469 kB / 0.5163 GB, free: 78.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01378/1.702, allocations: 1.594 MB / 0.5179 GB, free: 77.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004438/1.707, allocations: 0.5908 MB / 0.5184 GB, free: 77.87 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01189/1.719, allocations: 12.88 MB / 0.531 GB, free: 66.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00458/1.723, allocations: 203.4 kB / 0.5312 GB, free: 66.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008532/1.724, allocations: 144.6 kB / 0.5313 GB, free: 66.05 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEvent,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 (302): * Single equations (assignments): 290 * 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%) 7,(1,100.0%) 4} * Non-linear torn systems: 2 {2 38,3 45} Notification: Performance of prepare postOptimizeDAE: time 0.0008348/1.725, allocations: 269.4 kB / 0.5316 GB, free: 65.86 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001895/1.727, allocations: 0.8391 MB / 0.5324 GB, free: 65.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01354/1.741, allocations: 5.035 MB / 0.5373 GB, free: 63.32 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005407/1.746, allocations: 2.146 MB / 0.5394 GB, free: 61.77 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.144e-05/1.746, allocations: 11.97 kB / 0.5394 GB, free: 61.76 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.108e-05/1.746, allocations: 20.5 kB / 0.5395 GB, free: 61.76 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03257/1.779, allocations: 13.85 MB / 0.553 GB, free: 50.65 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.865e-05/1.779, allocations: 6.406 kB / 0.553 GB, free: 50.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003979/1.783, allocations: 0.502 MB / 0.5535 GB, free: 50.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01256/1.796, allocations: 1.63 MB / 0.5551 GB, free: 49.02 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006534/1.796, allocations: 99.56 kB / 0.5552 GB, free: 48.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01173/1.808, allocations: 12.55 MB / 0.5674 GB, free: 35.84 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.09698/1.905, allocations: 28.87 MB / 0.5956 GB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01587/1.921, allocations: 7.466 MB / 0.6029 GB, free: 2.871 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003562/1.925, allocations: 1.588 MB / 0.6045 GB, free: 1.371 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001697/1.926, allocations: 84 kB / 0.6045 GB, free: 1.289 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004176/1.931, allocations: 169.2 kB / 0.6047 GB, free: 1.152 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007826/1.931, allocations: 241.8 kB / 0.6049 GB, free: 1.016 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003744/1.932, allocations: 122.6 kB / 0.605 GB, free: 0.9258 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.02803/1.96, allocations: 10.96 MB / 0.6158 GB, free: 7.152 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.267e-06/1.96, allocations: 4 kB / 0.6158 GB, free: 7.148 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.006315/1.966, allocations: 1.556 MB / 0.6173 GB, free: 5.602 MB / 362.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: 6 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact,$whenCondition1,comparisonWithFEA.nextTimeEvent) * Number of discrete states: 1 (comparisonWithFEA.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (249): * Single equations (assignments): 239 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 47,3 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.001765/1.968, allocations: 433 kB / 0.6177 GB, free: 5.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01143/1.979, allocations: 4.344 MB / 0.6219 GB, free: 0.8516 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.323e-06/1.979, allocations: 0 / 0.6219 GB, free: 0.8516 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2078/2.187, allocations: 2.771 MB / 0.6246 GB, free: 98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004029/2.191, allocations: 490 kB / 0.6251 GB, free: 97.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04969/2.241, allocations: 17.32 MB / 0.642 GB, free: 94.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01312/2.254, allocations: 4.124 MB / 0.646 GB, free: 94.06 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00736/2.262, allocations: 0.8523 MB / 0.6469 GB, free: 93.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004543/2.266, allocations: 395.4 kB / 0.6473 GB, free: 93.85 MB / 362.7 MB Notification: Performance of SimCode: time 3.073e-06/2.266, allocations: 0 / 0.6473 GB, free: 93.85 MB / 362.7 MB Notification: Performance of Templates: time 0.4463/2.713, allocations: 80.1 MB / 0.7255 GB, free: 26.52 MB / 362.7 MB