Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") Notification: Performance of loadModel(Modelica): time 1.955/1.955, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003579/0.0003581, allocations: 8 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08945/0.08984, allocations: 44.5 MB / 309.1 MB, free: 376 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.008229/0.09812, allocations: 5.046 MB / 314.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004423/0.1026, allocations: 1.813 MB / 315.9 MB, free: 9.477 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009146/0.1036, allocations: 19.94 kB / 315.9 MB, free: 9.457 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006368/0.1042, allocations: 166.9 kB / 316.1 MB, free: 9.293 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001501/0.1057, allocations: 418.7 kB / 316.5 MB, free: 8.883 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008562/0.1066, allocations: 203.8 kB / 316.7 MB, free: 8.684 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002143/0.1088, allocations: 0.9163 MB / 317.6 MB, free: 7.766 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008662/0.1097, allocations: 370 kB / 318 MB, free: 7.387 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009906/0.1107, allocations: 422.4 kB / 318.4 MB, free: 6.973 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009747/0.1117, allocations: 497.8 kB / 318.9 MB, free: 6.484 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002302/0.112, allocations: 60 kB / 318.9 MB, free: 6.426 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002785/0.1123, allocations: 68 kB / 319 MB, free: 6.359 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002368/0.1125, allocations: 191.2 kB / 319.2 MB, free: 6.172 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003403/0.1129, allocations: 245.1 kB / 319.4 MB, free: 5.926 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002031/0.1149, allocations: 1.449 MB / 320.9 MB, free: 4.473 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.115, allocations: 0 / 320.9 MB, free: 4.473 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.115, allocations: 0 / 320.9 MB, free: 4.473 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.592e-05/0.115, allocations: 0 / 320.9 MB, free: 4.473 MB / 266.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.004527/0.1196, allocations: 1.301 MB / 322.2 MB, free: 3.121 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/0.1196, allocations: 8.031 kB / 322.2 MB, free: 3.113 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003674/0.12, allocations: 122.5 kB / 322.3 MB, free: 2.992 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001748/0.1218, allocations: 0.6525 MB / 323 MB, free: 2.297 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002019/0.122, allocations: 74 kB / 323 MB, free: 2.227 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002649/0.1223, allocations: 96 kB / 323.1 MB, free: 2.133 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003212/0.1255, allocations: 1.009 MB / 324.1 MB, free: 1.113 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.157e-05/0.1256, allocations: 7.906 kB / 324.2 MB, free: 1.105 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001429/0.1258, allocations: 36 kB / 324.2 MB, free: 1.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.944e-05/0.1258, allocations: 31.89 kB / 324.2 MB, free: 1.039 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003445/0.1293, allocations: 0.9186 MB / 325.1 MB, free: 120 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008218/0.1375, allocations: 3.337 MB / 328.5 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002487/0.1401, allocations: 0.8353 MB / 329.3 MB, free: 11.8 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.42e-05/0.1402, allocations: 16.55 kB / 329.3 MB, free: 11.79 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.405e-05/0.1402, allocations: 43.11 kB / 329.4 MB, free: 11.73 MB / 282.7 MB Notification: Performance of pre-optimization done (n=91): time 4.118e-06/0.1403, allocations: 0 / 329.4 MB, free: 11.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=115): time 0.01657/0.1568, allocations: 4.439 MB / 333.8 MB, free: 7.086 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.202e-05/0.1569, allocations: 89.77 kB / 333.9 MB, free: 6.98 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/0.1582, allocations: 0.6007 MB / 334.5 MB, free: 6.371 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001383/0.1583, allocations: 41.7 kB / 334.5 MB, free: 6.324 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004192/0.1588, allocations: 428.1 kB / 335 MB, free: 5.898 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004963/0.1593, allocations: 398.2 kB / 335.3 MB, free: 5.504 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.045e-05/0.1594, allocations: 28 kB / 335.4 MB, free: 5.477 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002525/0.1597, allocations: 390.7 kB / 335.8 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001565/0.1612, allocations: 398.4 kB / 336.1 MB, free: 4.699 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001664/0.1629, allocations: 0.5198 MB / 336.7 MB, free: 4.145 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001695/0.1646, allocations: 451.9 kB / 337.1 MB, free: 3.703 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.1647, allocations: 0 / 337.1 MB, free: 3.703 MB / 282.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004317/0.169, allocations: 1.227 MB / 338.3 MB, free: 2.457 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.278e-05/0.1691, allocations: 4 kB / 338.3 MB, free: 2.453 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.1691, allocations: 8.031 kB / 338.3 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006521/0.1698, allocations: 126.5 kB / 338.5 MB, free: 2.312 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002109/0.1719, allocations: 259.7 kB / 338.7 MB, free: 2.059 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0059/0.1778, allocations: 4.56 MB / 343.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002112/0.18, allocations: 63.98 kB / 343.3 MB, free: 13.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002921/0.1804, allocations: 44.05 kB / 343.4 MB, free: 12.99 MB / 298.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 (cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 125 * 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.001159/0.1815, allocations: 273.6 kB / 343.7 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004477/0.182, allocations: 90.88 kB / 343.7 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0044/0.1864, allocations: 0.784 MB / 344.5 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.15e-05/0.1865, allocations: 7.969 kB / 344.5 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.36e-05/0.1865, allocations: 0 / 344.5 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006021/0.1872, allocations: 168 kB / 344.7 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003795/0.1876, allocations: 20 kB / 344.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00156/0.1892, allocations: 67.91 kB / 344.8 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003177/0.1895, allocations: 84.45 kB / 344.9 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008416/0.198, allocations: 1.409 MB / 346.3 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.008545/0.2066, allocations: 1.769 MB / 348 MB, free: 8.242 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002412/0.209, allocations: 473.3 kB / 348.5 MB, free: 7.785 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001348/0.2104, allocations: 435.1 kB / 348.9 MB, free: 7.355 MB / 298.7 MB Notification: Performance of Backend: time 1.052e-06/0.2104, allocations: 4 kB / 348.9 MB, free: 7.352 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.004854/0.2153, allocations: 1.079 MB / 350 MB, free: 6.223 MB / 298.7 MB Notification: Performance of SimCode: time 0.008535/0.2239, allocations: 3.017 MB / 353 MB, free: 3.16 MB / 298.7 MB Notification: Performance of Templates: time 0.05746/0.2814, allocations: 12.48 MB / 365.5 MB, free: 6.738 MB / 314.7 MB