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.0008692/0.000869, allocations: 92.8 kB / 16.65 MB, free: 6.594 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.0008791/0.0008793, allocations: 184 kB / 17.56 MB, free: 6.199 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.352/1.352, allocations: 205.4 MB / 223.7 MB, free: 13.06 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.0004649/0.0004649, allocations: 12 kB / 280.7 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1051, allocations: 47.58 MB / 328.3 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.3127/0.4179, allocations: 111.7 MB / 440 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.06057/0.4785, allocations: 22.32 MB / 462.3 MB, free: 384 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03007/0.5086, allocations: 0.5026 MB / 462.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003427/0.5121, allocations: 0.7966 MB / 463.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0106/0.5227, allocations: 3.438 MB / 467.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004819/0.5276, allocations: 1.844 MB / 468.9 MB, free: 9.777 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02093/0.5485, allocations: 17.37 MB / 486.3 MB, free: 8.379 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02174/0.5703, allocations: 14.41 MB / 0.489 GB, free: 9.836 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007554/0.5779, allocations: 3.02 MB / 0.4919 GB, free: 6.805 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008564/0.5865, allocations: 5.085 MB / 0.4969 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00153/0.5881, allocations: 340 kB / 0.4972 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003677/0.5918, allocations: 1.576 MB / 0.4988 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00417/0.596, allocations: 4.27 MB / 0.5029 GB, free: 11.51 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006295/0.6023, allocations: 4.505 MB / 0.5073 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01685/0.6191, allocations: 16.1 MB / 0.523 GB, free: 6.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.6192, allocations: 0 / 0.523 GB, free: 6.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.6192, allocations: 0 / 0.523 GB, free: 6.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000523/0.6197, allocations: 8 kB / 0.5231 GB, free: 6.812 MB / 430.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.3848/1.005, allocations: 9.242 MB / 0.5321 GB, free: 148.8 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/1.005, allocations: 10.62 kB / 0.5321 GB, free: 148.8 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04933/1.054, allocations: 5.539 MB / 0.5375 GB, free: 148.2 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02182/1.076, allocations: 9.153 MB / 0.5464 GB, free: 143 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004208/1.076, allocations: 0.5229 MB / 0.5469 GB, free: 142.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002914/1.079, allocations: 0.7329 MB / 0.5477 GB, free: 142.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0374/1.117, allocations: 19.58 MB / 0.5668 GB, free: 123.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003515/1.117, allocations: 95.11 kB / 0.5669 GB, free: 123.4 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001212/1.118, allocations: 324.4 kB / 0.5672 GB, free: 123.1 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003659/1.122, allocations: 2.82 MB / 0.5699 GB, free: 120.3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03265/1.155, allocations: 16.32 MB / 0.5859 GB, free: 104 MB / 430.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.09561/1.25, allocations: 74.64 MB / 0.6588 GB, free: 27.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0214/1.272, allocations: 8.529 MB / 0.6671 GB, free: 18.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00654/1.278, allocations: 4.765 MB / 0.6718 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02469/1.303, allocations: 15.4 MB / 0.6868 GB, free: 14.31 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.828e-05/1.303, allocations: 72.59 kB / 0.6869 GB, free: 14.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=319): time 7.273e-06/1.303, allocations: 0 / 0.6869 GB, free: 14.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=419): time 0.4081/1.711, allocations: 50.63 MB / 0.7363 GB, free: 140.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001456/1.711, allocations: 406.7 kB / 0.7367 GB, free: 139.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01228/1.724, allocations: 7.648 MB / 0.7442 GB, free: 132.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001561/1.725, allocations: 93.7 kB / 0.7442 GB, free: 132 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003468/1.729, allocations: 5.621 MB / 0.7497 GB, free: 126.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002065/1.731, allocations: 1.528 MB / 0.7512 GB, free: 124.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001313/1.732, allocations: 0.9153 MB / 0.7521 GB, free: 123.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.513e-05/1.732, allocations: 305.1 kB / 0.7524 GB, free: 123.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006354/1.739, allocations: 5.119 MB / 0.7574 GB, free: 118.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009828/1.749, allocations: 10.2 MB / 0.7674 GB, free: 105.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02002/1.769, allocations: 16.13 MB / 0.7831 GB, free: 87.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002607/1.769, allocations: 48 kB / 0.7832 GB, free: 87.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=1332) (initialization): time 0.04436/1.813, allocations: 20.88 MB / 0.8036 GB, free: 66.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001243/1.814, allocations: 76 kB / 0.8036 GB, free: 66.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002278/1.814, allocations: 172.9 kB / 0.8038 GB, free: 66.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01985/1.834, allocations: 6.466 MB / 0.8101 GB, free: 59.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007713/1.841, allocations: 2.148 MB / 0.8122 GB, free: 57.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04069/1.882, allocations: 31.45 MB / 0.8429 GB, free: 25.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01162/1.894, allocations: 0.6293 MB / 0.8435 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002568/1.896, allocations: 0.5273 MB / 0.8441 GB, free: 24.77 MB / 446.1 MB 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.009507/1.906, allocations: 4.102 MB / 0.8481 GB, free: 20.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002059/1.908, allocations: 0.6942 MB / 0.8487 GB, free: 19.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2915/2.199, allocations: 13.85 MB / 0.8623 GB, free: 133.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.982e-05/2.2, allocations: 42.64 kB / 0.8623 GB, free: 133.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-05/2.2, allocations: 22.62 kB / 0.8623 GB, free: 133.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001367/2.2, allocations: 18.61 kB / 0.8623 GB, free: 133.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06167/2.262, allocations: 27.18 MB / 0.8889 GB, free: 126.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.698e-05/2.262, allocations: 10.25 kB / 0.8889 GB, free: 126.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002796/2.264, allocations: 0.5441 MB / 0.8894 GB, free: 126.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01807/2.283, allocations: 5.962 MB / 0.8953 GB, free: 123.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001307/2.284, allocations: 85.02 kB / 0.8953 GB, free: 123.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03724/2.321, allocations: 28.22 MB / 0.9229 GB, free: 99.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-05/2.321, allocations: 11.94 kB / 0.9229 GB, free: 99.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03461/2.356, allocations: 20 MB / 0.9424 GB, free: 80.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005455/2.361, allocations: 1.536 MB / 0.9439 GB, free: 78.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002985/2.364, allocations: 80 kB / 0.944 GB, free: 78.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005616/2.37, allocations: 318.9 kB / 0.9443 GB, free: 78.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001478/2.372, allocations: 300.5 kB / 0.9446 GB, free: 78.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003492/2.372, allocations: 116.9 kB / 0.9447 GB, free: 78.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.008973/2.381, allocations: 4.887 MB / 0.9495 GB, free: 73.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.453e-06/2.381, allocations: 4 kB / 0.9495 GB, free: 73.31 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01216/2.393, allocations: 2.414 MB / 0.9519 GB, free: 70.91 MB / 446.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 (292): * Single equations (assignments): 288 * Array equations: 3 * 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,111,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001392/2.395, allocations: 279.2 kB / 0.9521 GB, free: 70.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01968/2.414, allocations: 12.4 MB / 0.9642 GB, free: 58.37 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.233e-05/2.414, allocations: 0 / 0.9642 GB, free: 58.37 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00726/2.422, allocations: 5.105 MB / 0.9692 GB, free: 53.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01732/2.439, allocations: 1.019 MB / 0.9702 GB, free: 52.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04627/2.485, allocations: 26.93 MB / 0.9965 GB, free: 25.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009668/2.495, allocations: 6.389 MB / 1.003 GB, free: 18.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0118/2.507, allocations: 2.961 MB / 1.006 GB, free: 15.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003127/2.51, allocations: 431.4 kB / 1.006 GB, free: 15.5 MB / 446.1 MB Notification: Performance of SimCode: time 1.283e-06/2.51, allocations: 0 / 1.006 GB, free: 15.5 MB / 446.1 MB Notification: Performance of Templates: time 0.4598/2.97, allocations: 104.5 MB / 1.108 GB, free: 81.72 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile (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)