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.ForceCurrentBehaviour.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.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadModel(Modelica): time 1.935/1.935, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003668/0.0003669, allocations: 8 kB / 233.9 MB, free: 2.383 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08858/0.08897, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.445/0.534, allocations: 79.29 MB / 351.9 MB, free: 10.16 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/0.5344, allocations: 93.08 kB / 352 MB, free: 10.11 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09499/0.6294, allocations: 21.34 MB / 373.3 MB, free: 8.219 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.6295, allocations: 0 / 373.3 MB, free: 8.219 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001134/0.6296, allocations: 27.98 kB / 373.4 MB, free: 8.191 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.005129/0.6347, allocations: 1.371 MB / 374.7 MB, free: 6.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.6348, allocations: 12.03 kB / 374.7 MB, free: 6.828 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006265/0.6354, allocations: 131.1 kB / 374.9 MB, free: 6.699 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001989/0.6374, allocations: 0.6372 MB / 375.5 MB, free: 6.168 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002159/0.6377, allocations: 76.88 kB / 375.6 MB, free: 6.125 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003042/0.638, allocations: 96.91 kB / 375.7 MB, free: 6.062 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003803/0.6418, allocations: 1.038 MB / 376.7 MB, free: 5.348 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.355e-05/0.6419, allocations: 4 kB / 376.7 MB, free: 5.344 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/0.6421, allocations: 38.5 kB / 376.8 MB, free: 5.336 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.075e-05/0.6421, allocations: 24 kB / 376.8 MB, free: 5.312 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004234/0.6464, allocations: 0.9758 MB / 377.8 MB, free: 4.629 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01061/0.657, allocations: 3.849 MB / 381.6 MB, free: 1.672 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004644/0.6617, allocations: 0.9558 MB / 382.6 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001259/0.6619, allocations: 20.47 kB / 382.6 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.847e-05/0.662, allocations: 41.25 kB / 382.6 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of pre-optimization done (n=68): time 3.697e-06/0.662, allocations: 0 / 382.6 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of matching and sorting (n=82): time 0.01033/0.6723, allocations: 2.223 MB / 384.9 MB, free: 14.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.11e-05/0.6724, allocations: 85.55 kB / 384.9 MB, free: 14.82 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00213/0.6746, allocations: 0.8994 MB / 385.8 MB, free: 13.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000204/0.6748, allocations: 41.7 kB / 385.9 MB, free: 13.87 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005566/0.6754, allocations: 0.5029 MB / 386.4 MB, free: 13.36 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004518/0.6758, allocations: 279.9 kB / 386.7 MB, free: 13.08 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.676, allocations: 20 kB / 386.7 MB, free: 13.06 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.6762, allocations: 353.7 kB / 387 MB, free: 12.71 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001929/0.6781, allocations: 413.8 kB / 387.4 MB, free: 12.31 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002196/0.6803, allocations: 0.5641 MB / 388 MB, free: 11.69 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00234/0.6827, allocations: 479.8 kB / 388.5 MB, free: 11.21 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/0.6828, allocations: 0 / 388.5 MB, free: 11.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.005189/0.688, allocations: 1.182 MB / 389.6 MB, free: 10.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.602e-05/0.6881, allocations: 42.41 kB / 389.7 MB, free: 9.969 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.6881, allocations: 7.938 kB / 389.7 MB, free: 9.961 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.97e-05/0.6882, allocations: 8 kB / 389.7 MB, free: 9.953 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002787/0.691, allocations: 339.6 kB / 390 MB, free: 9.621 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.705e-05/0.6911, allocations: 8 kB / 390 MB, free: 9.613 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002072/0.6932, allocations: 111.9 kB / 390.1 MB, free: 9.504 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001984/0.6934, allocations: 35.98 kB / 390.2 MB, free: 9.469 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008262/0.6942, allocations: 293.5 kB / 390.5 MB, free: 9.172 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000349/0.6946, allocations: 98.88 kB / 390.6 MB, free: 9.074 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002056/0.6967, allocations: 486.2 kB / 391 MB, free: 8.582 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-05/0.6967, allocations: 8 kB / 391 MB, free: 8.574 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/0.6968, allocations: 0 / 391 MB, free: 8.574 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.08e-05/0.6968, allocations: 3.984 kB / 391 MB, free: 8.57 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009078/0.7059, allocations: 2.928 MB / 394 MB, free: 5.453 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.219e-05/0.7059, allocations: 15.98 kB / 394 MB, free: 5.438 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001989/0.7079, allocations: 260.4 kB / 394.2 MB, free: 5.184 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-05/0.708, allocations: 12 kB / 394.3 MB, free: 5.172 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001332/0.7081, allocations: 31.98 kB / 394.3 MB, free: 5.141 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-05/0.7082, allocations: 23.92 kB / 394.3 MB, free: 5.117 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.996e-05/0.7082, allocations: 19.94 kB / 394.3 MB, free: 5.098 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003633/0.7119, allocations: 1.24 MB / 395.6 MB, free: 3.707 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005511/0.7125, allocations: 207.9 kB / 395.8 MB, free: 3.484 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002958/0.7128, allocations: 31.98 kB / 395.8 MB, free: 3.453 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/0.7141, allocations: 79.94 kB / 395.9 MB, free: 3.375 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002231/0.7144, allocations: 83.7 kB / 396 MB, free: 3.293 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.922e-05/0.7145, allocations: 39.98 kB / 396 MB, free: 3.254 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001553/0.716, allocations: 0.6356 MB / 396.6 MB, free: 2.625 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.32e-07/0.7161, allocations: 0 / 396.6 MB, free: 2.625 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001649/0.7177, allocations: 231.9 kB / 396.9 MB, free: 2.398 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 2 (cActuator.armature.stopper_xMin.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 simulation (82): * Single equations (assignments): 82 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007839/0.7186, allocations: 268.6 kB / 397.1 MB, free: 2.168 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003996/0.7226, allocations: 0.9521 MB / 398.1 MB, free: 1.203 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.54e-05/0.7226, allocations: 4 kB / 398.1 MB, free: 1.199 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001951/0.7246, allocations: 462.3 kB / 398.5 MB, free: 0.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001882/0.7265, allocations: 171.1 kB / 398.7 MB, free: 0.582 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006649/0.7332, allocations: 2.438 MB / 401.1 MB, free: 13.98 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009388/0.7342, allocations: 1.045 MB / 402.2 MB, free: 12.91 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001168/0.7354, allocations: 134.9 kB / 402.3 MB, free: 12.77 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004537/0.7359, allocations: 71.41 kB / 402.4 MB, free: 12.7 MB / 330.7 MB Notification: Performance of SimCode: time 1.383e-06/0.7359, allocations: 0 / 402.4 MB, free: 12.7 MB / 330.7 MB Notification: Performance of Templates: time 0.04932/0.7852, allocations: 10.18 MB / 412.6 MB, free: 2.555 MB / 330.7 MB