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_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") Notification: Performance of loadModel(Modelica): time 1.735/1.735, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.205e-05/3.244e-05, allocations: 4 kB / 225 MB, free: 2.777 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.21, allocations: 38.78 MB / 263.8 MB, free: 9.867 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1244/0.3344, allocations: 82.88 MB / 346.7 MB, free: 6.855 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/0.3347, allocations: 87.94 kB / 346.7 MB, free: 6.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3835/0.7181, allocations: 44.11 MB / 390.9 MB, free: 81.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.54e-06/0.7182, allocations: 0 / 390.9 MB, free: 81.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002033/0.7184, allocations: 50.97 kB / 390.9 MB, free: 81.55 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.006501/0.7249, allocations: 2.304 MB / 393.2 MB, free: 79.39 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.725, allocations: 12.03 kB / 393.2 MB, free: 79.38 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.726, allocations: 284.5 kB / 393.5 MB, free: 79.09 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003311/0.7293, allocations: 1.273 MB / 394.8 MB, free: 77.8 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001763/0.7296, allocations: 156 kB / 394.9 MB, free: 77.64 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005597/0.7301, allocations: 204 kB / 395.1 MB, free: 77.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005073/0.7352, allocations: 1.697 MB / 396.8 MB, free: 75.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.693e-05/0.7354, allocations: 11.89 kB / 396.8 MB, free: 75.69 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002805/0.7357, allocations: 80 kB / 396.9 MB, free: 75.61 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.742e-05/0.7357, allocations: 52 kB / 397 MB, free: 75.56 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005401/0.7411, allocations: 1.683 MB / 398.6 MB, free: 73.87 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01874/0.7599, allocations: 7.453 MB / 406.1 MB, free: 66.22 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004411/0.7644, allocations: 2.109 MB / 408.2 MB, free: 64.06 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003004/0.7674, allocations: 1.247 MB / 409.5 MB, free: 62.82 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002866/0.7677, allocations: 120.3 kB / 409.6 MB, free: 62.69 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.7678, allocations: 64.45 kB / 409.6 MB, free: 62.62 MB / 314.7 MB Notification: Performance of pre-optimization done (n=226): time 6.516e-06/0.7678, allocations: 8 kB / 409.6 MB, free: 62.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=347): time 0.0677/0.8355, allocations: 15.05 MB / 424.7 MB, free: 47.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1185/0.9541, allocations: 33.28 MB / 458 MB, free: 13.65 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00346/0.9576, allocations: 1.608 MB / 459.6 MB, free: 12.04 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005947/0.9582, allocations: 81.7 kB / 459.7 MB, free: 11.96 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006415/0.9589, allocations: 0.8874 MB / 460.5 MB, free: 11.07 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001246/0.9602, allocations: 1.143 MB / 461.7 MB, free: 9.934 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003511/0.9606, allocations: 64 kB / 461.7 MB, free: 9.871 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.9608, allocations: 433.5 kB / 462.2 MB, free: 9.438 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003408/0.9642, allocations: 1.311 MB / 463.5 MB, free: 8.125 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003961/0.9682, allocations: 1.57 MB / 465.1 MB, free: 6.508 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004084/0.9723, allocations: 1.505 MB / 466.6 MB, free: 4.984 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.91e-05/0.9724, allocations: 4 kB / 466.6 MB, free: 4.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.01075/0.9831, allocations: 4.022 MB / 470.6 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.2e-05/0.9832, allocations: 37.7 kB / 470.6 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-05/0.9833, allocations: 7.938 kB / 470.6 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01677/1, allocations: 1.526 MB / 472.2 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008487/1.009, allocations: 0.5889 MB / 472.7 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0235/1.032, allocations: 9.87 MB / 482.6 MB, free: 4.133 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006624/1.039, allocations: 163.9 kB / 482.8 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001278/1.04, allocations: 139.8 kB / 482.9 MB, free: 3.836 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.001502/1.042, allocations: 262.3 kB / 483.2 MB, free: 3.574 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001559/1.043, allocations: 252.9 kB / 483.4 MB, free: 3.324 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02382/1.067, allocations: 4.185 MB / 487.6 MB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0171/1.084, allocations: 3.574 MB / 491.2 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.042e-05/1.084, allocations: 4 kB / 491.2 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.886e-05/1.084, allocations: 19.94 kB / 491.2 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02988/1.114, allocations: 9.492 MB / 0.489 GB, free: 1.785 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.326e-05/1.114, allocations: 7.938 kB / 0.489 GB, free: 1.777 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005728/1.12, allocations: 0.5114 MB / 0.4895 GB, free: 1.266 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2124/1.333, allocations: 1.562 MB / 0.491 GB, free: 98.87 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006672/1.333, allocations: 99.23 kB / 0.4911 GB, free: 98.87 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009893/1.343, allocations: 9.864 MB / 0.5007 GB, free: 91.41 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1337/1.477, allocations: 28.86 MB / 0.5289 GB, free: 79.11 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0138/1.491, allocations: 6.308 MB / 0.5351 GB, free: 73.63 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002052/1.493, allocations: 0.7217 MB / 0.5358 GB, free: 73 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005707/1.494, allocations: 66.81 kB / 0.5358 GB, free: 72.94 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002677/1.496, allocations: 152.5 kB / 0.536 GB, free: 72.82 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000554/1.497, allocations: 236.6 kB / 0.5362 GB, free: 72.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003645/1.497, allocations: 119.5 kB / 0.5363 GB, free: 72.6 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002197/1.5, allocations: 1.248 MB / 0.5375 GB, free: 71.46 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.66e-07/1.5, allocations: 0 / 0.5375 GB, free: 71.46 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003488/1.503, allocations: 0.8645 MB / 0.5384 GB, free: 70.6 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.001012/1.504, allocations: 317.9 kB / 0.5387 GB, free: 70.39 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00882/1.513, allocations: 4.025 MB / 0.5426 GB, free: 66.48 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.241e-06/1.513, allocations: 0 / 0.5426 GB, free: 66.48 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00545/1.518, allocations: 2.517 MB / 0.5451 GB, free: 64.08 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002178/1.521, allocations: 311.6 kB / 0.5454 GB, free: 63.83 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01361/1.534, allocations: 5.888 MB / 0.5511 GB, free: 58.45 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001579/1.536, allocations: 1.749 MB / 0.5528 GB, free: 57.04 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001921/1.538, allocations: 258.8 kB / 0.5531 GB, free: 56.87 MB / 346.7 MB Notification: Performance of SimCode: time 2.617e-06/1.538, allocations: 0 / 0.5531 GB, free: 56.87 MB / 346.7 MB Notification: Performance of Templates: time 0.3427/1.881, allocations: 124.5 MB / 0.6747 GB, free: 81.68 MB / 362.7 MB