Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|comparisonWithFEA.y.1.|comparisonWithFEA.y.2.|comparisonWithFEA.y.3.|advancedFeed_x.v|advancedSolenoid.g_mFeArm.Phi|advancedSolenoid.L_statTot|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.x|advancedSolenoid.armature.flange_a.f|advancedSolenoid.coil1.i|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.i|advancedSolenoid.coil2.Phi|advancedSolenoid.g_mLeak1.port_p.Phi|advancedSolenoid.g_mLeak2.port_p.Phi|advancedSolenoid.g_mLeak3.port_p.Phi|advancedSolenoid.g_mLeakWork.port_p.Phi|simpleFeed_x.v|simpleSolenoid.armature.flange_a.f|simpleSolenoid.g_mFeArm.Phi|simpleSolenoid.x|simpleSolenoid.coil.i|simpleSolenoid.coil.Phi|simpleSolenoid.coil.L_stat|simpleSolenoid.g_mLeak1.port_p.Phi|simpleSolenoid.g_mLeak2.port_p.Phi|simpleSolenoid.g_mLeakWork.port_p.Phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic") Notification: Performance of loadModel(Modelica): time 1.932/1.932, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.876e-05/2.885e-05, allocations: 0 / 292.7 MB, free: 8.352 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08729/0.08734, allocations: 50.43 MB / 343.1 MB, free: 5.902 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3651/0.4524, allocations: 95.5 MB / 438.6 MB, free: 14.9 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/0.4527, allocations: 93.59 kB / 438.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2016/0.6544, allocations: 51.32 MB / 490 MB, free: 15.74 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.8e-06/0.6544, allocations: 4 kB / 490 MB, free: 15.74 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001567/0.6546, allocations: 44 kB / 490.1 MB, free: 15.7 MB / 410.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.006287/0.6609, allocations: 2.307 MB / 492.4 MB, free: 13.33 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.6609, allocations: 12.03 kB / 492.4 MB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000676/0.6616, allocations: 296.4 kB / 492.7 MB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003509/0.6651, allocations: 1.326 MB / 494 MB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001877/0.6653, allocations: 160.1 kB / 494.1 MB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000441/0.6658, allocations: 207.9 kB / 494.4 MB, free: 11.28 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004724/0.6705, allocations: 1.76 MB / 496.1 MB, free: 9.473 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.71e-05/0.6706, allocations: 0 / 496.1 MB, free: 9.473 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002824/0.6709, allocations: 84 kB / 496.2 MB, free: 9.391 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.385e-05/0.671, allocations: 48 kB / 496.2 MB, free: 9.344 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004882/0.6759, allocations: 1.75 MB / 498 MB, free: 7.586 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01795/0.6938, allocations: 7.594 MB / 0.4937 GB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004706/0.6986, allocations: 2.214 MB / 0.4959 GB, free: 13.46 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003124/0.7018, allocations: 1.288 MB / 0.4972 GB, free: 12.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001683/0.7019, allocations: 37.97 kB / 0.4972 GB, free: 12.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.337e-05/0.702, allocations: 64.56 kB / 0.4973 GB, free: 12.07 MB / 426.7 MB Notification: Performance of pre-optimization done (n=240): time 7.539e-06/0.702, allocations: 0 / 0.4973 GB, free: 12.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=372): time 0.06296/0.765, allocations: 15.28 MB / 0.5122 GB, free: 12.67 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3314/1.096, allocations: 30.9 MB / 0.5424 GB, free: 114.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003408/1.1, allocations: 1.617 MB / 0.5439 GB, free: 114.2 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004833/1.1, allocations: 85.36 kB / 0.544 GB, free: 114.2 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007273/1.101, allocations: 0.9649 MB / 0.545 GB, free: 113.6 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001023/1.102, allocations: 1.232 MB / 0.5462 GB, free: 112.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002748/1.102, allocations: 73.25 kB / 0.5462 GB, free: 112.7 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002294/1.103, allocations: 433.9 kB / 0.5466 GB, free: 112.4 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003168/1.106, allocations: 1.25 MB / 0.5479 GB, free: 111.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003362/1.109, allocations: 1.523 MB / 0.5494 GB, free: 111 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003379/1.113, allocations: 1.436 MB / 0.5508 GB, free: 110.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/1.113, allocations: 0 / 0.5508 GB, free: 110.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=433) (initialization): time 0.01261/1.125, allocations: 4.542 MB / 0.5552 GB, free: 108.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/1.125, allocations: 7.812 kB / 0.5552 GB, free: 108.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.175e-05/1.125, allocations: 9.547 kB / 0.5552 GB, free: 108.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006615/1.132, allocations: 1.371 MB / 0.5565 GB, free: 108.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003968/1.136, allocations: 0.5767 MB / 0.5571 GB, free: 108.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03141/1.167, allocations: 19.24 MB / 0.5759 GB, free: 94.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003463/1.171, allocations: 167.9 kB / 0.5761 GB, free: 93.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003791/1.171, allocations: 115.2 kB / 0.5762 GB, free: 93.96 MB / 442.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.0006571/1.172, allocations: 274 kB / 0.5764 GB, free: 93.75 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005324/1.173, allocations: 267.9 kB / 0.5767 GB, free: 93.62 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01332/1.186, allocations: 4.611 MB / 0.5812 GB, free: 91.74 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01144/1.197, allocations: 4.016 MB / 0.5851 GB, free: 90.2 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.67e-05/1.197, allocations: 3.406 kB / 0.5851 GB, free: 90.2 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4e-05/1.198, allocations: 14.91 kB / 0.5851 GB, free: 90.2 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02312/1.221, allocations: 9.755 MB / 0.5946 GB, free: 85.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.781e-05/1.221, allocations: 3.812 kB / 0.5947 GB, free: 85.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003497/1.224, allocations: 0.4954 MB / 0.5951 GB, free: 85.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006677/1.231, allocations: 1.392 MB / 0.5965 GB, free: 84.52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003578/1.231, allocations: 80.84 kB / 0.5966 GB, free: 84.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02613/1.257, allocations: 17.68 MB / 0.6138 GB, free: 67.03 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.07096/1.328, allocations: 27.3 MB / 0.6405 GB, free: 42.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0164/1.345, allocations: 6.68 MB / 0.647 GB, free: 35.77 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002116/1.347, allocations: 0.6986 MB / 0.6477 GB, free: 35.16 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006748/1.348, allocations: 68.09 kB / 0.6478 GB, free: 35.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002825/1.351, allocations: 163.6 kB / 0.6479 GB, free: 34.96 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008622/1.352, allocations: 280.1 kB / 0.6482 GB, free: 34.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000336/1.352, allocations: 102.5 kB / 0.6483 GB, free: 34.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002263/1.354, allocations: 1.254 MB / 0.6495 GB, free: 33.55 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.61e-07/1.354, allocations: 1.969 kB / 0.6495 GB, free: 33.55 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003981/1.358, allocations: 1.072 MB / 0.6506 GB, free: 32.48 MB / 442.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.001542/1.36, allocations: 476.1 kB / 0.651 GB, free: 32.19 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008781/1.369, allocations: 4.416 MB / 0.6553 GB, free: 27.87 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.728e-06/1.369, allocations: 0 / 0.6553 GB, free: 27.87 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00589/1.374, allocations: 3.026 MB / 0.6583 GB, free: 24.94 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002119/1.377, allocations: 309.4 kB / 0.6586 GB, free: 24.68 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01245/1.389, allocations: 5.934 MB / 0.6644 GB, free: 19.16 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00174/1.391, allocations: 1.838 MB / 0.6662 GB, free: 17.7 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002751/1.394, allocations: 333.9 kB / 0.6665 GB, free: 17.47 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001058/1.395, allocations: 177.8 kB / 0.6667 GB, free: 17.32 MB / 442.7 MB Notification: Performance of SimCode: time 4.015e-06/1.395, allocations: 0 / 0.6667 GB, free: 17.32 MB / 442.7 MB Notification: Performance of Templates: time 0.3836/1.778, allocations: 64.67 MB / 0.7298 GB, free: 98.01 MB / 442.7 MB