Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) 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.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") Notification: Performance of loadModel(Modelica): time 1.872/1.872, allocations: 171.1 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004793/0.0004793, allocations: 11.98 kB / 233.9 MB, free: 2.383 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1116, allocations: 38.75 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3873/0.499, allocations: 77.87 MB / 350.5 MB, free: 11.59 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/0.4993, allocations: 91.39 kB / 350.6 MB, free: 11.54 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1595/0.6589, allocations: 35.76 MB / 386.3 MB, free: 13.74 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.6589, allocations: 4 kB / 386.3 MB, free: 13.74 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.74e-05/0.659, allocations: 24 kB / 386.4 MB, free: 13.71 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: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.004492/0.6635, allocations: 1.232 MB / 387.6 MB, free: 12.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.6636, allocations: 11.97 kB / 387.6 MB, free: 12.42 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004843/0.6641, allocations: 118.6 kB / 387.7 MB, free: 12.3 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00161/0.6657, allocations: 0.6018 MB / 388.3 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002096/0.6659, allocations: 78 kB / 388.4 MB, free: 11.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002695/0.6662, allocations: 99.98 kB / 388.5 MB, free: 11.49 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003556/0.6698, allocations: 1.025 MB / 389.5 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.387e-05/0.6699, allocations: 3.906 kB / 389.5 MB, free: 10.44 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001537/0.6701, allocations: 36 kB / 389.6 MB, free: 10.41 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.167e-05/0.6701, allocations: 24 kB / 389.6 MB, free: 10.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003756/0.6739, allocations: 0.942 MB / 390.5 MB, free: 9.438 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009749/0.6837, allocations: 3.573 MB / 394.1 MB, free: 5.715 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002865/0.6866, allocations: 0.8754 MB / 395 MB, free: 4.82 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001213/0.6868, allocations: 20.55 kB / 395 MB, free: 4.801 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.902e-05/0.6868, allocations: 39.12 kB / 395 MB, free: 4.754 MB / 314.7 MB Notification: Performance of pre-optimization done (n=95): time 3.717e-06/0.6868, allocations: 4 kB / 395 MB, free: 4.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=125): time 0.01928/0.7061, allocations: 4.753 MB / 399.8 MB, free: 15.79 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.119e-05/0.7063, allocations: 90.2 kB / 399.9 MB, free: 15.68 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00148/0.7077, allocations: 0.6007 MB / 400.5 MB, free: 15.07 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002796/0.7081, allocations: 45.7 kB / 400.5 MB, free: 15.02 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004608/0.7085, allocations: 420.3 kB / 400.9 MB, free: 14.61 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006819/0.7092, allocations: 421.7 kB / 401.3 MB, free: 14.19 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.7094, allocations: 28 kB / 401.4 MB, free: 14.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003045/0.7097, allocations: 390.7 kB / 401.8 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001886/0.7116, allocations: 438.4 kB / 402.2 MB, free: 13.34 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002088/0.7137, allocations: 0.5553 MB / 402.7 MB, free: 12.75 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001931/0.7157, allocations: 483.7 kB / 403.2 MB, free: 12.28 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/0.7158, allocations: 3.953 kB / 403.2 MB, free: 12.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.005089/0.7209, allocations: 1.302 MB / 404.5 MB, free: 10.96 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/0.7209, allocations: 8 kB / 404.5 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.721, allocations: 4 kB / 404.5 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000658/0.7216, allocations: 134.5 kB / 404.7 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002365/0.724, allocations: 279.6 kB / 404.9 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005746/0.7298, allocations: 4.559 MB / 409.5 MB, free: 5.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/0.7315, allocations: 76.05 kB / 409.6 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002053/0.7318, allocations: 47.98 kB / 409.6 MB, free: 5.449 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 135 * 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%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008494/0.7326, allocations: 285.7 kB / 409.9 MB, free: 5.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003332/0.733, allocations: 94.88 kB / 410 MB, free: 5.066 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003155/0.7362, allocations: 0.8282 MB / 410.8 MB, free: 4.215 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-05/0.7362, allocations: 12 kB / 410.8 MB, free: 4.203 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.247e-05/0.7363, allocations: 7.953 kB / 410.8 MB, free: 4.195 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.63e-05/0.7363, allocations: 3.984 kB / 410.8 MB, free: 4.191 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01017/0.7465, allocations: 3.009 MB / 413.8 MB, free: 1.059 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.21e-05/0.7466, allocations: 4 kB / 413.9 MB, free: 1.055 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002124/0.7487, allocations: 232 kB / 414.1 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008723/0.7496, allocations: 159.3 kB / 414.2 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002648/0.7499, allocations: 31.98 kB / 414.3 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007119/0.7571, allocations: 5.612 MB / 419.9 MB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.7571, allocations: 12.09 kB / 419.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006588/0.7637, allocations: 1.963 MB / 421.9 MB, free: 8.453 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004503/0.7642, allocations: 176.1 kB / 422 MB, free: 8.262 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003124/0.7646, allocations: 24 kB / 422 MB, free: 8.238 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/0.7659, allocations: 83.88 kB / 422.1 MB, free: 8.156 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002946/0.7662, allocations: 88.44 kB / 422.2 MB, free: 8.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/0.7663, allocations: 35.98 kB / 422.3 MB, free: 8.035 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001075/0.7674, allocations: 447.1 kB / 422.7 MB, free: 7.598 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.7675, allocations: 3.938 kB / 422.7 MB, free: 7.594 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00224/0.7697, allocations: 279.9 kB / 423 MB, free: 7.32 MB / 346.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.coil.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 110 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 4,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004359/0.7702, allocations: 153.5 kB / 423.1 MB, free: 7.164 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004739/0.7749, allocations: 1.458 MB / 424.6 MB, free: 5.668 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.32e-05/0.775, allocations: 8.062 kB / 424.6 MB, free: 5.66 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002991/0.778, allocations: 1.088 MB / 425.7 MB, free: 4.52 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001544/0.7796, allocations: 154.9 kB / 425.8 MB, free: 4.363 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007008/0.7866, allocations: 2.755 MB / 428.6 MB, free: 1.551 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009497/0.7876, allocations: 1.052 MB / 429.6 MB, free: 488 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001151/0.7888, allocations: 119.8 kB / 429.7 MB, free: 364 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004209/0.7892, allocations: 79.41 kB / 429.8 MB, free: 284 kB / 346.7 MB Notification: Performance of SimCode: time 1.232e-06/0.7893, allocations: 4 kB / 429.8 MB, free: 280 kB / 346.7 MB Notification: Performance of Templates: time 0.2838/1.073, allocations: 11.59 MB / 441.4 MB, free: 96.54 MB / 346.7 MB