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.0006798/0.0006798, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00498/0.004981, allocations: 172.2 kB / 16.27 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.483/1.483, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0004235/0.0004236, allocations: 10.66 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2598, allocations: 47.59 MB / 327 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.09124/0.3511, allocations: 101 MB / 428.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.04425/0.3954, allocations: 19.89 MB / 448 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02359/0.419, allocations: 466.8 kB / 448.4 MB, free: 9.562 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003577/0.4226, allocations: 0.7034 MB / 449.1 MB, free: 8.855 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009037/0.4317, allocations: 3.204 MB / 452.3 MB, free: 5.641 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003525/0.4352, allocations: 1.455 MB / 453.8 MB, free: 4.184 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2441/0.6793, allocations: 15.88 MB / 469.6 MB, free: 3.508 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01498/0.6944, allocations: 10.31 MB / 480 MB, free: 2.395 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007523/0.7019, allocations: 2.718 MB / 482.7 MB, free: 2.391 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007374/0.7093, allocations: 4.469 MB / 487.1 MB, free: 1.453 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001512/0.7109, allocations: 277.3 kB / 487.4 MB, free: 1.453 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00335/0.7142, allocations: 1.292 MB / 488.7 MB, free: 1.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005275/0.7195, allocations: 3.76 MB / 492.5 MB, free: 0 / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007239/0.7268, allocations: 3.889 MB / 496.4 MB, free: 14.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01524/0.7421, allocations: 12.73 MB / 0.4972 GB, free: 6.367 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.7421, allocations: 4 kB / 0.4972 GB, free: 6.363 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.7421, allocations: 0 / 0.4972 GB, free: 6.363 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005591/0.7427, allocations: 0 / 0.4972 GB, free: 6.363 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.02091/0.7636, allocations: 8.035 MB / 0.505 GB, free: 14.88 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.7637, allocations: 8.031 kB / 0.505 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04761/0.8113, allocations: 5.357 MB / 0.5102 GB, free: 9.703 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01998/0.8313, allocations: 8.191 MB / 0.5182 GB, free: 3.727 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004138/0.8318, allocations: 424.7 kB / 0.5187 GB, free: 3.496 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002844/0.8347, allocations: 0.5855 MB / 0.5192 GB, free: 3.082 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03667/0.8713, allocations: 16.63 MB / 0.5355 GB, free: 1.676 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004879/0.8719, allocations: 93.52 kB / 0.5355 GB, free: 1.613 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001632/0.8735, allocations: 265.6 kB / 0.5358 GB, free: 1.402 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004754/0.8783, allocations: 2.767 MB / 0.5385 GB, free: 14.67 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03112/0.9094, allocations: 13.7 MB / 0.5519 GB, free: 1.234 MB / 446.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.1377/1.047, allocations: 68.04 MB / 0.6183 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02083/1.068, allocations: 7.937 MB / 0.6261 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.353/1.421, allocations: 4.507 MB / 0.6305 GB, free: 237 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01919/1.44, allocations: 12.43 MB / 0.6426 GB, free: 233.2 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/1.44, allocations: 66.5 kB / 0.6427 GB, free: 233.2 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=280): time 5.841e-06/1.441, allocations: 3.938 kB / 0.6427 GB, free: 233.2 MB / 0.5138 GB Notification: Performance of matching and sorting (n=340): time 0.165/1.606, allocations: 50.1 MB / 0.6916 GB, free: 196.6 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001391/1.606, allocations: 398 kB / 0.692 GB, free: 196.1 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01013/1.616, allocations: 7.187 MB / 0.699 GB, free: 189 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.00113/1.617, allocations: 77.7 kB / 0.6991 GB, free: 188.9 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003067/1.62, allocations: 5.036 MB / 0.704 GB, free: 183.9 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001765/1.622, allocations: 1.256 MB / 0.7052 GB, free: 182.6 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001041/1.623, allocations: 0.8072 MB / 0.706 GB, free: 181.8 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.252e-05/1.623, allocations: 305.1 kB / 0.7063 GB, free: 181.5 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005506/1.629, allocations: 4.547 MB / 0.7108 GB, free: 176.9 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007194/1.636, allocations: 9.271 MB / 0.7198 GB, free: 165.4 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01433/1.65, allocations: 14.53 MB / 0.734 GB, free: 148.6 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001015/1.65, allocations: 48 kB / 0.734 GB, free: 148.5 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.03876/1.689, allocations: 19.78 MB / 0.7534 GB, free: 128.7 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001105/1.689, allocations: 76 kB / 0.7534 GB, free: 128.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002089/1.689, allocations: 160 kB / 0.7536 GB, free: 128.5 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02015/1.71, allocations: 7.056 MB / 0.7605 GB, free: 121.4 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006083/1.716, allocations: 1.926 MB / 0.7624 GB, free: 119.5 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03978/1.755, allocations: 33.22 MB / 0.7948 GB, free: 85.82 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00845/1.764, allocations: 0.589 MB / 0.7954 GB, free: 85.23 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001078/1.765, allocations: 496 kB / 0.7959 GB, free: 84.75 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.006316/1.771, allocations: 3.485 MB / 0.7993 GB, free: 81.25 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001349/1.773, allocations: 0.6364 MB / 0.7999 GB, free: 80.61 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02659/1.799, allocations: 13.34 MB / 0.8129 GB, free: 67.19 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.928e-05/1.799, allocations: 35.94 kB / 0.8129 GB, free: 67.16 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.098e-05/1.799, allocations: 22.34 kB / 0.813 GB, free: 67.14 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.07e-05/1.8, allocations: 19.94 kB / 0.813 GB, free: 67.12 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04588/1.845, allocations: 26.74 MB / 0.8391 GB, free: 39.87 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.503e-05/1.846, allocations: 8 kB / 0.8391 GB, free: 39.86 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001987/1.848, allocations: 420.1 kB / 0.8395 GB, free: 39.45 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01902/1.867, allocations: 6.68 MB / 0.846 GB, free: 32.75 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000905/1.868, allocations: 68 kB / 0.8461 GB, free: 32.69 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2721/2.14, allocations: 31.97 MB / 0.8773 GB, free: 210.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/2.14, allocations: 12.31 kB / 0.8773 GB, free: 210.2 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0321/2.172, allocations: 18.77 MB / 0.8957 GB, free: 203.8 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00367/2.176, allocations: 1.399 MB / 0.897 GB, free: 203.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001295/2.177, allocations: 64.05 kB / 0.8971 GB, free: 203.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003584/2.18, allocations: 311.4 kB / 0.8974 GB, free: 203.3 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009278/2.181, allocations: 244 kB / 0.8976 GB, free: 203.3 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002672/2.182, allocations: 90.59 kB / 0.8977 GB, free: 203.3 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.00642/2.188, allocations: 4.61 MB / 0.9022 GB, free: 201.7 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.21e-07/2.188, allocations: 3.781 kB / 0.9022 GB, free: 201.7 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.009013/2.197, allocations: 2.143 MB / 0.9043 GB, free: 201.2 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.0009044/2.198, allocations: 207.7 kB / 0.9045 GB, free: 201 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01925/2.217, allocations: 11.58 MB / 0.9158 GB, free: 189.5 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/2.217, allocations: 0 / 0.9158 GB, free: 189.5 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.00818/2.226, allocations: 5.01 MB / 0.9207 GB, free: 184.5 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01268/2.238, allocations: 0.9321 MB / 0.9216 GB, free: 183.6 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03418/2.272, allocations: 23.47 MB / 0.9445 GB, free: 160.4 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007265/2.28, allocations: 5.563 MB / 0.95 GB, free: 154.8 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.006712/2.287, allocations: 2.612 MB / 0.9525 GB, free: 152.2 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001297/2.288, allocations: 391.3 kB / 0.9529 GB, free: 151.8 MB / 0.5138 GB Notification: Performance of SimCode: time 1.182e-06/2.288, allocations: 2.406 kB / 0.9529 GB, free: 151.8 MB / 0.5138 GB Notification: Performance of Templates: time 0.145/2.433, allocations: 93.41 MB / 1.044 GB, free: 58.31 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)