Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_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.1_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.001451/0.001451, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001528/0.001528, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.482/1.482, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.0004506/0.0004508, allocations: 16 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2486, allocations: 47.59 MB / 326.5 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.09288/0.3415, allocations: 97.88 MB / 424.3 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.06088/0.4024, allocations: 22.5 MB / 446.8 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03277/0.4353, allocations: 0.5026 MB / 447.3 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02315/0.4585, allocations: 4.907 MB / 452.2 MB, free: 5.398 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3321/0.7907, allocations: 13.87 MB / 466.1 MB, free: 4.809 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009517/0.8002, allocations: 1.687 MB / 467.8 MB, free: 4.789 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.1159/0.9162, allocations: 78.12 MB / 0.5331 GB, free: 14.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02355/0.9398, allocations: 12.69 MB / 0.5455 GB, free: 5.074 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008273/0.9481, allocations: 2.643 MB / 0.5481 GB, free: 3.383 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007919/0.9561, allocations: 3.54 MB / 0.5515 GB, free: 0.875 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002954/0.9591, allocations: 340 kB / 0.5519 GB, free: 0.543 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005706/0.9648, allocations: 1.302 MB / 0.5531 GB, free: 15.47 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007418/0.9723, allocations: 3.926 MB / 0.557 GB, free: 12.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005607/0.978, allocations: 1.877 MB / 0.5588 GB, free: 11.94 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02116/0.9991, allocations: 14.33 MB / 0.5728 GB, free: 15.5 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.9992, allocations: 0 / 0.5728 GB, free: 15.5 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.9992, allocations: 1.641 kB / 0.5728 GB, free: 15.5 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0008511/1, allocations: 0 / 0.5728 GB, free: 15.5 MB / 462.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.03552/1.036, allocations: 10.16 MB / 0.5827 GB, free: 6.16 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/1.036, allocations: 12.03 kB / 0.5827 GB, free: 6.148 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3004/1.336, allocations: 30.05 MB / 0.6121 GB, free: 9.988 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02682/1.363, allocations: 10.19 MB / 0.622 GB, free: 2.828 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005951/1.364, allocations: 0.5203 MB / 0.6226 GB, free: 2.535 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003959/1.368, allocations: 0.7303 MB / 0.6233 GB, free: 2.055 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4274/1.795, allocations: 19.42 MB / 0.6422 GB, free: 202.6 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003171/1.795, allocations: 98.94 kB / 0.6423 GB, free: 202.6 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009644/1.796, allocations: 333.5 kB / 0.6426 GB, free: 202.4 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003902/1.8, allocations: 2.815 MB / 0.6454 GB, free: 201.3 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03327/1.834, allocations: 15.81 MB / 0.6608 GB, free: 187.7 MB / 494.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.1131/1.947, allocations: 73.08 MB / 0.7322 GB, free: 113.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02128/1.968, allocations: 8.077 MB / 0.7401 GB, free: 105.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02849/1.997, allocations: 14.38 MB / 0.7541 GB, free: 90.68 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.505e-05/1.997, allocations: 68.56 kB / 0.7542 GB, free: 90.61 MB / 494.1 MB Notification: Performance of pre-optimization done (n=308): time 7.615e-06/1.997, allocations: 3.984 kB / 0.7542 GB, free: 90.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=408): time 0.1659/2.163, allocations: 48.32 MB / 0.8014 GB, free: 42.25 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/2.163, allocations: 414.6 kB / 0.8018 GB, free: 41.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01482/2.178, allocations: 8.397 MB / 0.81 GB, free: 33.36 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001014/2.179, allocations: 91.5 kB / 0.8101 GB, free: 33.27 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004124/2.183, allocations: 5.831 MB / 0.8158 GB, free: 27.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002152/2.185, allocations: 1.481 MB / 0.8172 GB, free: 25.96 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001228/2.186, allocations: 191.9 kB / 0.8174 GB, free: 25.77 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0007417/2.187, allocations: 0.6907 MB / 0.8181 GB, free: 25.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00653/2.194, allocations: 4.309 MB / 0.8223 GB, free: 20.75 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008668/2.202, allocations: 9.27 MB / 0.8313 GB, free: 9.047 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008376/2.211, allocations: 6.206 MB / 0.8374 GB, free: 2.828 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002144/2.211, allocations: 48 kB / 0.8374 GB, free: 2.781 MB / 494.1 MB Notification: Performance of matching and sorting (n=1202) (initialization): time 0.2915/2.502, allocations: 17.64 MB / 0.8547 GB, free: 180.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001622/2.503, allocations: 77.66 kB / 0.8547 GB, free: 180.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003379/2.503, allocations: 170.1 kB / 0.8549 GB, free: 180.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01533/2.518, allocations: 5.02 MB / 0.8598 GB, free: 179.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007052/2.525, allocations: 1.943 MB / 0.8617 GB, free: 179.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03592/2.561, allocations: 27.89 MB / 0.8889 GB, free: 162.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008793/2.57, allocations: 0.5516 MB / 0.8895 GB, free: 161.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001838/2.572, allocations: 0.5011 MB / 0.89 GB, free: 161.2 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.007611/2.58, allocations: 4.082 MB / 0.8939 GB, free: 157.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001572/2.581, allocations: 0.712 MB / 0.8946 GB, free: 156.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02101/2.602, allocations: 11.43 MB / 0.9058 GB, free: 145.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.579e-05/2.602, allocations: 40 kB / 0.9058 GB, free: 145.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.89e-05/2.602, allocations: 26.3 kB / 0.9059 GB, free: 145.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.803e-05/2.603, allocations: 16.03 kB / 0.9059 GB, free: 145.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04707/2.65, allocations: 24.7 MB / 0.93 GB, free: 120.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.088e-05/2.65, allocations: 8 kB / 0.93 GB, free: 120.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002529/2.652, allocations: 0.5266 MB / 0.9305 GB, free: 120.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01354/2.666, allocations: 4.458 MB / 0.9349 GB, free: 115.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008969/2.667, allocations: 77.23 kB / 0.9349 GB, free: 115.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02975/2.696, allocations: 24.52 MB / 0.9589 GB, free: 91.15 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.756e-06/2.697, allocations: 15.94 kB / 0.9589 GB, free: 91.14 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02846/2.725, allocations: 18.29 MB / 0.9768 GB, free: 72.46 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005426/2.73, allocations: 1.45 MB / 0.9782 GB, free: 70.99 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002637/2.733, allocations: 76 kB / 0.9783 GB, free: 70.92 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004868/2.738, allocations: 263.6 kB / 0.9785 GB, free: 70.66 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00114/2.739, allocations: 287 kB / 0.9788 GB, free: 70.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005907/2.74, allocations: 112.6 kB / 0.9789 GB, free: 70.28 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.009923/2.75, allocations: 5.511 MB / 0.9843 GB, free: 64.78 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/2.75, allocations: 2.297 kB / 0.9843 GB, free: 64.78 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01184/2.762, allocations: 2.235 MB / 0.9865 GB, free: 62.55 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.001359/2.763, allocations: 276 kB / 0.9867 GB, free: 62.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01606/2.779, allocations: 10.85 MB / 0.9973 GB, free: 51.51 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.469e-05/2.779, allocations: 8 kB / 0.9973 GB, free: 51.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007367/2.786, allocations: 4.558 MB / 1.002 GB, free: 46.93 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008195/2.795, allocations: 1.061 MB / 1.003 GB, free: 45.86 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2576/3.052, allocations: 24.85 MB / 1.027 GB, free: 173.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01178/3.064, allocations: 6.577 MB / 1.033 GB, free: 172.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00857/3.073, allocations: 2.946 MB / 1.036 GB, free: 172.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001607/3.074, allocations: 452.7 kB / 1.037 GB, free: 172.6 MB / 494.1 MB Notification: Performance of SimCode: time 1.713e-06/3.075, allocations: 0 / 1.037 GB, free: 172.6 MB / 494.1 MB Notification: Performance of Templates: time 0.1657/3.24, allocations: 97.67 MB / 1.132 GB, free: 90.21 MB / 494.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1) Environment - environmentSimulation: