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.001369/0.00137, allocations: 114.7 kB / 16.63 MB, free: 6.332 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.001275/0.001276, allocations: 187.2 kB / 17.55 MB, free: 5.805 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.427/1.427, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.001424/0.001424, allocations: 47.92 kB / 279.5 MB, free: 3.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1037, allocations: 46.62 MB / 326.1 MB, free: 4.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic): time 0.2769/0.3806, allocations: 110.6 MB / 436.7 MB, free: 7.102 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.06002/0.4407, allocations: 22.11 MB / 458.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03137/0.4721, allocations: 482.9 kB / 459.3 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01968/0.4919, allocations: 10.75 MB / 470 MB, free: 5.949 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01354/0.5054, allocations: 3.351 MB / 473.4 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007901/0.5134, allocations: 2.447 MB / 475.8 MB, free: 140 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01664/0.5301, allocations: 10.38 MB / 486.2 MB, free: 5.738 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02387/0.554, allocations: 16.58 MB / 0.491 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01169/0.5658, allocations: 5.349 MB / 0.4962 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01233/0.5781, allocations: 7.418 MB / 0.5035 GB, free: 8.266 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00554/0.5837, allocations: 1.434 MB / 0.5049 GB, free: 6.832 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008596/0.5924, allocations: 2.744 MB / 0.5075 GB, free: 4.086 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00989/0.6023, allocations: 6.049 MB / 0.5135 GB, free: 14.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01507/0.6174, allocations: 6.899 MB / 0.5202 GB, free: 7.09 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02858/0.646, allocations: 22.61 MB / 0.5423 GB, free: 420 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.6461, allocations: 0 / 0.5423 GB, free: 420 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6461, allocations: 0 / 0.5423 GB, free: 420 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.00087/0.647, allocations: 0 / 0.5423 GB, free: 420 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.3558/1.003, allocations: 13.98 MB / 0.5559 GB, free: 159.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/1.003, allocations: 9.531 kB / 0.5559 GB, free: 159.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01496/1.018, allocations: 3.051 MB / 0.5589 GB, free: 157.9 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01986/1.038, allocations: 7.057 MB / 0.5658 GB, free: 153.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008691/1.039, allocations: 0.7413 MB / 0.5665 GB, free: 153.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006043/1.045, allocations: 1.097 MB / 0.5676 GB, free: 152.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0807/1.125, allocations: 33.89 MB / 0.6007 GB, free: 117.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007428/1.126, allocations: 83.2 kB / 0.6008 GB, free: 117.6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00586/1.132, allocations: 459.6 kB / 0.6012 GB, free: 117.1 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006911/1.139, allocations: 4.553 MB / 0.6057 GB, free: 112.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06801/1.207, allocations: 31.95 MB / 0.6369 GB, free: 80.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4075/1.615, allocations: 114.2 MB / 0.7484 GB, free: 88.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05101/1.666, allocations: 18.71 MB / 0.7667 GB, free: 86.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01237/1.678, allocations: 10.01 MB / 0.7764 GB, free: 81.19 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05488/1.733, allocations: 32.25 MB / 0.8079 GB, free: 52.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001553/1.733, allocations: 92.22 kB / 0.808 GB, free: 52.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=512): time 2.187e-05/1.733, allocations: 0 / 0.808 GB, free: 52.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=773): time 0.8066/2.54, allocations: 165.9 MB / 0.97 GB, free: 120.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.216e-05/2.54, allocations: 210.1 kB / 0.9702 GB, free: 120.2 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01086/2.551, allocations: 7.987 MB / 0.978 GB, free: 112.3 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002779/2.554, allocations: 149.5 kB / 0.9782 GB, free: 112.2 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00377/2.558, allocations: 6.932 MB / 0.9849 GB, free: 105.2 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00459/2.562, allocations: 2.726 MB / 0.9876 GB, free: 102.5 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005859/2.568, allocations: 3.046 MB / 0.9906 GB, free: 99.46 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 6.011e-05/2.568, allocations: 305.1 kB / 0.9909 GB, free: 99.16 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01386/2.582, allocations: 11.22 MB / 1.002 GB, free: 87.94 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01964/2.602, allocations: 17.78 MB / 1.019 GB, free: 67.11 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03577/2.637, allocations: 30.23 MB / 1.049 GB, free: 33.75 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002624/2.638, allocations: 60 kB / 1.049 GB, free: 33.69 MB / 478.1 MB Notification: Performance of matching and sorting (n=1941) (initialization): time 0.2869/2.925, allocations: 29.51 MB / 1.078 GB, free: 148.6 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004885/2.925, allocations: 98.88 kB / 1.078 GB, free: 148.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009116/2.926, allocations: 228.1 kB / 1.078 GB, free: 148.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/2.927, allocations: 315.6 kB / 1.078 GB, free: 148.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02397/2.951, allocations: 4.585 MB / 1.083 GB, free: 148.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/2.953, allocations: 451 kB / 1.083 GB, free: 148.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.017/2.97, allocations: 1.181 MB / 1.084 GB, free: 147.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004575/2.974, allocations: 0.7404 MB / 1.085 GB, free: 147.8 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.01729/2.991, allocations: 5.504 MB / 1.09 GB, free: 145.2 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005305/2.997, allocations: 0.8048 MB / 1.091 GB, free: 145.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03987/3.037, allocations: 21.34 MB / 1.112 GB, free: 128.2 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.546e-05/3.037, allocations: 82.77 kB / 1.112 GB, free: 128.1 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.331e-05/3.037, allocations: 4 kB / 1.112 GB, free: 128.1 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002147/3.037, allocations: 33.8 kB / 1.112 GB, free: 128.1 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08482/3.122, allocations: 45.93 MB / 1.157 GB, free: 82.53 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.92e-05/3.122, allocations: 8 kB / 1.157 GB, free: 82.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01458/3.137, allocations: 2.507 MB / 1.159 GB, free: 80.01 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001144/3.137, allocations: 33.34 kB / 1.159 GB, free: 79.98 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002183/3.139, allocations: 144 kB / 1.16 GB, free: 79.84 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.365e-05/3.139, allocations: 35.88 kB / 1.16 GB, free: 79.81 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/3.139, allocations: 11.94 kB / 1.16 GB, free: 79.8 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04554/3.185, allocations: 35.75 MB / 1.195 GB, free: 44.25 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008092/3.193, allocations: 2.888 MB / 1.197 GB, free: 41.33 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003974/3.197, allocations: 128 kB / 1.197 GB, free: 41.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009291/3.206, allocations: 0.78 MB / 1.198 GB, free: 40.42 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002579/3.209, allocations: 420.6 kB / 1.199 GB, free: 40.01 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009971/3.21, allocations: 191.7 kB / 1.199 GB, free: 39.83 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00865/3.218, allocations: 5.01 MB / 1.204 GB, free: 34.86 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.264e-06/3.218, allocations: 3.844 kB / 1.204 GB, free: 34.86 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0187/3.237, allocations: 3.284 MB / 1.207 GB, free: 31.59 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.003056/3.24, allocations: 437 kB / 1.207 GB, free: 31.18 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.3141/3.554, allocations: 54.42 MB / 1.26 GB, free: 146.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.312e-05/3.554, allocations: 4 kB / 1.26 GB, free: 146.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01735/3.572, allocations: 10.65 MB / 1.271 GB, free: 137.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01139/3.583, allocations: 1.012 MB / 1.272 GB, free: 136.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06158/3.645, allocations: 40.25 MB / 1.311 GB, free: 99.85 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008441/3.653, allocations: 8.105 MB / 1.319 GB, free: 91.97 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.01567/3.669, allocations: 5.261 MB / 1.324 GB, free: 86.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005773/3.675, allocations: 0.6126 MB / 1.325 GB, free: 86.09 MB / 478.1 MB Notification: Performance of SimCode: time 1.031e-06/3.675, allocations: 3.938 kB / 1.325 GB, free: 86.08 MB / 478.1 MB Notification: Performance of Templates: time 0.4929/4.168, allocations: 137.1 MB / 1.459 GB, free: 102.5 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)