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.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") Notification: Performance of loadModel(Modelica): time 1.853/1.853, allocations: 205.8 MB / 218.9 MB, free: 9.348 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.302e-05/3.309e-05, allocations: 7.984 kB / 269.4 MB, free: 6.41 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08992/0.08997, allocations: 47.57 MB / 316.9 MB, free: 6.75 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3701/0.4601, allocations: 91.99 MB / 408.9 MB, free: 12.25 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/0.4605, allocations: 90.06 kB / 409 MB, free: 12.2 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2049/0.6653, allocations: 50.02 MB / 459 MB, free: 1.391 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.36e-06/0.6654, allocations: 4 kB / 459 MB, free: 1.387 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001612/0.6656, allocations: 52 kB / 459.1 MB, free: 1.336 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.006376/0.672, allocations: 2.299 MB / 461.4 MB, free: 14.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.672, allocations: 8.031 kB / 461.4 MB, free: 14.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007874/0.6728, allocations: 300.4 kB / 461.7 MB, free: 14.67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00358/0.6764, allocations: 1.329 MB / 463 MB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001844/0.6766, allocations: 156.1 kB / 463.2 MB, free: 13.13 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004392/0.6771, allocations: 208 kB / 463.4 MB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004881/0.682, allocations: 1.76 MB / 465.1 MB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.292e-05/0.6821, allocations: 3.906 kB / 465.1 MB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002851/0.6824, allocations: 84 kB / 465.2 MB, free: 11.03 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-05/0.6824, allocations: 55.94 kB / 465.3 MB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005002/0.6875, allocations: 1.746 MB / 467 MB, free: 9.227 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01875/0.7062, allocations: 7.598 MB / 474.6 MB, free: 1.352 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004849/0.7111, allocations: 2.222 MB / 476.8 MB, free: 15.08 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003142/0.7143, allocations: 1.288 MB / 478.1 MB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001748/0.7145, allocations: 37.97 kB / 478.2 MB, free: 13.76 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.057e-05/0.7146, allocations: 56.56 kB / 478.2 MB, free: 13.7 MB / 394.7 MB Notification: Performance of pre-optimization done (n=240): time 8.99e-06/0.7146, allocations: 4 kB / 478.2 MB, free: 13.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=372): time 0.06419/0.7788, allocations: 15.27 MB / 493.5 MB, free: 14.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.321/1.1, allocations: 30.9 MB / 0.5121 GB, free: 115.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003848/1.104, allocations: 1.613 MB / 0.5137 GB, free: 115.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005542/1.104, allocations: 87.11 kB / 0.5138 GB, free: 115.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008257/1.105, allocations: 0.9694 MB / 0.5147 GB, free: 115.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001254/1.106, allocations: 1.226 MB / 0.5159 GB, free: 115 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003169/1.107, allocations: 67.67 kB / 0.516 GB, free: 115 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002212/1.107, allocations: 435.1 kB / 0.5164 GB, free: 114.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003545/1.111, allocations: 1.251 MB / 0.5176 GB, free: 114.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003654/1.114, allocations: 1.522 MB / 0.5191 GB, free: 114.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003773/1.118, allocations: 1.433 MB / 0.5205 GB, free: 114.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.201e-05/1.118, allocations: 1.031 kB / 0.5205 GB, free: 114.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=433) (initialization): time 0.0143/1.132, allocations: 4.554 MB / 0.5249 GB, free: 114.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/1.132, allocations: 6.203 kB / 0.525 GB, free: 114.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.44e-05/1.132, allocations: 3.188 kB / 0.525 GB, free: 114.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007255/1.14, allocations: 1.359 MB / 0.5263 GB, free: 114.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004334/1.144, allocations: 0.5763 MB / 0.5268 GB, free: 114.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03297/1.177, allocations: 19.25 MB / 0.5456 GB, free: 102.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003511/1.181, allocations: 164 kB / 0.5458 GB, free: 102.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003882/1.181, allocations: 115.6 kB / 0.5459 GB, free: 102.9 MB / 426.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 (314): * Single equations (assignments): 305 * 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: 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,2 43} Notification: Performance of prepare postOptimizeDAE: time 0.0007472/1.182, allocations: 276.2 kB / 0.5462 GB, free: 102.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006078/1.182, allocations: 259.8 kB / 0.5464 GB, free: 102.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01379/1.196, allocations: 4.6 MB / 0.5509 GB, free: 100.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01252/1.209, allocations: 4.028 MB / 0.5548 GB, free: 99.13 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.789e-05/1.209, allocations: 7.359 kB / 0.5549 GB, free: 99.13 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.552e-05/1.209, allocations: 21.14 kB / 0.5549 GB, free: 99.13 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02453/1.234, allocations: 9.749 MB / 0.5644 GB, free: 94.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.804e-05/1.234, allocations: 6.719 kB / 0.5644 GB, free: 94.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00352/1.237, allocations: 0.4944 MB / 0.5649 GB, free: 94.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007839/1.245, allocations: 1.383 MB / 0.5662 GB, free: 94.35 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005481/1.246, allocations: 75.12 kB / 0.5663 GB, free: 94.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02866/1.274, allocations: 17.71 MB / 0.5836 GB, free: 80.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.07233/1.347, allocations: 27.3 MB / 0.6103 GB, free: 55.33 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01593/1.363, allocations: 6.665 MB / 0.6168 GB, free: 48.92 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00185/1.364, allocations: 0.6985 MB / 0.6174 GB, free: 48.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005633/1.365, allocations: 67.69 kB / 0.6175 GB, free: 48.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002395/1.367, allocations: 162 kB / 0.6177 GB, free: 48.11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007035/1.368, allocations: 275.7 kB / 0.6179 GB, free: 47.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003134/1.369, allocations: 101.7 kB / 0.618 GB, free: 47.85 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002159/1.371, allocations: 1.262 MB / 0.6193 GB, free: 46.69 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.189e-06/1.371, allocations: 0 / 0.6193 GB, free: 46.69 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00396/1.375, allocations: 1.079 MB / 0.6203 GB, free: 45.62 MB / 426.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.001471/1.376, allocations: 453.8 kB / 0.6207 GB, free: 45.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008575/1.385, allocations: 4.423 MB / 0.6251 GB, free: 40.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.501e-06/1.385, allocations: 0 / 0.6251 GB, free: 40.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005662/1.391, allocations: 3.022 MB / 0.628 GB, free: 38.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00206/1.393, allocations: 305.1 kB / 0.6283 GB, free: 37.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/1.405, allocations: 5.952 MB / 0.6341 GB, free: 32.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001712/1.406, allocations: 1.837 MB / 0.6359 GB, free: 30.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002681/1.409, allocations: 325.1 kB / 0.6362 GB, free: 30.58 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001034/1.41, allocations: 180.3 kB / 0.6364 GB, free: 30.43 MB / 426.7 MB Notification: Performance of SimCode: time 1.85e-06/1.41, allocations: 0 / 0.6364 GB, free: 30.43 MB / 426.7 MB Notification: Performance of Templates: time 0.3643/1.774, allocations: 64.73 MB / 0.6996 GB, free: 101.1 MB / 426.7 MB