Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.armature.stopper_xMax.v_rel|cActuator.l.i|cActuator.x|pmActuator.armature.stopper_xMax.v_rel|pmActuator.coil.Phi|pmActuator.coil.i|pmActuator.g_mLeak2.port_p.Phi|pmActuator.g_ma.port_p.Phi|pmActuator.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") Notification: Performance of loadModel(Modelica): time 1.899/1.899, allocations: 225.8 MB / 239.4 MB, free: 1.234 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.977e-05/3.999e-05, allocations: 4 kB / 292.7 MB, free: 11.46 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1382, allocations: 50.41 MB / 343.1 MB, free: 9.051 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3716/0.5099, allocations: 89.1 MB / 432.2 MB, free: 6.977 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/0.5102, allocations: 82.33 kB / 432.3 MB, free: 6.965 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Magnetic/FluxTubes/Examples/MovingCoilActuator/Components/ConstantActuator.mo:67:3-67:83:writable] Warning: connect(p, p) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.1392/0.6494, allocations: 36.9 MB / 469.2 MB, free: 1.887 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.039e-06/0.6494, allocations: 0 / 469.2 MB, free: 1.887 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.604e-05/0.6495, allocations: 24 kB / 469.2 MB, free: 1.863 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002743/0.6523, allocations: 1.128 MB / 470.3 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.6523, allocations: 8.031 kB / 470.3 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000277/0.6526, allocations: 122.5 kB / 470.4 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.6539, allocations: 0.6064 MB / 471 MB, free: 120 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001641/0.654, allocations: 81.06 kB / 471.1 MB, free: 72 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002045/0.6543, allocations: 98.91 kB / 471.2 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002228/0.6565, allocations: 0.9306 MB / 472.1 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.214e-05/0.6566, allocations: 4 kB / 472.2 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/0.6567, allocations: 39.31 kB / 472.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.763e-05/0.6567, allocations: 27.94 kB / 472.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/0.6587, allocations: 0.7639 MB / 473 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007539/0.6663, allocations: 3.568 MB / 476.5 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001784/0.6681, allocations: 0.7832 MB / 477.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001068/0.6692, allocations: 459.8 kB / 477.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.904e-05/0.6693, allocations: 24.53 kB / 477.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.806e-05/0.6693, allocations: 51.58 kB / 477.9 MB, free: 10.63 MB / 362.7 MB Notification: Performance of pre-optimization done (n=95): time 4.413e-06/0.6694, allocations: 0 / 477.9 MB, free: 10.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=131): time 0.01254/0.6819, allocations: 4.254 MB / 482.1 MB, free: 6.199 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.929e-05/0.682, allocations: 102.3 kB / 482.2 MB, free: 6.078 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.6831, allocations: 0.5206 MB / 482.7 MB, free: 5.551 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.6832, allocations: 45.7 kB / 482.8 MB, free: 5.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004099/0.6836, allocations: 424.3 kB / 483.2 MB, free: 5.078 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004676/0.6841, allocations: 441.5 kB / 483.6 MB, free: 4.641 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.144e-05/0.6842, allocations: 28 kB / 483.6 MB, free: 4.613 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002741/0.6845, allocations: 398.7 kB / 484 MB, free: 4.215 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009788/0.6855, allocations: 382.5 kB / 484.4 MB, free: 3.844 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001117/0.6866, allocations: 0.4902 MB / 484.9 MB, free: 3.316 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.6877, allocations: 427.6 kB / 485.3 MB, free: 2.898 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.306e-06/0.6878, allocations: 4 kB / 485.3 MB, free: 2.895 MB / 362.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003083/0.6909, allocations: 1.207 MB / 486.5 MB, free: 1.672 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.6909, allocations: 4 kB / 486.5 MB, free: 1.668 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.6909, allocations: 4 kB / 486.5 MB, free: 1.664 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006173/0.6916, allocations: 150.8 kB / 486.7 MB, free: 1.508 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001652/0.6932, allocations: 283.6 kB / 487 MB, free: 1.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005662/0.6989, allocations: 4.774 MB / 491.7 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.7001, allocations: 80.02 kB / 491.8 MB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/0.7003, allocations: 43.98 kB / 491.9 MB, free: 11.93 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 139 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 6,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003147/0.7006, allocations: 182.2 kB / 492 MB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002816/0.7009, allocations: 94.88 kB / 492.1 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002038/0.7029, allocations: 0.7911 MB / 492.9 MB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/0.703, allocations: 12 kB / 492.9 MB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.703, allocations: 7.938 kB / 492.9 MB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.841e-05/0.703, allocations: 8.062 kB / 492.9 MB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006631/0.7097, allocations: 2.962 MB / 495.9 MB, free: 7.734 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-05/0.7097, allocations: 4 kB / 495.9 MB, free: 7.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001522/0.7113, allocations: 256 kB / 496.2 MB, free: 7.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005878/0.7119, allocations: 134.4 kB / 496.3 MB, free: 7.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/0.712, allocations: 31.98 kB / 496.3 MB, free: 7.309 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00489/0.7169, allocations: 4.373 MB / 0.489 GB, free: 2.535 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.055e-06/0.7169, allocations: 4.188 kB / 0.489 GB, free: 2.531 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004232/0.7212, allocations: 1.951 MB / 0.4909 GB, free: 480 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003844/0.7216, allocations: 172.1 kB / 0.491 GB, free: 288 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001831/0.7218, allocations: 35.94 kB / 0.4911 GB, free: 252 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009478/0.7228, allocations: 83.89 kB / 0.4911 GB, free: 168 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002252/0.723, allocations: 92.59 kB / 0.4912 GB, free: 72 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/0.7231, allocations: 32 kB / 0.4913 GB, free: 40 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008646/0.724, allocations: 439.2 kB / 0.4917 GB, free: 15.61 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.93e-07/0.724, allocations: 3.938 kB / 0.4917 GB, free: 15.61 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001431/0.7255, allocations: 272 kB / 0.4919 GB, free: 15.34 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (pmActuator.x,pmActuator.armature.stopper_xMin.v_rel,pmActuator.g_ma.Phi,cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i) * Number of discrete variables: 4 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 119 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000329/0.7258, allocations: 159 kB / 0.4921 GB, free: 15.18 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002975/0.7288, allocations: 1.327 MB / 0.4934 GB, free: 13.82 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.712e-06/0.7288, allocations: 4 kB / 0.4934 GB, free: 13.82 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001747/0.7306, allocations: 0.8839 MB / 0.4943 GB, free: 12.9 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.7318, allocations: 162.8 kB / 0.4944 GB, free: 12.74 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004445/0.7363, allocations: 1.787 MB / 0.4962 GB, free: 10.9 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009398/0.7373, allocations: 1.056 MB / 0.4972 GB, free: 9.812 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008878/0.7382, allocations: 123.9 kB / 0.4973 GB, free: 9.688 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003695/0.7386, allocations: 83.41 kB / 0.4974 GB, free: 9.605 MB / 394.7 MB Notification: Performance of SimCode: time 1.759e-06/0.7386, allocations: 0 / 0.4974 GB, free: 9.605 MB / 394.7 MB Notification: Performance of Templates: time 0.03264/0.7712, allocations: 11.63 MB / 0.5088 GB, free: 14.06 MB / 410.7 MB