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.2_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") Notification: Performance of loadModel(Modelica): time 1.902/1.902, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.646e-05/2.654e-05, allocations: 4 kB / 249.6 MB, free: 15.28 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2495, allocations: 44.49 MB / 294.1 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1666/0.4162, allocations: 86.49 MB / 380.6 MB, free: 11.47 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003819/0.4166, allocations: 87.89 kB / 380.7 MB, free: 11.39 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4315/0.8481, allocations: 48.86 MB / 429.5 MB, free: 91.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.666e-06/0.8482, allocations: 3.391 kB / 429.6 MB, free: 91.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001766/0.8484, allocations: 48.72 kB / 429.6 MB, free: 91.31 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.007127/0.8555, allocations: 2.327 MB / 431.9 MB, free: 90.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.8556, allocations: 13.19 kB / 431.9 MB, free: 90.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.8567, allocations: 291.8 kB / 432.2 MB, free: 90.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003851/0.8606, allocations: 1.32 MB / 433.5 MB, free: 89.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.8608, allocations: 74.75 kB / 433.6 MB, free: 89.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000529/0.8613, allocations: 120 kB / 433.7 MB, free: 89.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005217/0.8665, allocations: 1.666 MB / 435.4 MB, free: 89.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004573/0.8711, allocations: 1.488 MB / 436.9 MB, free: 89.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.882e-05/0.8713, allocations: 5.562 kB / 436.9 MB, free: 89.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002223/0.8715, allocations: 0 / 436.9 MB, free: 89.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.715e-05/0.8715, allocations: 49.73 kB / 436.9 MB, free: 89.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01717/0.8887, allocations: 7.282 MB / 444.2 MB, free: 87.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004118/0.8929, allocations: 2.129 MB / 446.4 MB, free: 86.81 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002684/0.8956, allocations: 1.224 MB / 447.6 MB, free: 86.35 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001596/0.8958, allocations: 36.28 kB / 447.6 MB, free: 86.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/0.8959, allocations: 64.03 kB / 447.7 MB, free: 86.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=240): time 6.146e-06/0.8959, allocations: 0 / 447.7 MB, free: 86.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=372): time 0.04675/0.9426, allocations: 12.48 MB / 460.2 MB, free: 81.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.9427, allocations: 88.16 kB / 460.2 MB, free: 81.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003031/0.9458, allocations: 1.489 MB / 461.7 MB, free: 80.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005403/0.9463, allocations: 25.7 kB / 461.8 MB, free: 80.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005654/0.9469, allocations: 0.8987 MB / 462.7 MB, free: 79.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001085/0.948, allocations: 1.178 MB / 463.8 MB, free: 78.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002939/0.9483, allocations: 3.938 kB / 463.8 MB, free: 78.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.9485, allocations: 440.9 kB / 464.3 MB, free: 78.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002936/0.9515, allocations: 1.192 MB / 465.5 MB, free: 77.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003208/0.9547, allocations: 1.453 MB / 466.9 MB, free: 76.08 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003303/0.9581, allocations: 1.368 MB / 468.3 MB, free: 74.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-05/0.9581, allocations: 0 / 468.3 MB, free: 74.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=434) (initialization): time 0.01209/0.9702, allocations: 4.15 MB / 472.4 MB, free: 71.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.241e-05/0.9703, allocations: 35.73 kB / 472.5 MB, free: 71.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.295e-05/0.9704, allocations: 4 kB / 472.5 MB, free: 71.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006735/0.9771, allocations: 1.305 MB / 473.8 MB, free: 69.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00372/0.9809, allocations: 0.5797 MB / 474.4 MB, free: 69.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02885/1.01, allocations: 18.5 MB / 492.9 MB, free: 51.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003097/1.013, allocations: 102.8 kB / 493 MB, free: 51.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003842/1.013, allocations: 118.3 kB / 493.1 MB, free: 51.32 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: simpleSolenoid.g_mAirPar.V_m:DUMMY_STATE(unit = "A" ) "Magnetic potential difference between both ports" type: Real 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 (315): * Single equations (assignments): 305 * 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 51,3 42} Notification: Performance of prepare postOptimizeDAE: time 0.0006706/1.014, allocations: 148.9 kB / 493.2 MB, free: 51.17 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005868/1.015, allocations: 260.8 kB / 493.5 MB, free: 50.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01181/1.026, allocations: 4.267 MB / 497.7 MB, free: 47.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01209/1.039, allocations: 3.764 MB / 0.4897 GB, free: 43.83 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.651e-05/1.039, allocations: 4 kB / 0.4898 GB, free: 43.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.076e-05/1.039, allocations: 14.81 kB / 0.4898 GB, free: 43.83 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0222/1.061, allocations: 9.163 MB / 0.4987 GB, free: 34.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-05/1.061, allocations: 4 kB / 0.4987 GB, free: 34.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003281/1.064, allocations: 0.4949 MB / 0.4992 GB, free: 34.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006726/1.071, allocations: 1.363 MB / 0.5005 GB, free: 32.99 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004547/1.071, allocations: 23.97 kB / 0.5006 GB, free: 32.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02542/1.097, allocations: 17.1 MB / 0.5173 GB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.09117/1.188, allocations: 26.47 MB / 0.5431 GB, free: 4.176 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04018/1.228, allocations: 6.35 MB / 0.5493 GB, free: 13.6 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005009/1.233, allocations: 0.6929 MB / 0.55 GB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001256/1.235, allocations: 11.98 kB / 0.55 GB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005257/1.24, allocations: 95.89 kB / 0.5501 GB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008273/1.241, allocations: 286.9 kB / 0.5504 GB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000335/1.241, allocations: 101.5 kB / 0.5505 GB, free: 12.4 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004776/1.246, allocations: 1.136 MB / 0.5516 GB, free: 11.27 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.925e-06/1.246, allocations: 0 / 0.5516 GB, free: 11.27 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.008956/1.255, allocations: 0.9062 MB / 0.5524 GB, free: 10.36 MB / 394.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 (256): * Single equations (assignments): 249 * 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 43,4 53} Notification: Performance of Backend phase and start with SimCode phase: time 0.001283/1.256, allocations: 272.7 kB / 0.5527 GB, free: 10.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01076/1.267, allocations: 4.339 MB / 0.5569 GB, free: 5.73 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.839e-06/1.267, allocations: 0 / 0.5569 GB, free: 5.73 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007247/1.274, allocations: 2.958 MB / 0.5598 GB, free: 2.703 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002406/1.277, allocations: 238 kB / 0.5601 GB, free: 2.477 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2309/1.508, allocations: 5.825 MB / 0.5657 GB, free: 104.4 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00209/1.51, allocations: 1.841 MB / 0.5675 GB, free: 103.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001781/1.512, allocations: 209.9 kB / 0.5677 GB, free: 103.7 MB / 394.7 MB Notification: Performance of SimCode: time 1.864e-06/1.512, allocations: 0 / 0.5677 GB, free: 103.7 MB / 394.7 MB Notification: Performance of Templates: time 0.1376/1.649, allocations: 126.3 MB / 0.6911 GB, free: 5.871 MB / 394.7 MB