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.66/1.66, allocations: 171.2 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003568/0.0003568, allocations: 4 kB / 233.9 MB, free: 2.391 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07969/0.08008, allocations: 38.78 MB / 272.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.00834/0.08847, allocations: 5.014 MB / 277.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004106/0.09263, allocations: 1.805 MB / 279.5 MB, free: 4.676 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005788/0.09324, allocations: 19.94 kB / 279.5 MB, free: 4.656 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005085/0.09376, allocations: 158.8 kB / 279.6 MB, free: 4.5 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001196/0.09497, allocations: 418.8 kB / 280 MB, free: 4.09 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007583/0.09575, allocations: 207.7 kB / 280.2 MB, free: 3.887 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001593/0.09735, allocations: 0.8971 MB / 281.1 MB, free: 2.984 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007265/0.0981, allocations: 373.6 kB / 281.5 MB, free: 2.609 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006728/0.09878, allocations: 426.4 kB / 281.9 MB, free: 2.191 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007821/0.09958, allocations: 489.9 kB / 282.4 MB, free: 1.711 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001677/0.09976, allocations: 60 kB / 282.5 MB, free: 1.652 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002374/0.1, allocations: 60 kB / 282.5 MB, free: 1.594 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002357/0.1003, allocations: 195.2 kB / 282.7 MB, free: 1.402 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002875/0.1006, allocations: 241.1 kB / 282.9 MB, free: 1.16 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001954/0.1025, allocations: 1.441 MB / 284.4 MB, free: 15.71 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1025, allocations: 0 / 284.4 MB, free: 15.71 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.1026, allocations: 4 kB / 284.4 MB, free: 15.71 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.098e-05/0.1026, allocations: 0 / 284.4 MB, free: 15.71 MB / 250.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.004314/0.1069, allocations: 1.297 MB / 285.7 MB, free: 14.36 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.107, allocations: 8.031 kB / 285.7 MB, free: 14.36 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002836/0.1073, allocations: 118.6 kB / 285.8 MB, free: 14.24 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001598/0.1089, allocations: 0.6524 MB / 286.5 MB, free: 13.54 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001884/0.1091, allocations: 78 kB / 286.5 MB, free: 13.47 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002391/0.1093, allocations: 95.91 kB / 286.6 MB, free: 13.38 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00307/0.1124, allocations: 1.017 MB / 287.6 MB, free: 12.34 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.173e-05/0.1125, allocations: 0 / 287.6 MB, free: 12.34 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001441/0.1126, allocations: 40 kB / 287.7 MB, free: 12.3 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.284e-05/0.1127, allocations: 24 kB / 287.7 MB, free: 12.28 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003339/0.116, allocations: 0.907 MB / 288.6 MB, free: 11.37 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007861/0.1239, allocations: 3.34 MB / 292 MB, free: 7.906 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002437/0.1264, allocations: 0.8331 MB / 292.8 MB, free: 7.059 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.96e-05/0.1265, allocations: 17.11 kB / 292.8 MB, free: 7.043 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/0.1265, allocations: 47.12 kB / 292.9 MB, free: 6.988 MB / 250.7 MB Notification: Performance of pre-optimization done (n=91): time 3.898e-06/0.1266, allocations: 0 / 292.9 MB, free: 6.988 MB / 250.7 MB Notification: Performance of matching and sorting (n=115): time 0.01596/0.1425, allocations: 4.434 MB / 297.3 MB, free: 2.344 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.326e-05/0.1426, allocations: 89.77 kB / 297.4 MB, free: 2.238 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.1438, allocations: 0.5968 MB / 298 MB, free: 1.633 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001057/0.144, allocations: 45.7 kB / 298 MB, free: 1.582 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004028/0.1444, allocations: 428.1 kB / 298.4 MB, free: 1.156 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004379/0.1448, allocations: 394.2 kB / 298.8 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.151e-05/0.1449, allocations: 24 kB / 298.8 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002243/0.1452, allocations: 390.7 kB / 299.2 MB, free: 360 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2047/0.3499, allocations: 399.5 kB / 299.6 MB, free: 29.73 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001919/0.3519, allocations: 0.5229 MB / 300.1 MB, free: 29.62 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001714/0.3536, allocations: 447 kB / 300.6 MB, free: 29.62 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.3536, allocations: 2.312 kB / 300.6 MB, free: 29.62 MB / 250.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004186/0.3578, allocations: 1.227 MB / 301.8 MB, free: 29.43 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/0.3579, allocations: 8.812 kB / 301.8 MB, free: 29.43 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.3579, allocations: 3.953 kB / 301.8 MB, free: 29.43 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006024/0.3585, allocations: 134 kB / 301.9 MB, free: 29.38 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002152/0.3607, allocations: 261 kB / 302.2 MB, free: 29.36 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004194/0.3649, allocations: 4.556 MB / 306.8 MB, free: 25.01 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/0.3664, allocations: 64.14 kB / 306.8 MB, free: 24.99 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/0.3665, allocations: 38.47 kB / 306.9 MB, free: 24.98 MB / 250.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.0006191/0.3671, allocations: 272 kB / 307.1 MB, free: 24.77 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000248/0.3674, allocations: 88.25 kB / 307.2 MB, free: 24.77 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002576/0.37, allocations: 0.7911 MB / 308 MB, free: 24.4 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.889e-05/0.3701, allocations: 6.734 kB / 308 MB, free: 24.4 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.3701, allocations: 3.812 kB / 308 MB, free: 24.4 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003092/0.3704, allocations: 163.2 kB / 308.2 MB, free: 24.29 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002462/0.3707, allocations: 21.62 kB / 308.2 MB, free: 24.28 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.3717, allocations: 65.42 kB / 308.3 MB, free: 24.26 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002398/0.372, allocations: 85.95 kB / 308.3 MB, free: 24.25 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005268/0.3773, allocations: 1.414 MB / 309.8 MB, free: 23.66 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005078/0.3824, allocations: 1.765 MB / 311.5 MB, free: 22.79 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001544/0.384, allocations: 473.2 kB / 312 MB, free: 22.61 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0008635/0.3849, allocations: 437 kB / 312.4 MB, free: 22.41 MB / 250.7 MB Notification: Performance of Backend: time 6.41e-07/0.3849, allocations: 0 / 312.4 MB, free: 22.41 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.003229/0.3881, allocations: 1.086 MB / 313.5 MB, free: 21.75 MB / 250.7 MB Notification: Performance of SimCode: time 0.005456/0.3936, allocations: 2.997 MB / 316.5 MB, free: 19.74 MB / 250.7 MB Notification: Performance of Templates: time 0.0329/0.4266, allocations: 12.49 MB / 329 MB, free: 10.47 MB / 250.7 MB