Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_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.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001954/0.001954, allocations: 164.5 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.415/1.415, allocations: 170.7 MB / 178.7 MB, free: 15.57 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001534/0.001534, allocations: 103.5 kB / 218 MB, free: 8.336 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.407e-05/1.409e-05, allocations: 4 kB / 262.2 MB, free: 26.38 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07235/0.07238, allocations: 38.78 MB / 301 MB, free: 3.613 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3214/0.3938, allocations: 95.27 MB / 396.3 MB, free: 5.371 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/0.3941, allocations: 84.14 kB / 396.3 MB, free: 5.328 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9381/1.332, allocations: 228.6 MB / 0.6103 GB, free: 22.93 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.194e-06/1.332, allocations: 0 / 0.6103 GB, free: 22.93 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0006394/1.333, allocations: 236.1 kB / 0.6105 GB, free: 22.93 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4009 * Number of variables: 4009 Notification: Performance of Generate backend data structure: time 0.04831/1.381, allocations: 12.29 MB / 0.6225 GB, free: 19 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/1.381, allocations: 7.125 kB / 0.6225 GB, free: 19 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0242/1.405, allocations: 3.989 MB / 0.6264 GB, free: 18.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03253/1.438, allocations: 12.18 MB / 0.6383 GB, free: 16.99 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007605/1.439, allocations: 386.5 kB / 0.6387 GB, free: 16.99 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006468/1.445, allocations: 0.6971 MB / 0.6394 GB, free: 16.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03829/1.484, allocations: 21.49 MB / 0.6603 GB, free: 16.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06411/1.548, allocations: 26.42 MB / 0.6861 GB, free: 1.852 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000567/1.548, allocations: 99.94 kB / 0.6862 GB, free: 1.805 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007737/1.556, allocations: 55.94 kB / 0.6863 GB, free: 1.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005969/1.562, allocations: 2.752 MB / 0.689 GB, free: 0 / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4632/2.025, allocations: 117.2 MB / 0.8035 GB, free: 24.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01365/2.039, allocations: 10.49 MB / 0.8137 GB, free: 24.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00995/2.049, allocations: 8.504 MB / 0.822 GB, free: 22.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04917/2.098, allocations: 30.89 MB / 0.8522 GB, free: 4.855 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001092/2.099, allocations: 88.02 kB / 0.8523 GB, free: 4.777 MB / 410.7 MB Notification: Performance of pre-optimization done (n=483): time 1.221e-05/2.099, allocations: 2.938 kB / 0.8523 GB, free: 4.777 MB / 410.7 MB Notification: Performance of matching and sorting (n=708): time 0.555/2.654, allocations: 114.8 MB / 0.9644 GB, free: 88.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.377e-05/2.654, allocations: 200.5 kB / 0.9646 GB, free: 88.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009685/2.663, allocations: 6.081 MB / 0.9705 GB, free: 86.41 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00244/2.666, allocations: 26.36 kB / 0.9706 GB, free: 86.38 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005305/2.671, allocations: 7.207 MB / 0.9776 GB, free: 81.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003996/2.675, allocations: 2.422 MB / 0.98 GB, free: 79.17 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002298/2.677, allocations: 0 / 0.98 GB, free: 79.17 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0009359/2.678, allocations: 0.9189 MB / 0.9809 GB, free: 78.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01434/2.693, allocations: 9.701 MB / 0.9903 GB, free: 73.81 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02026/2.713, allocations: 16.53 MB / 1.006 GB, free: 55.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02174/2.735, allocations: 12.92 MB / 1.019 GB, free: 44.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003435/2.735, allocations: 72 kB / 1.019 GB, free: 44.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=1887) (initialization): time 0.2962/3.031, allocations: 25.81 MB / 1.044 GB, free: 81.05 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000174/3.032, allocations: 105.5 kB / 1.044 GB, free: 81.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004118/3.032, allocations: 239.4 kB / 1.045 GB, free: 81.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004589/3.032, allocations: 361.2 kB / 1.045 GB, free: 81.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01966/3.052, allocations: 4.3 MB / 1.049 GB, free: 81.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004968/3.053, allocations: 483 kB / 1.05 GB, free: 81.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01577/3.068, allocations: 0.9493 MB / 1.051 GB, free: 81.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003912/3.072, allocations: 0.7674 MB / 1.051 GB, free: 81.05 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1086 * Number of states: 0 () * Number of discrete variables: 99 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1857): * Single equations (assignments): 1851 * 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.003958/3.076, allocations: 0.7751 MB / 1.052 GB, free: 80.69 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001961/3.078, allocations: 0.7458 MB / 1.053 GB, free: 80.69 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02775/3.106, allocations: 18.51 MB / 1.071 GB, free: 80.38 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.298e-05/3.106, allocations: 67.72 kB / 1.071 GB, free: 80.38 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.283e-05/3.106, allocations: 7.094 kB / 1.071 GB, free: 80.38 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001403/3.106, allocations: 34.41 kB / 1.071 GB, free: 80.38 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07425/3.181, allocations: 38.47 MB / 1.109 GB, free: 67.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-05/3.181, allocations: 0 / 1.109 GB, free: 67.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01559/3.196, allocations: 2.117 MB / 1.111 GB, free: 67.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000109/3.197, allocations: 23.03 kB / 1.111 GB, free: 67.61 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001888/3.198, allocations: 17.77 kB / 1.111 GB, free: 67.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.112e-05/3.199, allocations: 24.12 kB / 1.111 GB, free: 67.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/3.199, allocations: 13.81 kB / 1.111 GB, free: 67.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03877/3.237, allocations: 31.9 MB / 1.142 GB, free: 47.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007047/3.244, allocations: 2.622 MB / 1.144 GB, free: 45.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003431/3.248, allocations: 4 kB / 1.144 GB, free: 45.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00902/3.257, allocations: 0.6512 MB / 1.145 GB, free: 44.95 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002826/3.26, allocations: 369.3 kB / 1.145 GB, free: 44.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001548/3.261, allocations: 171.6 kB / 1.146 GB, free: 44.56 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008517/3.27, allocations: 4.051 MB / 1.15 GB, free: 41.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.9e-07/3.27, allocations: 3.25 kB / 1.15 GB, free: 41.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01704/3.287, allocations: 2.748 MB / 1.152 GB, free: 38.35 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (692): * Single equations (assignments): 689 * 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.002259/3.289, allocations: 292.1 kB / 1.153 GB, free: 38.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.03262/3.322, allocations: 22.06 MB / 1.174 GB, free: 17.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/3.322, allocations: 0 / 1.174 GB, free: 17.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2605/3.582, allocations: 10.84 MB / 1.185 GB, free: 84.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005754/3.588, allocations: 0.6224 MB / 1.185 GB, free: 84.35 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05592/3.644, allocations: 28.12 MB / 1.213 GB, free: 80.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01227/3.657, allocations: 8.236 MB / 1.221 GB, free: 79.58 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01759/3.674, allocations: 5.141 MB / 1.226 GB, free: 79.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006093/3.68, allocations: 0.5765 MB / 1.226 GB, free: 79.49 MB / 426.7 MB Notification: Performance of SimCode: time 1.282e-06/3.68, allocations: 0 / 1.226 GB, free: 79.49 MB / 426.7 MB Notification: Performance of Templates: time 0.4379/4.118, allocations: 108.1 MB / 1.332 GB, free: 87.32 MB / 426.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe 2>&1)