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.001112/0.001112, allocations: 169.8 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.327/1.327, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001583/0.001583, allocations: 118.8 kB / 223.2 MB, free: 4.043 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.458e-05/2.46e-05, allocations: 4 kB / 268.9 MB, free: 20.91 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07218/0.07222, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3201/0.3924, allocations: 95.94 MB / 403.6 MB, free: 12.58 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/0.3927, allocations: 84.08 kB / 403.7 MB, free: 12.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9968/1.39, allocations: 234 MB / 0.6227 GB, free: 21.71 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.154e-06/1.39, allocations: 0 / 0.6227 GB, free: 21.71 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.00113/1.391, allocations: 230.9 kB / 0.623 GB, free: 21.71 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.04996/1.441, allocations: 12.3 MB / 0.635 GB, free: 17.71 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/1.441, allocations: 6.969 kB / 0.635 GB, free: 17.71 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02368/1.464, allocations: 3.983 MB / 0.6389 GB, free: 16.94 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03279/1.497, allocations: 12.18 MB / 0.6508 GB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001045/1.498, allocations: 0.8848 MB / 0.6516 GB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008714/1.507, allocations: 1.184 MB / 0.6528 GB, free: 15.6 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08057/1.588, allocations: 33.52 MB / 0.6855 GB, free: 3.188 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004953/1.588, allocations: 94.06 kB / 0.6856 GB, free: 3.145 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004783/1.593, allocations: 0.5325 MB / 0.6861 GB, free: 2.668 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003226/1.596, allocations: 2.585 MB / 0.6886 GB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09643/1.693, allocations: 32.31 MB / 0.7202 GB, free: 9.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4621/2.155, allocations: 120.4 MB / 0.8377 GB, free: 13.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04606/2.201, allocations: 17.26 MB / 0.8546 GB, free: 9.426 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01141/2.213, allocations: 8.726 MB / 0.8631 GB, free: 5.242 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.344/2.557, allocations: 31.71 MB / 0.8941 GB, free: 99.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001491/2.557, allocations: 86.7 kB / 0.8941 GB, free: 99.53 MB / 426.7 MB Notification: Performance of pre-optimization done (n=489): time 9.538e-06/2.557, allocations: 2.562 kB / 0.8942 GB, free: 99.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=726): time 0.3829/2.94, allocations: 122.2 MB / 1.014 GB, free: 57.86 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.158e-05/2.94, allocations: 200.8 kB / 1.014 GB, free: 57.63 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01037/2.95, allocations: 6.912 MB / 1.02 GB, free: 51.65 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002296/2.953, allocations: 141.2 kB / 1.021 GB, free: 51.51 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003798/2.956, allocations: 7.076 MB / 1.027 GB, free: 44.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0036/2.96, allocations: 2.579 MB / 1.03 GB, free: 42.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001297/2.961, allocations: 294.7 kB / 1.03 GB, free: 42.12 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005662/2.962, allocations: 0.9059 MB / 1.031 GB, free: 41.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2559/3.218, allocations: 10.08 MB / 1.041 GB, free: 93.65 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02038/3.238, allocations: 16.7 MB / 1.057 GB, free: 85.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0196/3.258, allocations: 12.87 MB / 1.07 GB, free: 85.28 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002667/3.258, allocations: 64.75 kB / 1.07 GB, free: 85.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=1875) (initialization): time 0.04516/3.303, allocations: 27.24 MB / 1.097 GB, free: 78.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001756/3.304, allocations: 103.4 kB / 1.097 GB, free: 78.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002909/3.304, allocations: 229.2 kB / 1.097 GB, free: 78.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002825/3.304, allocations: 346.3 kB / 1.097 GB, free: 78.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0196/3.324, allocations: 4.259 MB / 1.101 GB, free: 78.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004543/3.324, allocations: 462.6 kB / 1.102 GB, free: 78.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01462/3.339, allocations: 1.224 MB / 1.103 GB, free: 77.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003237/3.342, allocations: 0.7442 MB / 1.104 GB, free: 77.77 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1031 * 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 (1845): * Single equations (assignments): 1839 * 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.003362/3.346, allocations: 1.134 MB / 1.105 GB, free: 76.97 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002103/3.348, allocations: 0.8007 MB / 1.106 GB, free: 76.97 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02688/3.375, allocations: 19.39 MB / 1.125 GB, free: 68.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.498e-05/3.375, allocations: 72.55 kB / 1.125 GB, free: 68.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-05/3.375, allocations: 2.312 kB / 1.125 GB, free: 68.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.942e-05/3.375, allocations: 31.17 kB / 1.125 GB, free: 68.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06705/3.442, allocations: 42.33 MB / 1.166 GB, free: 32.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.934e-05/3.442, allocations: 7.938 kB / 1.166 GB, free: 32.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0127/3.455, allocations: 2.148 MB / 1.168 GB, free: 31.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000107/3.455, allocations: 32 kB / 1.168 GB, free: 31.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001641/3.456, allocations: 127.2 kB / 1.168 GB, free: 31.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.14e-05/3.456, allocations: 31.94 kB / 1.168 GB, free: 31.09 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/3.456, allocations: 8 kB / 1.168 GB, free: 31.08 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3045/3.761, allocations: 35.44 MB / 1.203 GB, free: 83.74 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007476/3.768, allocations: 2.71 MB / 1.206 GB, free: 83.64 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002268/3.771, allocations: 122 kB / 1.206 GB, free: 83.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008288/3.779, allocations: 0.7612 MB / 1.206 GB, free: 83.64 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002481/3.782, allocations: 392.5 kB / 1.207 GB, free: 83.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009266/3.783, allocations: 181.7 kB / 1.207 GB, free: 83.64 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008745/3.791, allocations: 4.783 MB / 1.212 GB, free: 83.35 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.7e-07/3.791, allocations: 3.281 kB / 1.212 GB, free: 83.35 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01481/3.806, allocations: 3.166 MB / 1.215 GB, free: 83.35 MB / 426.7 MB 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 () * 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.002473/3.809, allocations: 415.2 kB / 1.215 GB, free: 83.26 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.03284/3.841, allocations: 22.91 MB / 1.237 GB, free: 78.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.425e-05/3.842, allocations: 3.25 kB / 1.237 GB, free: 78.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01343/3.855, allocations: 9.723 MB / 1.247 GB, free: 74.55 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007482/3.862, allocations: 0.8509 MB / 1.248 GB, free: 74.15 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05625/3.919, allocations: 28.79 MB / 1.276 GB, free: 60.44 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01312/3.932, allocations: 8.27 MB / 1.284 GB, free: 54.42 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01662/3.949, allocations: 5.061 MB / 1.289 GB, free: 51.22 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006461/3.955, allocations: 0.6016 MB / 1.29 GB, free: 50.64 MB / 426.7 MB Notification: Performance of SimCode: time 1.412e-06/3.955, allocations: 0 / 1.29 GB, free: 50.64 MB / 426.7 MB Notification: Performance of Templates: time 0.46/4.415, allocations: 122.3 MB / 1.409 GB, free: 62.5 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)