Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001442, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 193.4 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 205.1 MB / 222 MB, free: 4.754 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 47.94 kB / 278 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2241, allocations: 46.63 MB / 324.7 MB, free: 1.957 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.09226/0.3164, allocations: 103.4 MB / 428.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.051/0.3674, allocations: 19.95 MB / 448 MB, free: 8.355 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02354/0.391, allocations: 474.8 kB / 448.5 MB, free: 7.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01204/0.4031, allocations: 5.856 MB / 454.4 MB, free: 2.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.239/0.6421, allocations: 3.179 MB / 457.5 MB, free: 1.648 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00388/0.646, allocations: 1.462 MB / 459 MB, free: 1.641 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01854/0.6646, allocations: 15.88 MB / 474.9 MB, free: 1.609 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009807/0.6744, allocations: 7.496 MB / 482.4 MB, free: 0.625 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006592/0.6811, allocations: 3.217 MB / 485.6 MB, free: 280 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009647/0.6908, allocations: 5.155 MB / 490.7 MB, free: 15.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002878/0.6937, allocations: 481.1 kB / 491.2 MB, free: 15.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006749/0.7005, allocations: 1.509 MB / 492.7 MB, free: 14.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007603/0.7081, allocations: 4.031 MB / 496.8 MB, free: 13.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009094/0.7172, allocations: 4.232 MB / 0.4892 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0149/0.7322, allocations: 13.15 MB / 0.5021 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.7322, allocations: 0 / 0.5021 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.7322, allocations: 0 / 0.5021 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003825/0.7326, allocations: 0 / 0.5021 GB, free: 0.7969 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2386 * Number of variables: 2386 Notification: Performance of Generate backend data structure: time 0.02559/0.7582, allocations: 9.704 MB / 0.5116 GB, free: 7.164 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.7583, allocations: 8.031 kB / 0.5116 GB, free: 7.156 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04297/0.8013, allocations: 5.232 MB / 0.5167 GB, free: 1.906 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01799/0.8193, allocations: 8.189 MB / 0.5247 GB, free: 9.977 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000338/0.8197, allocations: 424.8 kB / 0.5251 GB, free: 9.609 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001967/0.8217, allocations: 0.5852 MB / 0.5257 GB, free: 9.074 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03242/0.8541, allocations: 16.56 MB / 0.5418 GB, free: 7.738 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003244/0.8545, allocations: 102.1 kB / 0.5419 GB, free: 7.668 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009151/0.8554, allocations: 265.1 kB / 0.5422 GB, free: 7.457 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004172/0.8596, allocations: 2.764 MB / 0.5449 GB, free: 4.727 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03059/0.8902, allocations: 13.64 MB / 0.5582 GB, free: 7.355 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09903/0.9893, allocations: 67.98 MB / 0.6246 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3623/1.352, allocations: 7.891 MB / 0.6323 GB, free: 238.1 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005131/1.357, allocations: 4.509 MB / 0.6367 GB, free: 237.3 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01798/1.375, allocations: 12.43 MB / 0.6488 GB, free: 231.6 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.282e-05/1.375, allocations: 67.12 kB / 0.6489 GB, free: 231.6 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=280): time 5.751e-06/1.375, allocations: 3.781 kB / 0.6489 GB, free: 231.6 MB / 0.5138 GB Notification: Performance of matching and sorting (n=340): time 0.1685/1.543, allocations: 49.27 MB / 0.697 GB, free: 188.2 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/1.544, allocations: 406 kB / 0.6974 GB, free: 187.7 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0129/1.556, allocations: 7.183 MB / 0.7044 GB, free: 180.5 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0009061/1.557, allocations: 77.7 kB / 0.7045 GB, free: 180.4 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.00335/1.561, allocations: 5.032 MB / 0.7094 GB, free: 175.4 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001799/1.563, allocations: 1.263 MB / 0.7106 GB, free: 174.1 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003694/1.566, allocations: 1.864 MB / 0.7124 GB, free: 172.3 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.06e-05/1.566, allocations: 301.1 kB / 0.7127 GB, free: 172 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005592/1.572, allocations: 4.549 MB / 0.7172 GB, free: 167.4 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008414/1.58, allocations: 9.27 MB / 0.7262 GB, free: 155.9 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01678/1.597, allocations: 14.55 MB / 0.7404 GB, free: 139 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002014/1.598, allocations: 44 kB / 0.7405 GB, free: 139 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.03895/1.636, allocations: 19.77 MB / 0.7598 GB, free: 119.2 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001811/1.637, allocations: 72 kB / 0.7599 GB, free: 119.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000269/1.637, allocations: 160 kB / 0.76 GB, free: 118.9 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01989/1.657, allocations: 7.04 MB / 0.7669 GB, free: 111.9 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006584/1.664, allocations: 1.926 MB / 0.7688 GB, free: 110 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04354/1.707, allocations: 33.15 MB / 0.8011 GB, free: 76.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007975/1.715, allocations: 0.585 MB / 0.8017 GB, free: 75.82 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002138/1.717, allocations: 0.4922 MB / 0.8022 GB, free: 75.32 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 733 * Number of states: 0 () * Number of discrete variables: 66 (cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],Cylinder.boxColor[3],Cylinder.boxColor[2],Cylinder.boxColor[1],Mid.color[3],Mid.color[2],Mid.color[1],B1.cylinderColor[3],B1.cylinderColor[2],B1.cylinderColor[1],Crank2.color[3],Crank2.color[2],Crank2.color[1],Crank2.body.sphereColor[3],Crank2.body.sphereColor[2],Crank2.body.sphereColor[1],Crank3.color[3],Crank3.color[2],Crank3.color[1],Crank3.body.sphereColor[3],Crank3.body.sphereColor[2],Crank3.body.sphereColor[1],Crank1.color[3],Crank1.color[2],Crank1.color[1],Crank1.body.sphereColor[3],Crank1.body.sphereColor[2],Crank1.body.sphereColor[1],Crank4.color[3],Crank4.color[2],Crank4.color[1],Crank4.body.sphereColor[3],Crank4.body.sphereColor[2],Crank4.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],Bearing.cylinderColor[3],Bearing.cylinderColor[2],Bearing.cylinderColor[1],B2.cylinderColor[3],B2.cylinderColor[2],B2.cylinderColor[1],Rod.color[3],Rod.color[2],Rod.color[1],Rod.body.sphereColor[3],Rod.body.sphereColor[2],Rod.body.sphereColor[1],Piston.color[3],Piston.color[2],Piston.color[1],Piston.body.sphereColor[3],Piston.body.sphereColor[2],Piston.body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1049): * Single equations (assignments): 1043 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,93,51.6%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.007886/1.725, allocations: 3.478 MB / 0.8056 GB, free: 71.83 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002324/1.728, allocations: 0.6364 MB / 0.8062 GB, free: 71.19 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02911/1.757, allocations: 13.32 MB / 0.8192 GB, free: 57.79 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.184e-05/1.757, allocations: 39.94 kB / 0.8193 GB, free: 57.75 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.452e-05/1.757, allocations: 20 kB / 0.8193 GB, free: 57.73 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.898e-05/1.757, allocations: 18.38 kB / 0.8193 GB, free: 57.71 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05555/1.813, allocations: 26.73 MB / 0.8454 GB, free: 30.47 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.063e-05/1.813, allocations: 8 kB / 0.8454 GB, free: 30.46 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002058/1.815, allocations: 428.2 kB / 0.8458 GB, free: 30.04 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01884/1.834, allocations: 6.664 MB / 0.8523 GB, free: 23.36 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001033/1.835, allocations: 65.78 kB / 0.8524 GB, free: 23.3 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2696/2.104, allocations: 31.91 MB / 0.8835 GB, free: 208.1 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/2.104, allocations: 13.16 kB / 0.8836 GB, free: 208.1 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03378/2.138, allocations: 18.76 MB / 0.9019 GB, free: 199.4 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00473/2.143, allocations: 1.385 MB / 0.9032 GB, free: 198.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002275/2.145, allocations: 63.98 kB / 0.9033 GB, free: 198.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00542/2.151, allocations: 304.7 kB / 0.9036 GB, free: 198 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001229/2.152, allocations: 245 kB / 0.9038 GB, free: 197.7 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003072/2.152, allocations: 92.03 kB / 0.9039 GB, free: 197.6 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.00901/2.161, allocations: 4.607 MB / 0.9084 GB, free: 193.1 MB / 0.5138 GB Notification: Performance of sort global known variables: time 6.21e-07/2.161, allocations: 0 / 0.9084 GB, free: 193.1 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01104/2.172, allocations: 2.145 MB / 0.9105 GB, free: 190.9 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 2 (Inertia.phi,Inertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (215): * Single equations (assignments): 209 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(7,87,55.1%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008956/2.173, allocations: 215.4 kB / 0.9107 GB, free: 190.7 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01751/2.191, allocations: 11.59 MB / 0.922 GB, free: 179.2 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/2.191, allocations: 4 kB / 0.922 GB, free: 179.2 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.008562/2.199, allocations: 4.996 MB / 0.9269 GB, free: 174.2 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01022/2.21, allocations: 0.9364 MB / 0.9278 GB, free: 173.3 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04672/2.256, allocations: 23.42 MB / 0.9507 GB, free: 150.1 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01181/2.268, allocations: 5.557 MB / 0.9561 GB, free: 144.6 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.008981/2.277, allocations: 2.611 MB / 0.9587 GB, free: 141.9 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00209/2.279, allocations: 391.4 kB / 0.959 GB, free: 141.6 MB / 0.5138 GB Notification: Performance of SimCode: time 2.074e-06/2.279, allocations: 7.938 kB / 0.959 GB, free: 141.6 MB / 0.5138 GB Notification: Performance of Templates: time 0.1485/2.428, allocations: 95.45 MB / 1.052 GB, free: 46.03 MB / 0.5138 GB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1)