Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.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.Engine1b_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Inertia.phi|Inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Inertia.phi|Inertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 109.7 kB / 18.4 MB, free: 4.656 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.001807/0.001807, allocations: 187 kB / 19.34 MB, free: 3.734 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.357/1.357, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.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.001231/0.001231, allocations: 60.12 kB / 329.2 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07269/0.07393, allocations: 46.62 MB / 375.9 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.1634/0.2373, allocations: 23.46 MB / 399.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01363/0.251, allocations: 7.08 MB / 406.4 MB, free: 9.805 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002323/0.2534, allocations: 182.1 kB / 406.6 MB, free: 9.766 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01292/0.2663, allocations: 7.946 MB / 414.5 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007734/0.2741, allocations: 3.708 MB / 418.2 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003856/0.2779, allocations: 2.011 MB / 420.2 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01387/0.2918, allocations: 12.24 MB / 432.5 MB, free: 6.781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01127/0.3031, allocations: 10.47 MB / 442.9 MB, free: 12.26 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005835/0.3089, allocations: 4.293 MB / 447.2 MB, free: 7.953 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007262/0.3162, allocations: 5.726 MB / 453 MB, free: 2.211 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001962/0.3182, allocations: 1.004 MB / 454 MB, free: 1.207 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004416/0.3226, allocations: 2.162 MB / 456.1 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004917/0.3276, allocations: 5.145 MB / 461.3 MB, free: 9.887 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005478/0.333, allocations: 5.425 MB / 466.7 MB, free: 4.434 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01496/0.348, allocations: 17.27 MB / 484 MB, free: 3.113 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.348, allocations: 11.94 kB / 484 MB, free: 3.102 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.348, allocations: 0 / 484 MB, free: 3.102 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002259/0.3483, allocations: 0 / 484 MB, free: 3.102 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: 2753 * Number of variables: 2753 Notification: Performance of Generate backend data structure: time 0.02012/0.3684, allocations: 11.23 MB / 495.2 MB, free: 7.773 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.3685, allocations: 11.89 kB / 495.2 MB, free: 7.762 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04628/0.4147, allocations: 5.422 MB / 0.4889 GB, free: 2.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01944/0.4342, allocations: 9.336 MB / 0.498 GB, free: 8.891 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003844/0.4346, allocations: 0.5259 MB / 0.4985 GB, free: 8.363 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00183/0.4364, allocations: 0.7259 MB / 0.4992 GB, free: 7.637 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0336/0.4701, allocations: 19.52 MB / 0.5183 GB, free: 3.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002381/0.4703, allocations: 87.27 kB / 0.5184 GB, free: 2.984 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008663/0.4712, allocations: 323.8 kB / 0.5187 GB, free: 2.668 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004163/0.4754, allocations: 2.825 MB / 0.5215 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03189/0.5073, allocations: 16.25 MB / 0.5373 GB, free: 15.57 MB / 478.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.3953/0.9026, allocations: 74.17 MB / 0.6098 GB, free: 93.7 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02142/0.9241, allocations: 8.468 MB / 0.618 GB, free: 89.62 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005074/0.9292, allocations: 4.769 MB / 0.6227 GB, free: 87.03 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01745/0.9467, allocations: 15.4 MB / 0.6377 GB, free: 74.84 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.9467, allocations: 68.64 kB / 0.6378 GB, free: 74.76 MB / 478.1 MB Notification: Performance of pre-optimization done (n=319): time 5.751e-06/0.9467, allocations: 4 kB / 0.6378 GB, free: 74.75 MB / 478.1 MB Notification: Performance of matching and sorting (n=419): time 0.1525/1.099, allocations: 50.46 MB / 0.6871 GB, free: 24.26 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.998e-05/1.099, allocations: 406.7 kB / 0.6875 GB, free: 23.78 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007787/1.107, allocations: 7.647 MB / 0.6949 GB, free: 16.17 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005516/1.108, allocations: 93.06 kB / 0.695 GB, free: 16.07 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002279/1.11, allocations: 5.609 MB / 0.7005 GB, free: 10.46 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00106/1.111, allocations: 1.533 MB / 0.702 GB, free: 8.941 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002341/1.113, allocations: 2.082 MB / 0.704 GB, free: 6.848 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.224e-05/1.113, allocations: 313.1 kB / 0.7043 GB, free: 6.539 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00565/1.119, allocations: 5.115 MB / 0.7093 GB, free: 1.418 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009957/1.129, allocations: 10.2 MB / 0.7193 GB, free: 4.781 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01957/1.149, allocations: 16.15 MB / 0.7351 GB, free: 2.195 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-05/1.149, allocations: 48 kB / 0.7351 GB, free: 2.148 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1332) (initialization): time 0.2098/1.359, allocations: 20.86 MB / 0.7555 GB, free: 166.5 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001147/1.359, allocations: 79.03 kB / 0.7556 GB, free: 166.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001656/1.359, allocations: 171.1 kB / 0.7557 GB, free: 166.5 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02063/1.38, allocations: 6.454 MB / 0.762 GB, free: 166.5 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006955/1.387, allocations: 2.15 MB / 0.7641 GB, free: 166.5 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04237/1.429, allocations: 33.57 MB / 0.7969 GB, free: 153.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00766/1.437, allocations: 0.6129 MB / 0.7975 GB, free: 153.2 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007277/1.437, allocations: 0.539 MB / 0.798 GB, free: 153.1 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 784 * Number of states: 0 () * Number of discrete variables: 73 (jointRRP.jointUSP.prismatic.positiveBranch,jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[1],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],Mid.color[3],Mid.color[2],Mid.color[1],Crank2.color[3],Crank2.color[2],Crank2.color[1],Crank2.body.sphereColor[3],Crank2.body.sphereColor[2],Crank2.body.sphereColor[1],Crank1.color[3],Crank1.color[2],Crank1.color[1],Crank1.body.sphereColor[3],Crank1.body.sphereColor[2],Crank1.body.sphereColor[1],Crank3.color[3],Crank3.color[2],Crank3.color[1],Crank3.body.sphereColor[3],Crank3.body.sphereColor[2],Crank3.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],Rod2.color[3],Rod2.color[2],Rod2.color[1],Rod2.body.sphereColor[3],Rod2.body.sphereColor[2],Rod2.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 (1180): * Single equations (assignments): 1175 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,124,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005029/1.442, allocations: 4.099 MB / 0.802 GB, free: 151.5 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009742/1.443, allocations: 0.6913 MB / 0.8027 GB, free: 151.5 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02569/1.469, allocations: 13.86 MB / 0.8162 GB, free: 139.3 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.882e-05/1.469, allocations: 19.92 kB / 0.8163 GB, free: 139.3 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/1.469, allocations: 4 kB / 0.8163 GB, free: 139.3 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002968/1.472, allocations: 1.539 MB / 0.8178 GB, free: 138.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001047/1.473, allocations: 71.7 kB / 0.8178 GB, free: 138 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003463/1.477, allocations: 310 kB / 0.8181 GB, free: 137.7 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008153/1.478, allocations: 358.2 kB / 0.8185 GB, free: 137.4 MB / 0.5138 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02392/1.501, allocations: 13.38 MB / 0.8315 GB, free: 124.2 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01511/1.517, allocations: 14.53 MB / 0.8457 GB, free: 109.6 MB / 0.5138 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004/1.521, allocations: 4.16 MB / 0.8498 GB, free: 105.5 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.00564/1.526, allocations: 4.89 MB / 0.8546 GB, free: 100.6 MB / 0.5138 GB Notification: Performance of Backend: time 3.81e-07/1.526, allocations: 0 / 0.8546 GB, free: 100.6 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01394/1.54, allocations: 9.138 MB / 0.8635 GB, free: 91.58 MB / 0.5138 GB Notification: Performance of SimCode: time 0.02466/1.565, allocations: 19.63 MB / 0.8827 GB, free: 71.97 MB / 0.5138 GB Notification: Performance of Templates: time 0.3231/1.888, allocations: 116.9 MB / 0.9968 GB, free: 143.1 MB / 0.5138 GB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1)