Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadModel(Modelica): time 0.9777/0.9777, allocations: 111.3 MB / 119.1 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 1.6e-05/1.609e-05, allocations: 0 / 148.1 MB, free: 6.227 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0444/0.04445, allocations: 25.17 MB / 173.3 MB, free: 13.01 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1838/0.2283, allocations: 42.36 MB / 215.7 MB, free: 6.59 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002044/0.2286, allocations: 73.2 kB / 215.7 MB, free: 6.59 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0726/0.3012, allocations: 19.91 MB / 235.6 MB, free: 13.36 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.492e-06/0.3013, allocations: 0 / 235.6 MB, free: 13.36 MB / 186.7 MB Notification: Performance of Transformations before backend: time 6.841e-05/0.3013, allocations: 23.98 kB / 235.7 MB, free: 13.33 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.003211/0.3046, allocations: 1.187 MB / 236.8 MB, free: 12.16 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.3046, allocations: 12.03 kB / 236.9 MB, free: 12.15 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003602/0.305, allocations: 118.6 kB / 237 MB, free: 12.04 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/0.3064, allocations: 0.6224 MB / 237.6 MB, free: 11.51 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001586/0.3066, allocations: 53.94 kB / 237.6 MB, free: 11.46 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001864/0.3068, allocations: 52 kB / 237.7 MB, free: 11.41 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001997/0.3088, allocations: 0.7385 MB / 238.4 MB, free: 10.96 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002103/0.3109, allocations: 0.8378 MB / 239.3 MB, free: 10.37 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.422e-05/0.311, allocations: 4 kB / 239.3 MB, free: 10.36 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.3111, allocations: 0 / 239.3 MB, free: 10.36 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.895e-05/0.3112, allocations: 24 kB / 239.3 MB, free: 10.34 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008444/0.3196, allocations: 3.676 MB / 243 MB, free: 7.281 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002552/0.3222, allocations: 0.8335 MB / 243.8 MB, free: 6.43 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009198/0.3232, allocations: 383.2 kB / 244.2 MB, free: 6.055 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.161e-05/0.3233, allocations: 20.22 kB / 244.2 MB, free: 6.035 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.429e-05/0.3233, allocations: 38.8 kB / 244.2 MB, free: 5.988 MB / 186.7 MB Notification: Performance of pre-optimization done (n=65): time 1.244e-05/0.3234, allocations: 0 / 244.2 MB, free: 5.988 MB / 186.7 MB Notification: Performance of matching and sorting (n=83): time 0.004582/0.3279, allocations: 1.583 MB / 245.8 MB, free: 4.398 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.421e-05/0.3281, allocations: 93.53 kB / 245.9 MB, free: 4.289 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.3293, allocations: 0.6089 MB / 246.5 MB, free: 3.672 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001139/0.3294, allocations: 25.7 kB / 246.5 MB, free: 3.641 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004646/0.3299, allocations: 0.517 MB / 247.1 MB, free: 3.117 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000338/0.3303, allocations: 272 kB / 247.3 MB, free: 2.848 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.014e-05/0.3304, allocations: 3.938 kB / 247.3 MB, free: 2.844 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0002041/0.3306, allocations: 342.8 kB / 247.7 MB, free: 2.5 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008287/0.3314, allocations: 322.6 kB / 248 MB, free: 2.188 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009489/0.3324, allocations: 464.7 kB / 248.4 MB, free: 1.684 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008693/0.3333, allocations: 353.9 kB / 248.8 MB, free: 1.336 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.3333, allocations: 0 / 248.8 MB, free: 1.336 MB / 186.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002182/0.3355, allocations: 0.8612 MB / 249.6 MB, free: 476 kB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/0.3355, allocations: 11.94 kB / 249.7 MB, free: 464 kB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.3355, allocations: 0 / 249.7 MB, free: 464 kB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.01e-05/0.3356, allocations: 12 kB / 249.7 MB, free: 452 kB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001872/0.3375, allocations: 352 kB / 250 MB, free: 100 kB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.222e-05/0.3375, allocations: 11.98 kB / 250 MB, free: 88 kB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/0.3388, allocations: 99.89 kB / 250.1 MB, free: 15.98 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001498/0.339, allocations: 43.94 kB / 250.2 MB, free: 15.95 MB / 202.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 5 (cActuator.armature.stopper_xMin.contact,comparisonWithFEA.tableID,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 118 * 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 prepare postOptimizeDAE: time 0.0002629/0.3392, allocations: 124.7 kB / 250.3 MB, free: 15.82 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002703/0.3395, allocations: 90.91 kB / 250.4 MB, free: 15.73 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001159/0.3407, allocations: 452.7 kB / 250.8 MB, free: 15.27 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.735e-05/0.3407, allocations: 11.98 kB / 250.8 MB, free: 15.26 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.3407, allocations: 0 / 250.8 MB, free: 15.26 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.482e-05/0.3408, allocations: 3.984 kB / 250.8 MB, free: 15.26 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006422/0.3472, allocations: 2.675 MB / 253.5 MB, free: 12.41 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.188e-05/0.3473, allocations: 9 kB / 253.5 MB, free: 12.4 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001344/0.3486, allocations: 263.6 kB / 253.8 MB, free: 12.14 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.023e-05/0.3487, allocations: 19.95 kB / 253.8 MB, free: 12.12 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.379e-05/0.3488, allocations: 19.98 kB / 253.8 MB, free: 12.11 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.567e-05/0.3488, allocations: 19.92 kB / 253.8 MB, free: 12.09 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.281e-05/0.3489, allocations: 23.88 kB / 253.9 MB, free: 12.06 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002652/0.3515, allocations: 1.672 MB / 255.5 MB, free: 9.988 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003943/0.3519, allocations: 176 kB / 255.7 MB, free: 9.797 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001666/0.3521, allocations: 15.98 kB / 255.7 MB, free: 9.781 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001/0.3531, allocations: 67.94 kB / 255.8 MB, free: 9.715 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000186/0.3533, allocations: 87.7 kB / 255.9 MB, free: 9.629 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/0.3535, allocations: 43.98 kB / 255.9 MB, free: 9.586 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0009076/0.3544, allocations: 467.2 kB / 256.4 MB, free: 9.133 MB / 202.7 MB Notification: Performance of sort global known variables: time 1.275e-06/0.3544, allocations: 0 / 256.4 MB, free: 9.133 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.001261/0.3557, allocations: 187.9 kB / 256.6 MB, free: 8.949 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 3 (comparisonWithFEA.tableID,cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004731/0.3562, allocations: 184.8 kB / 256.7 MB, free: 8.766 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.001682/0.3579, allocations: 0.6984 MB / 257.4 MB, free: 8.07 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 8.836e-06/0.3579, allocations: 4.875 kB / 257.4 MB, free: 8.066 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009455/0.3588, allocations: 392.2 kB / 257.8 MB, free: 7.684 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/0.3603, allocations: 165.1 kB / 258 MB, free: 7.527 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003766/0.3641, allocations: 1.464 MB / 259.4 MB, free: 5.895 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009964/0.3651, allocations: 1.041 MB / 260.5 MB, free: 4.828 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005046/0.3656, allocations: 75.41 kB / 260.6 MB, free: 4.754 MB / 202.7 MB Notification: Performance of SimCode: time 1.835e-06/0.3656, allocations: 4 kB / 260.6 MB, free: 4.75 MB / 202.7 MB Notification: Performance of Templates: time 0.02467/0.3903, allocations: 12.08 MB / 272.6 MB, free: 8.676 MB / 218.7 MB