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.ForceStrokeBehaviour.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadModel(Modelica): time 0.9355/0.9355, allocations: 111.1 MB / 126.7 MB, free: 6.137 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002546/0.0002547, allocations: 4 kB / 158.3 MB, free: 15.21 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0444/0.04468, allocations: 25.17 MB / 183.4 MB, free: 5.996 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005051/0.04978, allocations: 3.38 MB / 186.8 MB, free: 2.605 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.002865/0.05269, allocations: 1.365 MB / 188.2 MB, free: 1.238 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003891/0.05311, allocations: 15.94 kB / 188.2 MB, free: 1.223 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007125/0.05383, allocations: 362.8 kB / 188.5 MB, free: 0.8672 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009061/0.05476, allocations: 402.9 kB / 188.9 MB, free: 484 kB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006065/0.05538, allocations: 159.7 kB / 189.1 MB, free: 324 kB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.001006/0.05641, allocations: 0.632 MB / 189.7 MB, free: 15.68 MB / 170.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004362/0.05686, allocations: 211.9 kB / 189.9 MB, free: 15.46 MB / 170.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005306/0.05741, allocations: 338.9 kB / 190.3 MB, free: 15.13 MB / 170.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006331/0.05806, allocations: 394.6 kB / 190.6 MB, free: 14.75 MB / 170.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.05818, allocations: 40 kB / 190.7 MB, free: 14.71 MB / 170.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.05836, allocations: 44 kB / 190.7 MB, free: 14.66 MB / 170.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002079/0.05858, allocations: 171.3 kB / 190.9 MB, free: 14.5 MB / 170.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002007/0.0588, allocations: 173.3 kB / 191.1 MB, free: 14.32 MB / 170.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001216/0.06003, allocations: 0.9505 MB / 192 MB, free: 13.37 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.06005, allocations: 0 / 192 MB, free: 13.37 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.45e-06/0.06007, allocations: 4 kB / 192 MB, free: 13.36 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.06009, allocations: 0 / 192 MB, free: 13.36 MB / 170.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.002391/0.06249, allocations: 1.055 MB / 193.1 MB, free: 12.26 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.06255, allocations: 8.031 kB / 193.1 MB, free: 12.25 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001925/0.06276, allocations: 102.8 kB / 193.2 MB, free: 12.15 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.06382, allocations: 0.5038 MB / 193.7 MB, free: 11.61 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/0.06398, allocations: 53.3 kB / 193.7 MB, free: 11.55 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/0.06415, allocations: 67.94 kB / 193.8 MB, free: 11.49 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/0.06592, allocations: 0.7182 MB / 194.5 MB, free: 10.75 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/0.06596, allocations: 0 / 194.5 MB, free: 10.75 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.076e-05/0.06605, allocations: 24 kB / 194.5 MB, free: 10.73 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.428e-05/0.06609, allocations: 16 kB / 194.6 MB, free: 10.71 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001868/0.06797, allocations: 0.6453 MB / 195.2 MB, free: 10.07 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005083/0.07308, allocations: 2.544 MB / 197.8 MB, free: 7.383 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/0.07449, allocations: 0.5197 MB / 198.3 MB, free: 6.855 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.962e-05/0.07456, allocations: 8.422 kB / 198.3 MB, free: 6.848 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.631e-05/0.07463, allocations: 46.95 kB / 198.3 MB, free: 6.793 MB / 170.7 MB Notification: Performance of pre-optimization done (n=47): time 3.994e-06/0.07465, allocations: 0 / 198.3 MB, free: 6.793 MB / 170.7 MB Notification: Performance of matching and sorting (n=59): time 0.006173/0.08083, allocations: 1.981 MB / 200.3 MB, free: 4.809 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.08092, allocations: 59.95 kB / 200.4 MB, free: 4.738 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/0.0822, allocations: 0.7348 MB / 201.1 MB, free: 3.996 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 6.091e-05/0.08228, allocations: 37.7 kB / 201.1 MB, free: 3.953 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003695/0.08266, allocations: 406.5 kB / 201.5 MB, free: 3.551 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000214/0.08289, allocations: 201.1 kB / 201.7 MB, free: 3.352 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.934e-05/0.08296, allocations: 8 kB / 201.7 MB, free: 3.344 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.08318, allocations: 342.8 kB / 202.1 MB, free: 3 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009207/0.08411, allocations: 317.2 kB / 202.4 MB, free: 2.688 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.08513, allocations: 427.5 kB / 202.8 MB, free: 2.238 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009665/0.08611, allocations: 347.1 kB / 203.1 MB, free: 1.902 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.08614, allocations: 0 / 203.1 MB, free: 1.902 MB / 170.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002223/0.08837, allocations: 0.8289 MB / 204 MB, free: 1.066 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.08841, allocations: 8 kB / 204 MB, free: 1.059 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.235e-06/0.08843, allocations: 0 / 204 MB, free: 1.059 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.08847, allocations: 8 kB / 204 MB, free: 1.051 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009892/0.08947, allocations: 179.8 kB / 204.2 MB, free: 0.875 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.11e-05/0.08951, allocations: 12 kB / 204.2 MB, free: 0.8633 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006594/0.09018, allocations: 47.97 kB / 204.2 MB, free: 0.8164 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.036e-05/0.09026, allocations: 27.92 kB / 204.2 MB, free: 0.7891 MB / 170.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 3 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact,comparisonWithFEA.tableID) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.0004995/0.09078, allocations: 273.6 kB / 204.5 MB, free: 0.5078 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/0.09095, allocations: 78.97 kB / 204.6 MB, free: 440 kB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1151/0.2061, allocations: 0.8326 MB / 205.4 MB, free: 23.95 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.2061, allocations: 6.125 kB / 205.4 MB, free: 23.95 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.301e-06/0.2061, allocations: 2.172 kB / 205.4 MB, free: 23.95 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.2062, allocations: 2.906 kB / 205.4 MB, free: 23.95 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004214/0.2104, allocations: 1.977 MB / 207.4 MB, free: 23.18 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.898e-06/0.2104, allocations: 2.984 kB / 207.4 MB, free: 23.18 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007526/0.2112, allocations: 141.5 kB / 207.6 MB, free: 23.18 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.245e-05/0.2112, allocations: 4.594 kB / 207.6 MB, free: 23.18 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.146e-05/0.2113, allocations: 18.91 kB / 207.6 MB, free: 23.17 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.815e-06/0.2113, allocations: 5.078 kB / 207.6 MB, free: 23.17 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.005e-06/0.2113, allocations: 2.281 kB / 207.6 MB, free: 23.17 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00192/0.2133, allocations: 0.9377 MB / 208.5 MB, free: 22.79 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003409/0.2136, allocations: 201.2 kB / 208.7 MB, free: 22.66 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.2138, allocations: 21.64 kB / 208.7 MB, free: 22.65 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005695/0.2144, allocations: 50.97 kB / 208.8 MB, free: 22.64 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.2145, allocations: 41.14 kB / 208.8 MB, free: 22.63 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.404e-05/0.2146, allocations: 18.11 kB / 208.8 MB, free: 22.63 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.000872/0.2154, allocations: 0.5246 MB / 209.4 MB, free: 22.41 MB / 170.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.2155, allocations: 1.344 kB / 209.4 MB, free: 22.41 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0007476/0.2162, allocations: 146.5 kB / 209.5 MB, free: 22.39 MB / 170.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact,comparisonWithFEA.tableID) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 58 * 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.0003433/0.2166, allocations: 155.9 kB / 209.7 MB, free: 22.29 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.001907/0.2185, allocations: 0.7244 MB / 210.4 MB, free: 22.09 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 5.291e-06/0.2185, allocations: 1.219 kB / 210.4 MB, free: 22.09 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009237/0.2195, allocations: 366.7 kB / 210.7 MB, free: 21.99 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008723/0.2204, allocations: 122.9 kB / 210.9 MB, free: 21.95 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003085/0.2235, allocations: 1.861 MB / 212.7 MB, free: 20.93 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005435/0.224, allocations: 0.9751 MB / 213.7 MB, free: 20.21 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003214/0.2244, allocations: 53.86 kB / 213.8 MB, free: 20.2 MB / 170.7 MB Notification: Performance of SimCode: time 1.913e-06/0.2244, allocations: 0 / 213.8 MB, free: 20.2 MB / 170.7 MB Notification: Performance of Templates: time 0.01614/0.2405, allocations: 9.234 MB / 223 MB, free: 13.65 MB / 170.7 MB