Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedFeed_x.v|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleFeed_x.v|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") Notification: Performance of loadModel(Modelica): time 1.859/1.859, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.285e-05/4.319e-05, allocations: 4 kB / 225 MB, free: 2.32 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2346, allocations: 38.77 MB / 263.8 MB, free: 9.805 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1278/0.3625, allocations: 82.89 MB / 346.7 MB, free: 6.789 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/0.3628, allocations: 83.95 kB / 346.8 MB, free: 6.707 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3537/0.7165, allocations: 44.11 MB / 390.9 MB, free: 81.45 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.7165, allocations: 0 / 390.9 MB, free: 81.45 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001732/0.7167, allocations: 52.03 kB / 390.9 MB, free: 81.45 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: 513 * Number of variables: 513 Notification: Performance of Generate backend data structure: time 0.006037/0.7228, allocations: 2.312 MB / 393.2 MB, free: 79.33 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.7228, allocations: 12.03 kB / 393.2 MB, free: 79.32 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008976/0.7237, allocations: 284.5 kB / 393.5 MB, free: 79.04 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003132/0.7269, allocations: 1.277 MB / 394.8 MB, free: 77.74 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/0.7271, allocations: 152 kB / 394.9 MB, free: 77.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003865/0.7275, allocations: 196 kB / 395.1 MB, free: 77.4 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004454/0.7319, allocations: 1.708 MB / 396.8 MB, free: 75.64 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.732e-05/0.7321, allocations: 7.906 kB / 396.9 MB, free: 75.64 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002445/0.7323, allocations: 80.56 kB / 396.9 MB, free: 75.56 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.745e-05/0.7324, allocations: 52 kB / 397 MB, free: 75.51 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004694/0.7371, allocations: 1.683 MB / 398.7 MB, free: 73.82 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0182/0.7553, allocations: 7.455 MB / 406.1 MB, free: 66.17 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00455/0.7599, allocations: 2.122 MB / 408.2 MB, free: 64 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003039/0.763, allocations: 1.243 MB / 409.5 MB, free: 62.76 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002728/0.7633, allocations: 121.2 kB / 409.6 MB, free: 62.63 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.7e-05/0.7634, allocations: 68.45 kB / 409.7 MB, free: 62.55 MB / 314.7 MB Notification: Performance of pre-optimization done (n=226): time 6.943e-06/0.7634, allocations: 0 / 409.7 MB, free: 62.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=347): time 0.06678/0.8302, allocations: 15.05 MB / 424.7 MB, free: 47.44 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1242/0.9544, allocations: 33.27 MB / 458 MB, free: 13.6 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004136/0.9586, allocations: 1.608 MB / 459.6 MB, free: 11.99 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005507/0.9592, allocations: 81.7 kB / 459.7 MB, free: 11.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00071/0.9599, allocations: 0.953 MB / 460.6 MB, free: 10.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001213/0.9612, allocations: 1.147 MB / 461.8 MB, free: 9.809 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004027/0.9616, allocations: 68 kB / 461.9 MB, free: 9.742 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002064/0.9618, allocations: 424.7 kB / 462.3 MB, free: 9.32 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00352/0.9654, allocations: 1.311 MB / 463.6 MB, free: 8.008 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006078/0.9715, allocations: 1.57 MB / 465.1 MB, free: 6.391 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006043/0.9776, allocations: 1.505 MB / 466.7 MB, free: 4.867 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.908e-05/0.9776, allocations: 0 / 466.7 MB, free: 4.867 MB / 314.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.01081/0.9885, allocations: 4.151 MB / 470.8 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.871e-05/0.9885, allocations: 33.7 kB / 470.8 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/0.9886, allocations: 3.938 kB / 470.8 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01247/1.001, allocations: 1.527 MB / 472.4 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004907/1.006, allocations: 0.5967 MB / 473 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01338/1.019, allocations: 9.861 MB / 482.8 MB, free: 3.898 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003668/1.023, allocations: 167.9 kB / 483 MB, free: 3.734 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008703/1.024, allocations: 127.9 kB / 483.1 MB, free: 3.609 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (301): * Single equations (assignments): 291 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 4,(1,100.0%) 7} * Non-linear torn systems: 2 {3 45,2 38} Notification: Performance of prepare postOptimizeDAE: time 0.0008925/1.025, allocations: 268.4 kB / 483.4 MB, free: 3.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008247/1.026, allocations: 252.8 kB / 483.6 MB, free: 3.09 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01247/1.038, allocations: 4.179 MB / 487.8 MB, free: 14.85 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01062/1.049, allocations: 3.582 MB / 491.4 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.918e-05/1.049, allocations: 4 kB / 491.4 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.295e-05/1.049, allocations: 15.94 kB / 491.4 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02613/1.075, allocations: 9.501 MB / 0.4892 GB, free: 1.543 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.3e-05/1.075, allocations: 7.938 kB / 0.4892 GB, free: 1.535 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004233/1.08, allocations: 0.5152 MB / 0.4897 GB, free: 1.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2691/1.349, allocations: 1.558 MB / 0.4912 GB, free: 99.02 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006671/1.349, allocations: 94.61 kB / 0.4913 GB, free: 99.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01007/1.36, allocations: 9.868 MB / 0.5009 GB, free: 91.56 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1031/1.463, allocations: 28.86 MB / 0.5291 GB, free: 79.29 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01443/1.477, allocations: 6.309 MB / 0.5353 GB, free: 73.64 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002142/1.479, allocations: 0.7247 MB / 0.536 GB, free: 73.01 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000705/1.48, allocations: 63.23 kB / 0.536 GB, free: 72.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003031/1.483, allocations: 159.6 kB / 0.5362 GB, free: 72.83 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006762/1.484, allocations: 229.9 kB / 0.5364 GB, free: 72.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003722/1.484, allocations: 121.7 kB / 0.5365 GB, free: 72.61 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002396/1.487, allocations: 1.247 MB / 0.5377 GB, free: 71.47 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.279e-06/1.487, allocations: 0 / 0.5377 GB, free: 71.47 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00383/1.49, allocations: 0.8659 MB / 0.5386 GB, free: 70.61 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 9 ($STATESET2.x[2],$STATESET2.x[1],$STATESET1.x,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,advancedFeed_x.s,advancedFeed_x.v,simpleFeed_x.s,simpleFeed_x.v) * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 235 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 6} * Non-linear torn systems: 2 {3 38,4 47} Notification: Performance of Backend phase and start with SimCode phase: time 0.001155/1.492, allocations: 318.3 kB / 0.5389 GB, free: 70.39 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.009319/1.501, allocations: 4.027 MB / 0.5428 GB, free: 66.49 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.039e-06/1.501, allocations: 0 / 0.5428 GB, free: 66.49 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005592/1.507, allocations: 2.511 MB / 0.5453 GB, free: 64.09 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002452/1.509, allocations: 314.2 kB / 0.5456 GB, free: 63.83 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01309/1.522, allocations: 5.825 MB / 0.5513 GB, free: 58.53 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001586/1.524, allocations: 1.751 MB / 0.553 GB, free: 57.12 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.003404/1.527, allocations: 344.6 kB / 0.5533 GB, free: 56.87 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00131/1.529, allocations: 212 kB / 0.5535 GB, free: 56.72 MB / 346.7 MB Notification: Performance of SimCode: time 1.924e-06/1.529, allocations: 0 / 0.5535 GB, free: 56.72 MB / 346.7 MB Notification: Performance of Templates: time 0.1138/1.643, allocations: 54.38 MB / 0.6066 GB, free: 4.461 MB / 346.7 MB