Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") Notification: Performance of loadModel(Modelica): time 1.243/1.243, allocations: 111.1 MB / 127.3 MB, free: 6.133 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002859/0.000286, allocations: 4 kB / 158.9 MB, free: 15.22 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05874/0.05905, allocations: 25.18 MB / 184.1 MB, free: 6.004 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2355/0.2947, allocations: 42.31 MB / 226.4 MB, free: 3.703 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000307/0.295, allocations: 78.45 kB / 226.4 MB, free: 3.691 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1816/0.4767, allocations: 34.97 MB / 261.4 MB, free: 5.285 MB / 202.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.4768, allocations: 0 / 261.4 MB, free: 5.285 MB / 202.7 MB Notification: Performance of Transformations before backend: time 9.122e-05/0.4769, allocations: 20 kB / 261.4 MB, free: 5.266 MB / 202.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.005946/0.4828, allocations: 1.217 MB / 262.6 MB, free: 4 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.02e-05/0.4829, allocations: 8.031 kB / 262.7 MB, free: 3.992 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006918/0.4836, allocations: 122.6 kB / 262.8 MB, free: 3.871 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002307/0.486, allocations: 0.5763 MB / 263.3 MB, free: 3.25 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002887/0.4863, allocations: 82 kB / 263.4 MB, free: 3.172 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004036/0.4867, allocations: 99.84 kB / 263.5 MB, free: 3.074 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005082/0.4918, allocations: 1.013 MB / 264.5 MB, free: 2.047 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.033e-05/0.492, allocations: 7.938 kB / 264.5 MB, free: 2.039 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000212/0.4922, allocations: 36 kB / 264.6 MB, free: 2.004 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.076e-05/0.4923, allocations: 24 kB / 264.6 MB, free: 1.98 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005141/0.4974, allocations: 0.9187 MB / 265.5 MB, free: 1.059 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01464/0.5122, allocations: 3.502 MB / 269 MB, free: 13.4 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003979/0.5162, allocations: 0.8127 MB / 269.8 MB, free: 12.56 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001576/0.5164, allocations: 16.48 kB / 269.9 MB, free: 12.54 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.08e-05/0.5165, allocations: 59.06 kB / 269.9 MB, free: 12.48 MB / 218.7 MB Notification: Performance of pre-optimization done (n=91): time 5.331e-06/0.5165, allocations: 0 / 269.9 MB, free: 12.48 MB / 218.7 MB Notification: Performance of matching and sorting (n=121): time 0.01899/0.5355, allocations: 4.66 MB / 274.6 MB, free: 7.609 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.054e-05/0.5357, allocations: 90.2 kB / 274.7 MB, free: 7.504 MB / 218.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.5371, allocations: 0.5967 MB / 275.3 MB, free: 6.902 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002524/0.5373, allocations: 45.7 kB / 275.3 MB, free: 6.852 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003817/0.5377, allocations: 434.7 kB / 275.7 MB, free: 6.422 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005895/0.5383, allocations: 417.9 kB / 276.1 MB, free: 6.008 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.5385, allocations: 20 kB / 276.2 MB, free: 5.988 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.5387, allocations: 362.8 kB / 276.5 MB, free: 5.625 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001756/0.5404, allocations: 422.4 kB / 276.9 MB, free: 5.211 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00187/0.5423, allocations: 0.5474 MB / 277.5 MB, free: 4.633 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001856/0.5442, allocations: 467.7 kB / 277.9 MB, free: 4.184 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.428e-06/0.5443, allocations: 4 kB / 277.9 MB, free: 4.18 MB / 218.7 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.004613/0.5489, allocations: 1.236 MB / 279.2 MB, free: 2.922 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.232e-05/0.549, allocations: 4 kB / 279.2 MB, free: 2.918 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/0.549, allocations: 4 kB / 279.2 MB, free: 2.914 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006529/0.5497, allocations: 130.6 kB / 279.3 MB, free: 2.777 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002342/0.552, allocations: 279.6 kB / 279.6 MB, free: 2.504 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005552/0.5576, allocations: 4.552 MB / 284.1 MB, free: 13.55 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/0.5593, allocations: 80 kB / 284.2 MB, free: 13.47 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001995/0.5596, allocations: 39.98 kB / 284.2 MB, free: 13.43 MB / 234.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 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 131 * 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.0009591/0.5606, allocations: 281.6 kB / 284.5 MB, free: 13.14 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000358/0.5609, allocations: 94.86 kB / 284.6 MB, free: 13.05 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002969/0.5639, allocations: 0.8081 MB / 285.4 MB, free: 12.23 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.331e-05/0.564, allocations: 12 kB / 285.4 MB, free: 12.21 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.652e-05/0.564, allocations: 4 kB / 285.4 MB, free: 12.21 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.904e-05/0.564, allocations: 3.984 kB / 285.4 MB, free: 12.21 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009094/0.5731, allocations: 2.948 MB / 288.4 MB, free: 9.129 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/0.5732, allocations: 11.88 kB / 288.4 MB, free: 9.117 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002002/0.5752, allocations: 232 kB / 288.6 MB, free: 8.891 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008625/0.5761, allocations: 155.3 kB / 288.8 MB, free: 8.727 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002205/0.5764, allocations: 28 kB / 288.8 MB, free: 8.699 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006863/0.5832, allocations: 5.619 MB / 294.4 MB, free: 2.551 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-06/0.5833, allocations: 4 kB / 294.4 MB, free: 2.547 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006669/0.59, allocations: 1.92 MB / 296.3 MB, free: 0.5664 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004465/0.5905, allocations: 172 kB / 296.5 MB, free: 388 kB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003319/0.5908, allocations: 27.95 kB / 296.5 MB, free: 360 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00134/0.5922, allocations: 83.94 kB / 296.6 MB, free: 276 kB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002886/0.5925, allocations: 76.45 kB / 296.7 MB, free: 200 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/0.5926, allocations: 35.98 kB / 296.7 MB, free: 164 kB / 234.7 MB Notification: Performance of sorting global known variables: time 0.1588/0.7514, allocations: 428.5 kB / 297.2 MB, free: 59.83 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.213e-06/0.7515, allocations: 2.5 kB / 297.2 MB, free: 59.83 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.001838/0.7533, allocations: 265.9 kB / 297.4 MB, free: 59.83 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (pmActuator.x,pmActuator.armature.stopper_xMin.v_rel,pmActuator.coil.Phi,cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i) * Number of discrete variables: 4 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 106 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 4,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003625/0.7537, allocations: 153.6 kB / 297.6 MB, free: 59.74 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.004313/0.758, allocations: 1.428 MB / 299 MB, free: 59.4 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/0.7581, allocations: 3.625 kB / 299 MB, free: 59.4 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002479/0.7606, allocations: 1.071 MB / 300.1 MB, free: 58.96 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001745/0.7624, allocations: 182.2 kB / 300.2 MB, free: 58.95 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006432/0.7688, allocations: 2.775 MB / 303 MB, free: 57.8 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006778/0.7696, allocations: 1.044 MB / 304.1 MB, free: 57.09 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006913/0.7703, allocations: 87.5 kB / 304.1 MB, free: 57.09 MB / 234.7 MB Notification: Performance of SimCode: time 1.042e-06/0.7703, allocations: 0 / 304.1 MB, free: 57.09 MB / 234.7 MB Notification: Performance of Templates: time 0.0482/0.8185, allocations: 27.68 MB / 331.8 MB, free: 50.52 MB / 234.7 MB