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_3.2.2_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") Notification: Performance of loadModel(Modelica): time 1.799/1.799, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.816e-05/2.843e-05, allocations: 4 kB / 255.3 MB, free: 3.199 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07814/0.07818, allocations: 44.5 MB / 299.8 MB, free: 6.645 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3401/0.4183, allocations: 82.5 MB / 382.3 MB, free: 21.51 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/0.4186, allocations: 81.89 kB / 382.4 MB, free: 21.51 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Magnetic/FluxTubes.mo:1375:11-1375:91:writable] Warning: connect(p, p) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.1326/0.5513, allocations: 35.68 MB / 418.1 MB, free: 11.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.826e-06/0.5513, allocations: 0 / 418.1 MB, free: 11.79 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.418e-05/0.5514, allocations: 23.28 kB / 418.1 MB, free: 11.79 MB / 314.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.002504/0.5539, allocations: 1.149 MB / 419.3 MB, free: 11.02 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.554, allocations: 7.719 kB / 419.3 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003878/0.5544, allocations: 120.5 kB / 419.4 MB, free: 10.96 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/0.5557, allocations: 0.5984 MB / 420 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001596/0.5559, allocations: 80.42 kB / 420.1 MB, free: 10.58 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002065/0.5561, allocations: 98.52 kB / 420.2 MB, free: 10.58 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002069/0.5582, allocations: 0.942 MB / 421.1 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.918e-05/0.5583, allocations: 3.906 kB / 421.1 MB, free: 10.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/0.5584, allocations: 40.19 kB / 421.2 MB, free: 10.38 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.5584, allocations: 23.53 kB / 421.2 MB, free: 10.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001847/0.5603, allocations: 0.7821 MB / 422 MB, free: 10.33 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006948/0.5673, allocations: 3.552 MB / 425.5 MB, free: 8.594 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/0.5689, allocations: 0.8007 MB / 426.3 MB, free: 8.496 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000933/0.5698, allocations: 465.6 kB / 426.8 MB, free: 8.457 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.236e-05/0.5699, allocations: 23.67 kB / 426.8 MB, free: 8.449 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.57, allocations: 42.81 kB / 426.8 MB, free: 8.406 MB / 314.7 MB Notification: Performance of pre-optimization done (n=95): time 4.743e-06/0.57, allocations: 0 / 426.8 MB, free: 8.406 MB / 314.7 MB Notification: Performance of matching and sorting (n=131): time 0.01153/0.5815, allocations: 4.275 MB / 431.1 MB, free: 6.648 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.5816, allocations: 89.86 kB / 431.2 MB, free: 6.555 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009244/0.5825, allocations: 0.5303 MB / 431.7 MB, free: 6.402 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001748/0.5827, allocations: 45.98 kB / 431.8 MB, free: 6.371 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002147/0.583, allocations: 448.1 kB / 432.2 MB, free: 6.062 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000368/0.5833, allocations: 445.3 kB / 432.6 MB, free: 5.719 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.485e-05/0.5834, allocations: 27.81 kB / 432.7 MB, free: 5.695 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.343e-05/0.5835, allocations: 353.9 kB / 433 MB, free: 5.352 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008545/0.5844, allocations: 374.5 kB / 433.4 MB, free: 5.184 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009213/0.5853, allocations: 0.5068 MB / 433.9 MB, free: 4.879 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009427/0.5863, allocations: 423.6 kB / 434.3 MB, free: 4.656 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.669e-06/0.5863, allocations: 3.625 kB / 434.3 MB, free: 4.656 MB / 314.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002638/0.589, allocations: 1.171 MB / 435.5 MB, free: 4.066 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.589, allocations: 7.812 kB / 435.5 MB, free: 4.066 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.5891, allocations: 320 / 435.5 MB, free: 4.066 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005633/0.5896, allocations: 151.8 kB / 435.6 MB, free: 3.984 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/0.5912, allocations: 289.3 kB / 435.9 MB, free: 3.914 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004308/0.5956, allocations: 4.763 MB / 440.7 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/0.597, allocations: 87.94 kB / 440.8 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002276/0.5972, allocations: 43.98 kB / 440.8 MB, free: 15.09 MB / 330.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.0003511/0.5976, allocations: 164.9 kB / 441 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003555/0.598, allocations: 102.8 kB / 441.1 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002123/0.6001, allocations: 0.795 MB / 441.9 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.25e-05/0.6002, allocations: 16.08 kB / 441.9 MB, free: 13.99 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/0.6002, allocations: 4 kB / 441.9 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.298e-05/0.6002, allocations: 7.984 kB / 441.9 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007252/0.6075, allocations: 2.974 MB / 444.9 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/0.6075, allocations: 0 / 444.9 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001577/0.6091, allocations: 256 kB / 445.1 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005984/0.6098, allocations: 130.5 kB / 445.2 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001707/0.61, allocations: 27.98 kB / 445.3 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00504/0.615, allocations: 4.381 MB / 449.7 MB, free: 5.684 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/0.6151, allocations: 4 kB / 449.7 MB, free: 5.68 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004369/0.6195, allocations: 1.952 MB / 451.6 MB, free: 3.605 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004479/0.6199, allocations: 172 kB / 451.8 MB, free: 3.418 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002386/0.6202, allocations: 32 kB / 451.8 MB, free: 3.387 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/0.6213, allocations: 84.19 kB / 451.9 MB, free: 3.305 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002358/0.6215, allocations: 88.56 kB / 452 MB, free: 3.219 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/0.6217, allocations: 39.98 kB / 452 MB, free: 3.18 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00086/0.6225, allocations: 439.1 kB / 452.4 MB, free: 2.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.74e-07/0.6225, allocations: 0 / 452.4 MB, free: 2.75 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001732/0.6243, allocations: 268 kB / 452.7 MB, free: 2.488 MB / 330.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.0003706/0.6247, allocations: 165 kB / 452.9 MB, free: 2.316 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003226/0.6279, allocations: 1.357 MB / 454.2 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/0.628, allocations: 4 kB / 454.2 MB, free: 0.918 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002096/0.6301, allocations: 0.9232 MB / 455.1 MB, free: 15.96 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/0.6316, allocations: 151 kB / 455.3 MB, free: 15.81 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005075/0.6367, allocations: 1.826 MB / 457.1 MB, free: 13.93 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009991/0.6378, allocations: 1.056 MB / 458.2 MB, free: 12.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006052/0.6384, allocations: 87.41 kB / 458.3 MB, free: 12.75 MB / 346.7 MB Notification: Performance of SimCode: time 2.416e-06/0.6385, allocations: 4 kB / 458.3 MB, free: 12.75 MB / 346.7 MB Notification: Performance of Templates: time 0.04244/0.6809, allocations: 26.6 MB / 484.9 MB, free: 2.129 MB / 362.7 MB