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.001661/0.001661, allocations: 93.2 kB / 16.3 MB, free: 6.133 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.001889/0.001889, allocations: 178.8 kB / 17.2 MB, free: 6.016 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.542/1.542, allocations: 205.4 MB / 223.3 MB, free: 13.18 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.0004813/0.0004816, allocations: 16 kB / 280.1 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.117, allocations: 47.58 MB / 327.7 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic): time 0.2944/0.4114, allocations: 94.6 MB / 422.3 MB, free: 3.289 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.06201/0.4735, allocations: 22.23 MB / 444.5 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02953/0.5031, allocations: 478.9 kB / 445 MB, free: 196 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02182/0.525, allocations: 4.704 MB / 449.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05597/0.581, allocations: 12.9 MB / 462.6 MB, free: 14.53 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01076/0.5918, allocations: 2.048 MB / 464.7 MB, free: 12.48 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01387/0.6057, allocations: 5.493 MB / 470.1 MB, free: 6.977 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02896/0.6347, allocations: 18.27 MB / 488.4 MB, free: 4.602 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007882/0.6426, allocations: 2.983 MB / 491.4 MB, free: 1.609 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01042/0.6531, allocations: 3.899 MB / 495.3 MB, free: 13.7 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003834/0.657, allocations: 468 kB / 495.8 MB, free: 13.24 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006376/0.6634, allocations: 1.533 MB / 497.3 MB, free: 11.71 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009857/0.6733, allocations: 4.388 MB / 0.4899 GB, free: 7.309 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007998/0.6814, allocations: 2.311 MB / 0.4922 GB, free: 4.984 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02686/0.7083, allocations: 18.47 MB / 0.5102 GB, free: 2.465 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.7084, allocations: 0 / 0.5102 GB, free: 2.465 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.7084, allocations: 4 kB / 0.5102 GB, free: 2.461 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0009851/0.7094, allocations: 0 / 0.5102 GB, free: 2.461 MB / 414.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.0391/0.7485, allocations: 12.28 MB / 0.5222 GB, free: 6.086 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.242e-05/0.7486, allocations: 12.03 kB / 0.5222 GB, free: 6.074 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01938/0.768, allocations: 3.729 MB / 0.5259 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02317/0.7912, allocations: 7.833 MB / 0.5335 GB, free: 10.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009649/0.7922, allocations: 0.7417 MB / 0.5342 GB, free: 9.672 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006028/0.7982, allocations: 1.105 MB / 0.5353 GB, free: 8.566 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4513/1.25, allocations: 34.79 MB / 0.5693 GB, free: 138.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003569/1.25, allocations: 88.02 kB / 0.5694 GB, free: 138.9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002999/1.253, allocations: 452 kB / 0.5698 GB, free: 138.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006714/1.26, allocations: 4.549 MB / 0.5742 GB, free: 136.9 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06829/1.328, allocations: 32.92 MB / 0.6064 GB, free: 105.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4221/1.75, allocations: 114 MB / 0.7178 GB, free: 82.13 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05431/1.804, allocations: 18.69 MB / 0.736 GB, free: 81.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05575/1.86, allocations: 32.72 MB / 0.768 GB, free: 64.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001037/1.86, allocations: 93.48 kB / 0.7681 GB, free: 64.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=489): time 1.064e-05/1.86, allocations: 0 / 0.7681 GB, free: 64.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=726): time 0.9001/2.761, allocations: 171.6 MB / 0.9357 GB, free: 175.6 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001701/2.761, allocations: 204.7 kB / 0.9359 GB, free: 175.4 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01547/2.776, allocations: 8.381 MB / 0.944 GB, free: 172.5 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.002163/2.778, allocations: 136.9 kB / 0.9442 GB, free: 172.3 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003973/2.782, allocations: 7.061 MB / 0.9511 GB, free: 167 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.003552/2.786, allocations: 2.579 MB / 0.9536 GB, free: 165 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001501/2.787, allocations: 287.3 kB / 0.9539 GB, free: 164.8 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0005483/2.788, allocations: 0.9061 MB / 0.9547 GB, free: 164.2 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01346/2.802, allocations: 10.53 MB / 0.965 GB, free: 159.9 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01869/2.82, allocations: 17.09 MB / 0.9817 GB, free: 142.2 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01842/2.839, allocations: 13.21 MB / 0.9946 GB, free: 130 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001963/2.839, allocations: 70.42 kB / 0.9947 GB, free: 129.9 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1865) (initialization): time 0.04423/2.883, allocations: 28.07 MB / 1.022 GB, free: 101.8 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001482/2.883, allocations: 104 kB / 1.022 GB, free: 101.7 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002786/2.884, allocations: 224 kB / 1.022 GB, free: 101.5 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002641/2.884, allocations: 344 kB / 1.023 GB, free: 101.2 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02025/2.904, allocations: 4.472 MB / 1.027 GB, free: 96.68 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003762/2.905, allocations: 458.2 kB / 1.028 GB, free: 96.23 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01442/2.919, allocations: 1.143 MB / 1.029 GB, free: 95.08 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003631/2.923, allocations: 0.7382 MB / 1.029 GB, free: 94.34 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1021 * 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],jointRRR1.jointUSR.revolute.positiveBranch,jointRRR2.jointUSR.revolute.positiveBranch,jointRRR3.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 (1835): * Single equations (assignments): 1829 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01641/2.939, allocations: 5.452 MB / 1.035 GB, free: 88.88 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003686/2.943, allocations: 0.8022 MB / 1.035 GB, free: 88.07 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03563/2.979, allocations: 19.92 MB / 1.055 GB, free: 68.07 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.639e-05/2.979, allocations: 75.94 kB / 1.055 GB, free: 68 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.123e-05/2.979, allocations: 0 / 1.055 GB, free: 68 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001523/2.979, allocations: 35.86 kB / 1.055 GB, free: 67.96 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3325/3.311, allocations: 43.03 MB / 1.097 GB, free: 174 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.269e-05/3.311, allocations: 5.094 kB / 1.097 GB, free: 174 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01449/3.326, allocations: 2.413 MB / 1.099 GB, free: 173.9 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.547e-05/3.326, allocations: 30.25 kB / 1.099 GB, free: 173.9 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001503/3.328, allocations: 131 kB / 1.1 GB, free: 173.8 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-05/3.328, allocations: 32.94 kB / 1.1 GB, free: 173.8 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/3.328, allocations: 5.5 kB / 1.1 GB, free: 173.8 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0419/3.369, allocations: 34.42 MB / 1.133 GB, free: 157.3 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007539/3.377, allocations: 2.741 MB / 1.136 GB, free: 156.3 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002256/3.379, allocations: 127.2 kB / 1.136 GB, free: 156.2 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00727/3.387, allocations: 0.7396 MB / 1.137 GB, free: 156.1 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001194/3.388, allocations: 396.8 kB / 1.137 GB, free: 156 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006422/3.388, allocations: 182.3 kB / 1.137 GB, free: 156 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.00718/3.396, allocations: 5.288 MB / 1.142 GB, free: 154.2 MB / 0.4982 GB Notification: Performance of sort global known variables: time 1.8e-07/3.396, allocations: 3.938 kB / 1.142 GB, free: 154.2 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01282/3.409, allocations: 3.181 MB / 1.146 GB, free: 153.4 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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 (710): * Single equations (assignments): 707 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002274/3.411, allocations: 422.3 kB / 1.146 GB, free: 153.1 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.03396/3.445, allocations: 23.56 MB / 1.169 GB, free: 132.1 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.367e-05/3.445, allocations: 0 / 1.169 GB, free: 132.1 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.01331/3.458, allocations: 9.979 MB / 1.179 GB, free: 123.1 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00537/3.464, allocations: 0.8549 MB / 1.18 GB, free: 122.4 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05657/3.52, allocations: 37.65 MB / 1.216 GB, free: 85.67 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01389/3.534, allocations: 8.279 MB / 1.224 GB, free: 77.35 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.01797/3.552, allocations: 5.063 MB / 1.229 GB, free: 72.28 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007464/3.56, allocations: 0.6048 MB / 1.23 GB, free: 71.67 MB / 0.4982 GB Notification: Performance of SimCode: time 1.362e-06/3.56, allocations: 0 / 1.23 GB, free: 71.67 MB / 0.4982 GB Notification: Performance of Templates: time 0.3759/3.936, allocations: 124 MB / 1.351 GB, free: 120.7 MB / 0.4982 GB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: