Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_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.PlanarLoops_analytic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.001589, allocations: 108.6 kB / 16.51 MB, free: 6.715 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.001892/0.001892, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.471/1.471, allocations: 205.1 MB / 223.3 MB, free: 12.4 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.001243/0.001243, allocations: 51.92 kB / 279.3 MB, free: 3.559 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1178, allocations: 46.63 MB / 326 MB, free: 4.863 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic): time 0.33/0.4479, allocations: 110.5 MB / 436.5 MB, free: 7.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.06929/0.5173, allocations: 22.25 MB / 458.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03666/0.554, allocations: 478.9 kB / 459.2 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02066/0.5747, allocations: 11.18 MB / 470.4 MB, free: 5.496 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01373/0.5885, allocations: 3.402 MB / 473.8 MB, free: 2.082 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006995/0.5955, allocations: 2.383 MB / 476.2 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02198/0.6175, allocations: 15.34 MB / 491.5 MB, free: 340 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02217/0.6398, allocations: 15.22 MB / 0.4949 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01102/0.6508, allocations: 4.53 MB / 0.4993 GB, free: 12.46 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01339/0.6643, allocations: 7.031 MB / 0.5062 GB, free: 5.414 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005254/0.6695, allocations: 0.8984 MB / 0.5071 GB, free: 4.516 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008853/0.6784, allocations: 2.275 MB / 0.5093 GB, free: 2.238 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0105/0.689, allocations: 5.506 MB / 0.5147 GB, free: 12.72 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02299/0.712, allocations: 6.325 MB / 0.5208 GB, free: 6.359 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03349/0.7455, allocations: 22.12 MB / 0.5424 GB, free: 176 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.072e-05/0.7456, allocations: 8 kB / 0.5424 GB, free: 168 kB / 446.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.7456, allocations: 0 / 0.5424 GB, free: 168 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0008718/0.7465, allocations: 0 / 0.5424 GB, free: 168 kB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4012 * Number of variables: 4012 Notification: Performance of Generate backend data structure: time 0.4348/1.181, allocations: 13.98 MB / 0.5561 GB, free: 159.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/1.181, allocations: 7.844 kB / 0.5561 GB, free: 159.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01637/1.198, allocations: 3.053 MB / 0.5591 GB, free: 157.9 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01817/1.216, allocations: 7.053 MB / 0.566 GB, free: 153.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007546/1.217, allocations: 0.7437 MB / 0.5667 GB, free: 153.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007213/1.224, allocations: 1.099 MB / 0.5678 GB, free: 152.6 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07971/1.304, allocations: 33.89 MB / 0.6009 GB, free: 117.6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006206/1.304, allocations: 87.22 kB / 0.601 GB, free: 117.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005369/1.31, allocations: 455.6 kB / 0.6014 GB, free: 117.1 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00656/1.316, allocations: 4.549 MB / 0.6058 GB, free: 112.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06385/1.38, allocations: 31.96 MB / 0.637 GB, free: 80.53 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4217/1.802, allocations: 114.2 MB / 0.7486 GB, free: 88.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04873/1.851, allocations: 18.7 MB / 0.7668 GB, free: 86.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01287/1.864, allocations: 10.02 MB / 0.7766 GB, free: 81.22 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04568/1.909, allocations: 32.25 MB / 0.8081 GB, free: 52.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.347e-05/1.909, allocations: 92.06 kB / 0.8082 GB, free: 52.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=512): time 7.945e-06/1.91, allocations: 0 / 0.8082 GB, free: 52.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=773): time 0.9636/2.873, allocations: 165.8 MB / 0.9701 GB, free: 120.4 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/2.873, allocations: 209.7 kB / 0.9703 GB, free: 120.2 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01611/2.889, allocations: 7.995 MB / 0.9781 GB, free: 112.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002886/2.892, allocations: 145.7 kB / 0.9783 GB, free: 112.1 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005176/2.898, allocations: 6.924 MB / 0.985 GB, free: 105.1 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.005343/2.903, allocations: 2.731 MB / 0.9877 GB, free: 102.4 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01458/2.918, allocations: 3.046 MB / 0.9907 GB, free: 99.38 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.225e-05/2.918, allocations: 301.1 kB / 0.991 GB, free: 99.08 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01708/2.935, allocations: 11.22 MB / 1.002 GB, free: 87.85 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02171/2.956, allocations: 17.78 MB / 1.019 GB, free: 67.02 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0402/2.997, allocations: 30.22 MB / 1.049 GB, free: 33.67 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002824/2.997, allocations: 67.38 kB / 1.049 GB, free: 33.61 MB / 478.1 MB Notification: Performance of matching and sorting (n=1941) (initialization): time 0.3253/3.322, allocations: 29.52 MB / 1.078 GB, free: 149.9 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001776/3.323, allocations: 97.66 kB / 1.078 GB, free: 149.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004523/3.323, allocations: 219.2 kB / 1.078 GB, free: 149.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004255/3.323, allocations: 314.9 kB / 1.078 GB, free: 149.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02352/3.347, allocations: 4.587 MB / 1.083 GB, free: 149.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009543/3.348, allocations: 458.8 kB / 1.083 GB, free: 149.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01674/3.365, allocations: 1.171 MB / 1.084 GB, free: 149.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005289/3.37, allocations: 0.75 MB / 1.085 GB, free: 149.1 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1004 * Number of states: 0 () * Number of discrete variables: 102 (body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],body3.cylinderColor[3],body3.cylinderColor[2],body3.cylinderColor[1],rod4.color[3],rod4.color[2],rod4.color[1],jointRRR3.rodColor[3],jointRRR3.rodColor[2],jointRRR3.rodColor[1],jointRRR3.cylinderColor[3],jointRRR3.cylinderColor[2],jointRRR3.cylinderColor[1],jointRRR3.jointUSR.rod1Color[3],jointRRR3.jointUSR.rod1Color[2],jointRRR3.jointUSR.rod1Color[1],jointRRR3.jointUSR.cylinderColor[3],jointRRR3.jointUSR.cylinderColor[2],jointRRR3.jointUSR.cylinderColor[1],jointRRR3.jointUSR.sphereColor[3],jointRRR3.jointUSR.sphereColor[2],jointRRR3.jointUSR.sphereColor[1],jointRRR3.jointUSR.revoluteColor[3],jointRRR3.jointUSR.revoluteColor[2],jointRRR3.jointUSR.revoluteColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body2.cylinderColor[3],body2.cylinderColor[2],body2.cylinderColor[1],rod3.color[3],rod3.color[2],rod3.color[1],jointRRR2.rodColor[3],jointRRR2.rodColor[2],jointRRR2.rodColor[1],jointRRR2.cylinderColor[3],jointRRR2.cylinderColor[2],jointRRR2.cylinderColor[1],jointRRR2.jointUSR.rod1Color[3],jointRRR2.jointUSR.rod1Color[2],jointRRR2.jointUSR.rod1Color[1],jointRRR2.jointUSR.cylinderColor[3],jointRRR2.jointUSR.cylinderColor[2],jointRRR2.jointUSR.cylinderColor[1],jointRRR2.jointUSR.sphereColor[3],jointRRR2.jointUSR.sphereColor[2],jointRRR2.jointUSR.sphereColor[1],jointRRR2.jointUSR.revoluteColor[3],jointRRR2.jointUSR.revoluteColor[2],jointRRR2.jointUSR.revoluteColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body1.cylinderColor[3],body1.cylinderColor[2],body1.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],jointRRR1.rodColor[3],jointRRR1.rodColor[2],jointRRR1.rodColor[1],jointRRR1.cylinderColor[3],jointRRR1.cylinderColor[2],jointRRR1.cylinderColor[1],jointRRR3.jointUSR.revolute.positiveBranch,jointRRR2.jointUSR.revolute.positiveBranch,jointRRR1.jointUSR.revolute.positiveBranch,jointRRR1.jointUSR.rod1Color[3],jointRRR1.jointUSR.rod1Color[2],jointRRR1.jointUSR.rod1Color[1],jointRRR1.jointUSR.cylinderColor[3],jointRRR1.jointUSR.cylinderColor[2],jointRRR1.jointUSR.cylinderColor[1],jointRRR1.jointUSR.sphereColor[3],jointRRR1.jointUSR.sphereColor[2],jointRRR1.jointUSR.sphereColor[1],jointRRR1.jointUSR.revoluteColor[3],jointRRR1.jointUSR.revoluteColor[2],jointRRR1.jointUSR.revoluteColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1905): * Single equations (assignments): 1896 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0184/3.389, allocations: 5.496 MB / 1.09 GB, free: 146.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005784/3.394, allocations: 0.8082 MB / 1.091 GB, free: 146.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0438/3.438, allocations: 21.35 MB / 1.112 GB, free: 128.7 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.082e-05/3.438, allocations: 76 kB / 1.112 GB, free: 128.6 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-05/3.438, allocations: 4 kB / 1.112 GB, free: 128.6 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001936/3.439, allocations: 33.19 kB / 1.112 GB, free: 128.6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09431/3.533, allocations: 45.93 MB / 1.157 GB, free: 82.74 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.984e-05/3.533, allocations: 8 kB / 1.157 GB, free: 82.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01559/3.549, allocations: 2.506 MB / 1.16 GB, free: 80.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001443/3.549, allocations: 28 kB / 1.16 GB, free: 80.2 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00284/3.552, allocations: 140 kB / 1.16 GB, free: 80.06 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001057/3.552, allocations: 36.62 kB / 1.16 GB, free: 80.03 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/3.552, allocations: 13.12 kB / 1.16 GB, free: 80.02 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05814/3.61, allocations: 35.75 MB / 1.195 GB, free: 44.49 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.009087/3.619, allocations: 2.894 MB / 1.197 GB, free: 41.57 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006741/3.626, allocations: 128 kB / 1.198 GB, free: 41.44 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01134/3.637, allocations: 0.7757 MB / 1.198 GB, free: 40.67 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003535/3.641, allocations: 432.4 kB / 1.199 GB, free: 40.25 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002612/3.643, allocations: 188 kB / 1.199 GB, free: 40.07 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.01219/3.656, allocations: 5.003 MB / 1.204 GB, free: 35.11 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.294e-06/3.656, allocations: 0 / 1.204 GB, free: 35.11 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.02147/3.677, allocations: 3.285 MB / 1.207 GB, free: 31.84 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (rev.phi,rev.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 (757): * Single equations (assignments): 754 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003923/3.681, allocations: 435.2 kB / 1.207 GB, free: 31.43 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.2451/3.926, allocations: 25.02 MB / 1.232 GB, free: 154.8 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.642e-05/3.926, allocations: 0 / 1.232 GB, free: 154.8 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01896/3.945, allocations: 10.66 MB / 1.242 GB, free: 150.1 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01469/3.96, allocations: 0.9621 MB / 1.243 GB, free: 149.6 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06912/4.029, allocations: 40.25 MB / 1.283 GB, free: 124.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01148/4.041, allocations: 8.103 MB / 1.29 GB, free: 118.6 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.01765/4.058, allocations: 5.256 MB / 1.296 GB, free: 113.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006486/4.065, allocations: 0.6204 MB / 1.296 GB, free: 113.1 MB / 478.1 MB Notification: Performance of SimCode: time 7.92e-07/4.065, allocations: 0 / 1.296 GB, free: 113.1 MB / 478.1 MB Notification: Performance of Templates: time 0.3738/4.439, allocations: 132.1 MB / 1.425 GB, free: 138.6 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe 2>&1)