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.001022/0.001022, allocations: 85.08 kB / 16.31 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.00127/0.00127, allocations: 176.8 kB / 17.21 MB, free: 6.332 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.436/1.436, allocations: 205.4 MB / 223.4 MB, free: 5.289 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.0005075/0.0005077, allocations: 8 kB / 280.1 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2632, allocations: 47.6 MB / 327.7 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.1022/0.3654, allocations: 103.8 MB / 431.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.05714/0.4226, allocations: 21.45 MB / 453 MB, free: 5.859 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02109/0.4437, allocations: 0.5065 MB / 453.5 MB, free: 5.352 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2575/0.7013, allocations: 5.337 MB / 458.9 MB, free: 4.375 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04813/0.7495, allocations: 15.79 MB / 474.6 MB, free: 3.613 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008532/0.7581, allocations: 1.701 MB / 476.3 MB, free: 3.582 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.1254/0.8835, allocations: 99.39 MB / 0.5622 GB, free: 4.734 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02507/0.9086, allocations: 12.79 MB / 0.5747 GB, free: 11.62 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008262/0.9169, allocations: 3.247 MB / 0.5779 GB, free: 9.406 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009938/0.9269, allocations: 5.078 MB / 0.5829 GB, free: 5.734 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00304/0.93, allocations: 340 kB / 0.5832 GB, free: 5.402 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005696/0.9357, allocations: 1.335 MB / 0.5845 GB, free: 4.305 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007738/0.9435, allocations: 4.245 MB / 0.5886 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005973/0.9495, allocations: 1.883 MB / 0.5905 GB, free: 0 / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02143/0.9709, allocations: 13.66 MB / 0.6038 GB, free: 4.141 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.971, allocations: 0 / 0.6038 GB, free: 4.141 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.971, allocations: 0 / 0.6038 GB, free: 4.141 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0008092/0.9718, allocations: 0 / 0.6038 GB, free: 4.141 MB / 478.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.02724/0.9991, allocations: 9.367 MB / 0.6129 GB, free: 11.47 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.9991, allocations: 8.031 kB / 0.613 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04028/1.039, allocations: 5.543 MB / 0.6184 GB, free: 6.109 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2672/1.307, allocations: 8.983 MB / 0.6271 GB, free: 213.2 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001137/1.308, allocations: 0.5189 MB / 0.6276 GB, free: 213.2 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004328/1.312, allocations: 0.7258 MB / 0.6284 GB, free: 213.2 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0442/1.356, allocations: 19.53 MB / 0.6474 GB, free: 204.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003859/1.357, allocations: 94.61 kB / 0.6475 GB, free: 204.7 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001404/1.358, allocations: 329.1 kB / 0.6478 GB, free: 204.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003538/1.362, allocations: 2.826 MB / 0.6506 GB, free: 201.7 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03337/1.395, allocations: 16.24 MB / 0.6665 GB, free: 185.5 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.1015/1.497, allocations: 74.61 MB / 0.7393 GB, free: 109.8 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02164/1.519, allocations: 8.516 MB / 0.7476 GB, free: 101.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007339/1.526, allocations: 4.753 MB / 0.7523 GB, free: 96.4 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02892/1.555, allocations: 15.42 MB / 0.7673 GB, free: 80.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.121e-05/1.555, allocations: 72.53 kB / 0.7674 GB, free: 80.44 MB / 494.1 MB Notification: Performance of pre-optimization done (n=319): time 8.947e-06/1.555, allocations: 4 kB / 0.7674 GB, free: 80.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=419): time 0.1705/1.726, allocations: 50.63 MB / 0.8168 GB, free: 29.73 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/1.726, allocations: 402.7 kB / 0.8172 GB, free: 29.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01127/1.737, allocations: 7.6 MB / 0.8246 GB, free: 21.69 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001401/1.738, allocations: 85.7 kB / 0.8247 GB, free: 21.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003645/1.742, allocations: 5.624 MB / 0.8302 GB, free: 15.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002275/1.744, allocations: 1.53 MB / 0.8317 GB, free: 14.35 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006808/1.745, allocations: 200 kB / 0.8319 GB, free: 14.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004779/1.746, allocations: 0.7398 MB / 0.8326 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006922/1.752, allocations: 5.076 MB / 0.8376 GB, free: 8.324 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2779/2.03, allocations: 10.16 MB / 0.8475 GB, free: 185.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0158/2.046, allocations: 7.048 MB / 0.8544 GB, free: 184.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004505/2.047, allocations: 47.16 kB / 0.8544 GB, free: 184.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=1332) (initialization): time 0.04794/2.095, allocations: 20.77 MB / 0.8747 GB, free: 178 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002076/2.095, allocations: 85.36 kB / 0.8748 GB, free: 178 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002804/2.095, allocations: 172 kB / 0.875 GB, free: 178 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0189/2.114, allocations: 6.479 MB / 0.8813 GB, free: 176.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007989/2.122, allocations: 2.156 MB / 0.8834 GB, free: 176.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0412/2.164, allocations: 31.43 MB / 0.9141 GB, free: 147 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009816/2.173, allocations: 0.6255 MB / 0.9147 GB, free: 146.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002445/2.176, allocations: 0.5351 MB / 0.9152 GB, free: 145.9 MB / 494.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 (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.01032/2.186, allocations: 4.099 MB / 0.9192 GB, free: 141.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002338/2.189, allocations: 0.6939 MB / 0.9199 GB, free: 141.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02548/2.214, allocations: 13.82 MB / 0.9334 GB, free: 127.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.987e-05/2.214, allocations: 42.19 kB / 0.9334 GB, free: 127.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.345e-05/2.214, allocations: 27.94 kB / 0.9335 GB, free: 127.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.217e-05/2.214, allocations: 20.8 kB / 0.9335 GB, free: 127.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04862/2.263, allocations: 27.14 MB / 0.96 GB, free: 100.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.023e-05/2.263, allocations: 8 kB / 0.96 GB, free: 100.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002688/2.266, allocations: 0.5422 MB / 0.9605 GB, free: 99.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01597/2.282, allocations: 5.954 MB / 0.9663 GB, free: 93.95 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001001/2.283, allocations: 72 kB / 0.9664 GB, free: 93.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03464/2.317, allocations: 28.2 MB / 0.9939 GB, free: 65.63 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-06/2.317, allocations: 15.89 kB / 0.994 GB, free: 65.62 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03191/2.349, allocations: 19.95 MB / 1.013 GB, free: 45.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00608/2.355, allocations: 1.542 MB / 1.015 GB, free: 43.92 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002034/2.357, allocations: 79.98 kB / 1.015 GB, free: 43.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003679/2.361, allocations: 315.5 kB / 1.015 GB, free: 43.53 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009963/2.362, allocations: 292.1 kB / 1.016 GB, free: 43.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003222/2.362, allocations: 113.2 kB / 1.016 GB, free: 43.14 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007452/2.37, allocations: 4.851 MB / 1.02 GB, free: 38.32 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.4e-07/2.37, allocations: 288 / 1.02 GB, free: 38.32 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0133/2.383, allocations: 2.415 MB / 1.023 GB, free: 35.92 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 (292): * Single equations (assignments): 288 * 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%) 111} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001091/2.384, allocations: 267.1 kB / 1.023 GB, free: 35.67 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.2627/2.647, allocations: 12.34 MB / 1.035 GB, free: 186.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.978e-05/2.647, allocations: 6.281 kB / 1.035 GB, free: 186.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007921/2.655, allocations: 5.094 MB / 1.04 GB, free: 186.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008113/2.663, allocations: 1.02 MB / 1.041 GB, free: 185.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04831/2.712, allocations: 25.88 MB / 1.066 GB, free: 173.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009838/2.722, allocations: 6.394 MB / 1.073 GB, free: 169.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.008475/2.73, allocations: 2.958 MB / 1.075 GB, free: 168.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001631/2.732, allocations: 434.3 kB / 1.076 GB, free: 167.6 MB / 494.1 MB Notification: Performance of SimCode: time 9.82e-07/2.732, allocations: 0 / 1.076 GB, free: 167.6 MB / 494.1 MB Notification: Performance of Templates: time 0.1618/2.894, allocations: 102.4 MB / 1.176 GB, free: 65.36 MB / 494.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)