Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001205/0.001206, allocations: 93.88 kB / 16.3 MB, free: 6.457 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.001346/0.001346, allocations: 182.9 kB / 17.19 MB, free: 6.34 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.313/1.313, allocations: 205.4 MB / 223.4 MB, free: 13.17 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.0004354/0.0004355, allocations: 19.28 kB / 280.1 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09258/0.09303, allocations: 47.58 MB / 327.7 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.2791/0.3722, allocations: 97.89 MB / 425.6 MB, free: 1.027 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.06082/0.433, allocations: 22.5 MB / 448.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03098/0.4641, allocations: 0.4987 MB / 448.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01859/0.4827, allocations: 4.907 MB / 453.5 MB, free: 7.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05317/0.5359, allocations: 13.88 MB / 467.4 MB, free: 9.84 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009297/0.5453, allocations: 1.682 MB / 469.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.1101/0.6553, allocations: 78.12 MB / 0.5343 GB, free: 9.961 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3005/0.9559, allocations: 12.68 MB / 0.5467 GB, free: 81.06 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007558/0.9635, allocations: 2.644 MB / 0.5493 GB, free: 81.06 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009/0.9725, allocations: 3.542 MB / 0.5528 GB, free: 81.06 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003892/0.9765, allocations: 340.1 kB / 0.5531 GB, free: 81.06 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00684/0.9833, allocations: 1.305 MB / 0.5544 GB, free: 81.06 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007612/0.991, allocations: 3.916 MB / 0.5582 GB, free: 81.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006363/0.9974, allocations: 1.876 MB / 0.56 GB, free: 81.03 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02027/1.018, allocations: 14.34 MB / 0.574 GB, free: 76.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/1.018, allocations: 0 / 0.574 GB, free: 76.35 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.695e-06/1.018, allocations: 0 / 0.574 GB, free: 76.35 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007795/1.019, allocations: 0 / 0.574 GB, free: 76.35 MB / 446.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.03305/1.052, allocations: 10.16 MB / 0.584 GB, free: 70.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/1.052, allocations: 12.41 kB / 0.584 GB, free: 70.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2907/1.342, allocations: 30.06 MB / 0.6133 GB, free: 45.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02625/1.369, allocations: 10.19 MB / 0.6233 GB, free: 38.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005788/1.369, allocations: 0.5225 MB / 0.6238 GB, free: 38.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004249/1.374, allocations: 0.7233 MB / 0.6245 GB, free: 37.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05176/1.425, allocations: 19.43 MB / 0.6435 GB, free: 23.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007169/1.426, allocations: 87.05 kB / 0.6435 GB, free: 22.99 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004295/1.43, allocations: 330.4 kB / 0.6439 GB, free: 22.9 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004664/1.435, allocations: 2.819 MB / 0.6466 GB, free: 20.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03822/1.473, allocations: 15.82 MB / 0.6621 GB, free: 9.82 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.4045/1.878, allocations: 73.06 MB / 0.7334 GB, free: 150.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02327/1.901, allocations: 8.081 MB / 0.7413 GB, free: 150 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02665/1.928, allocations: 14.37 MB / 0.7553 GB, free: 146.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.157e-05/1.928, allocations: 78.42 kB / 0.7554 GB, free: 146.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=308): time 6.513e-06/1.928, allocations: 0 / 0.7554 GB, free: 146.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=408): time 0.1538/2.082, allocations: 48.32 MB / 0.8026 GB, free: 119.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/2.082, allocations: 410.6 kB / 0.803 GB, free: 118.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01282/2.095, allocations: 8.4 MB / 0.8112 GB, free: 110.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001303/2.096, allocations: 87.39 kB / 0.8113 GB, free: 110.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0043/2.101, allocations: 5.827 MB / 0.817 GB, free: 104.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002072/2.103, allocations: 1.481 MB / 0.8184 GB, free: 103.1 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006413/2.103, allocations: 187.9 kB / 0.8186 GB, free: 102.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004593/2.104, allocations: 0.6984 MB / 0.8193 GB, free: 102.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005684/2.109, allocations: 4.309 MB / 0.8235 GB, free: 97.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007908/2.117, allocations: 9.277 MB / 0.8325 GB, free: 86.42 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008562/2.126, allocations: 6.211 MB / 0.8386 GB, free: 80.35 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001209/2.126, allocations: 48 kB / 0.8387 GB, free: 80.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=1202) (initialization): time 0.0367/2.163, allocations: 17.62 MB / 0.8559 GB, free: 63.03 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002162/2.163, allocations: 79.95 kB / 0.8559 GB, free: 62.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003276/2.163, allocations: 172 kB / 0.8561 GB, free: 62.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01627/2.18, allocations: 5.035 MB / 0.861 GB, free: 57.74 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006932/2.187, allocations: 1.946 MB / 0.8629 GB, free: 55.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04195/2.229, allocations: 27.89 MB / 0.8901 GB, free: 27.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01216/2.241, allocations: 0.5499 MB / 0.8907 GB, free: 27.22 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002411/2.243, allocations: 0.5036 MB / 0.8912 GB, free: 26.72 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 780 * 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 (1050): * Single equations (assignments): 1045 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 124} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01567/2.259, allocations: 4.089 MB / 0.8952 GB, free: 22.62 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004378/2.263, allocations: 0.7135 MB / 0.8959 GB, free: 21.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03087/2.294, allocations: 11.41 MB / 0.907 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.607e-05/2.294, allocations: 47.94 kB / 0.9071 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.648e-05/2.294, allocations: 20 kB / 0.9071 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.675e-05/2.295, allocations: 19.92 kB / 0.9071 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2905/2.585, allocations: 24.7 MB / 0.9312 GB, free: 169 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.067e-05/2.585, allocations: 7.781 kB / 0.9312 GB, free: 169 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002745/2.588, allocations: 0.5251 MB / 0.9317 GB, free: 169 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01447/2.602, allocations: 4.454 MB / 0.9361 GB, free: 168.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001062/2.604, allocations: 80.39 kB / 0.9362 GB, free: 168.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03327/2.637, allocations: 24.52 MB / 0.9601 GB, free: 157.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.367e-05/2.637, allocations: 15.69 kB / 0.9601 GB, free: 157.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02952/2.666, allocations: 18.28 MB / 0.978 GB, free: 149.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005577/2.672, allocations: 1.464 MB / 0.9794 GB, free: 148.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002235/2.674, allocations: 73.09 kB / 0.9795 GB, free: 148.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004136/2.679, allocations: 264.4 kB / 0.9797 GB, free: 148.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000986/2.68, allocations: 292.2 kB / 0.98 GB, free: 148.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002968/2.68, allocations: 107 kB / 0.9801 GB, free: 148.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.01204/2.692, allocations: 5.514 MB / 0.9855 GB, free: 143.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.21e-07/2.692, allocations: 0 / 0.9855 GB, free: 143.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01298/2.705, allocations: 2.234 MB / 0.9877 GB, free: 141.3 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (284): * Single equations (assignments): 280 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 108} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001472/2.706, allocations: 274.9 kB / 0.9879 GB, free: 141 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01746/2.724, allocations: 10.85 MB / 0.9985 GB, free: 131.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.427e-05/2.724, allocations: 0 / 0.9985 GB, free: 131.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007126/2.731, allocations: 4.57 MB / 1.003 GB, free: 127 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00857/2.74, allocations: 1.053 MB / 1.004 GB, free: 126 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05636/2.796, allocations: 24.84 MB / 1.028 GB, free: 101.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01017/2.806, allocations: 6.581 MB / 1.035 GB, free: 94.77 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.008361/2.815, allocations: 2.946 MB / 1.038 GB, free: 91.81 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001702/2.816, allocations: 439.4 kB / 1.038 GB, free: 91.38 MB / 494.1 MB Notification: Performance of SimCode: time 9.12e-07/2.816, allocations: 0 / 1.038 GB, free: 91.38 MB / 494.1 MB Notification: Performance of Templates: time 0.4082/3.225, allocations: 97.68 MB / 1.133 GB, free: 168.3 MB / 494.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1) Environment - environmentSimulation: