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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic") Notification: Performance of loadModel(Modelica): time 1.839/1.839, allocations: 225.8 MB / 238.8 MB, free: 11.15 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.61e-05/2.626e-05, allocations: 4 kB / 292.2 MB, free: 8.316 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0867/0.08674, allocations: 50.4 MB / 342.6 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3688/0.4556, allocations: 95.51 MB / 438.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/0.4559, allocations: 89.94 kB / 438.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2549/0.7109, allocations: 51.33 MB / 489.5 MB, free: 15.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.7109, allocations: 4 kB / 489.5 MB, free: 15.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001662/0.7111, allocations: 48 kB / 489.5 MB, free: 15.64 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.006226/0.7173, allocations: 2.295 MB / 491.8 MB, free: 13.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.7174, allocations: 12.03 kB / 491.8 MB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006579/0.7181, allocations: 300.4 kB / 492.1 MB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003424/0.7215, allocations: 1.33 MB / 493.5 MB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001784/0.7217, allocations: 160.1 kB / 493.6 MB, free: 11.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004352/0.7222, allocations: 207.9 kB / 493.8 MB, free: 11.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004689/0.7269, allocations: 1.756 MB / 495.6 MB, free: 9.426 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-05/0.7269, allocations: 3.938 kB / 495.6 MB, free: 9.422 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002898/0.7272, allocations: 91.98 kB / 495.7 MB, free: 9.332 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.466e-05/0.7273, allocations: 48 kB / 495.7 MB, free: 9.285 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004886/0.7322, allocations: 1.742 MB / 497.5 MB, free: 7.535 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01775/0.75, allocations: 7.594 MB / 0.4932 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004748/0.7548, allocations: 2.218 MB / 0.4954 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003147/0.7579, allocations: 1.284 MB / 0.4966 GB, free: 12.13 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001693/0.7581, allocations: 41.97 kB / 0.4967 GB, free: 12.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.36e-05/0.7582, allocations: 60.55 kB / 0.4967 GB, free: 12.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=240): time 6.499e-06/0.7582, allocations: 0 / 0.4967 GB, free: 12.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=372): time 0.06233/0.8206, allocations: 15.28 MB / 0.5117 GB, free: 12.62 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.331/1.152, allocations: 30.9 MB / 0.5418 GB, free: 114.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003575/1.155, allocations: 1.618 MB / 0.5434 GB, free: 114.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004808/1.156, allocations: 86.64 kB / 0.5435 GB, free: 114.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007263/1.157, allocations: 0.9637 MB / 0.5444 GB, free: 113.6 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001007/1.158, allocations: 1.232 MB / 0.5456 GB, free: 112.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002748/1.158, allocations: 70.59 kB / 0.5457 GB, free: 112.7 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001835/1.158, allocations: 434 kB / 0.5461 GB, free: 112.4 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003212/1.161, allocations: 1.256 MB / 0.5474 GB, free: 111.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003365/1.165, allocations: 1.518 MB / 0.5488 GB, free: 111.1 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003452/1.168, allocations: 1.432 MB / 0.5502 GB, free: 110.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/1.168, allocations: 1.281 kB / 0.5502 GB, free: 110.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=433) (initialization): time 0.01354/1.182, allocations: 4.547 MB / 0.5547 GB, free: 108.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/1.182, allocations: 6.844 kB / 0.5547 GB, free: 108.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/1.182, allocations: 8.906 kB / 0.5547 GB, free: 108.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007567/1.189, allocations: 1.364 MB / 0.556 GB, free: 108.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004172/1.194, allocations: 0.578 MB / 0.5566 GB, free: 108.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03244/1.226, allocations: 19.24 MB / 0.5754 GB, free: 94.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003461/1.23, allocations: 166.5 kB / 0.5755 GB, free: 94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000401/1.23, allocations: 123.6 kB / 0.5757 GB, free: 93.97 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.0006551/1.231, allocations: 274.3 kB / 0.5759 GB, free: 93.77 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005413/1.231, allocations: 263.1 kB / 0.5762 GB, free: 93.63 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01353/1.245, allocations: 4.608 MB / 0.5807 GB, free: 91.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01175/1.257, allocations: 4.019 MB / 0.5846 GB, free: 90.21 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/1.257, allocations: 3.656 kB / 0.5846 GB, free: 90.21 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.912e-05/1.257, allocations: 20.88 kB / 0.5846 GB, free: 90.21 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02355/1.28, allocations: 9.748 MB / 0.5941 GB, free: 85.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-05/1.28, allocations: 5.656 kB / 0.5941 GB, free: 85.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003266/1.284, allocations: 0.494 MB / 0.5946 GB, free: 85.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006765/1.29, allocations: 1.392 MB / 0.596 GB, free: 84.44 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003998/1.291, allocations: 78.41 kB / 0.5961 GB, free: 84.37 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02758/1.318, allocations: 17.69 MB / 0.6133 GB, free: 66.94 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.07162/1.39, allocations: 27.31 MB / 0.64 GB, free: 42.1 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01627/1.406, allocations: 6.676 MB / 0.6465 GB, free: 35.68 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001853/1.408, allocations: 0.6984 MB / 0.6472 GB, free: 35.07 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005143/1.409, allocations: 68 kB / 0.6473 GB, free: 35 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002365/1.411, allocations: 157.6 kB / 0.6474 GB, free: 34.88 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000705/1.412, allocations: 280.3 kB / 0.6477 GB, free: 34.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003123/1.412, allocations: 107 kB / 0.6478 GB, free: 34.61 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002166/1.414, allocations: 1.257 MB / 0.649 GB, free: 33.46 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.41e-07/1.414, allocations: 0 / 0.649 GB, free: 33.46 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003838/1.418, allocations: 1.074 MB / 0.6501 GB, free: 32.39 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.001497/1.42, allocations: 468 kB / 0.6505 GB, free: 32.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008579/1.428, allocations: 4.42 MB / 0.6548 GB, free: 27.78 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.944e-06/1.428, allocations: 0 / 0.6548 GB, free: 27.78 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005645/1.434, allocations: 3.026 MB / 0.6578 GB, free: 24.85 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001983/1.436, allocations: 305.6 kB / 0.6581 GB, free: 24.59 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/1.448, allocations: 5.942 MB / 0.6639 GB, free: 19.07 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001704/1.45, allocations: 1.839 MB / 0.6657 GB, free: 17.61 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002646/1.453, allocations: 336.5 kB / 0.666 GB, free: 17.38 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001037/1.454, allocations: 180.8 kB / 0.6662 GB, free: 17.23 MB / 442.7 MB Notification: Performance of SimCode: time 2.583e-06/1.454, allocations: 0 / 0.6662 GB, free: 17.23 MB / 442.7 MB Notification: Performance of Templates: time 0.3864/1.84, allocations: 64.65 MB / 0.7293 GB, free: 98.21 MB / 442.7 MB