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.009946/0.009946, allocations: 165.4 kB / 15.11 MB, free: 5.582 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.369/1.369, allocations: 170.8 MB / 186.6 MB, free: 1.031 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.001699/0.0017, allocations: 103.3 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003458, allocations: 8 kB / 274.1 MB, free: 10.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2361, allocations: 38.76 MB / 312.9 MB, free: 38.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1286/0.3648, allocations: 96.03 MB / 408.9 MB, free: 10.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/0.365, allocations: 91.95 kB / 409 MB, free: 10.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9441/1.309, allocations: 233.8 MB / 0.6278 GB, free: 29.37 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.937e-06/1.309, allocations: 0 / 0.6278 GB, free: 29.37 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.001173/1.31, allocations: 234.6 kB / 0.628 GB, free: 29.36 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.05737/1.368, allocations: 13.01 MB / 0.6407 GB, free: 20.28 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.223e-05/1.368, allocations: 8.031 kB / 0.6407 GB, free: 20.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02556/1.393, allocations: 3.993 MB / 0.6446 GB, free: 16.26 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03828/1.432, allocations: 12.22 MB / 0.6566 GB, free: 4.277 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001135/1.433, allocations: 0.8846 MB / 0.6574 GB, free: 3.445 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009441/1.442, allocations: 1.182 MB / 0.6586 GB, free: 2.32 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3897/1.832, allocations: 33.81 MB / 0.6916 GB, free: 32.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008356/1.833, allocations: 96.41 kB / 0.6917 GB, free: 32.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008422/1.842, allocations: 0.535 MB / 0.6922 GB, free: 32.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006006/1.848, allocations: 2.584 MB / 0.6947 GB, free: 32.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1021/1.95, allocations: 31.05 MB / 0.7251 GB, free: 30.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.536/2.486, allocations: 120.4 MB / 0.8426 GB, free: 30.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04878/2.535, allocations: 17.35 MB / 0.8595 GB, free: 29.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05424/2.589, allocations: 31.09 MB / 0.8899 GB, free: 21.83 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001288/2.589, allocations: 84.39 kB / 0.89 GB, free: 21.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=489): time 1.386e-05/2.589, allocations: 4.75 kB / 0.89 GB, free: 21.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=726): time 0.9436/3.533, allocations: 170.6 MB / 1.057 GB, free: 132.1 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001415/3.533, allocations: 200.7 kB / 1.057 GB, free: 131.9 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01916/3.552, allocations: 7.025 MB / 1.064 GB, free: 129.5 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.003347/3.556, allocations: 138.6 kB / 1.064 GB, free: 129.4 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.007109/3.563, allocations: 7.069 MB / 1.071 GB, free: 124.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.006228/3.569, allocations: 2.574 MB / 1.073 GB, free: 122.2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004254/3.573, allocations: 286.9 kB / 1.073 GB, free: 122 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.002184/3.576, allocations: 0.9125 MB / 1.074 GB, free: 121.4 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01942/3.595, allocations: 10.3 MB / 1.084 GB, free: 117.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02442/3.62, allocations: 16.92 MB / 1.101 GB, free: 104.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02098/3.641, allocations: 13 MB / 1.114 GB, free: 98.62 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000388/3.641, allocations: 64.81 kB / 1.114 GB, free: 98.62 MB / 474.7 MB Notification: Performance of matching and sorting (n=1875) (initialization): time 0.05414/3.695, allocations: 27.68 MB / 1.141 GB, free: 80.12 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005201/3.696, allocations: 103 kB / 1.141 GB, free: 80.03 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006565/3.696, allocations: 228 kB / 1.141 GB, free: 79.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005178/3.697, allocations: 348 kB / 1.141 GB, free: 79.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02109/3.718, allocations: 4.259 MB / 1.146 GB, free: 76.11 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00081/3.719, allocations: 465.6 kB / 1.146 GB, free: 75.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01796/3.737, allocations: 1.226 MB / 1.147 GB, free: 74.82 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005113/3.742, allocations: 0.7484 MB / 1.148 GB, free: 74.1 MB / 474.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 () * Number of clocked 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.01916/3.761, allocations: 5.45 MB / 1.153 GB, free: 69.27 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004592/3.766, allocations: 0.7984 MB / 1.154 GB, free: 68.46 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03809/3.804, allocations: 19.61 MB / 1.173 GB, free: 51.36 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.854e-05/3.804, allocations: 74.81 kB / 1.173 GB, free: 51.29 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.819e-05/3.804, allocations: 0 / 1.173 GB, free: 51.29 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001795/3.804, allocations: 38.97 kB / 1.173 GB, free: 51.28 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3378/4.142, allocations: 42.55 MB / 1.215 GB, free: 126.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.183e-05/4.142, allocations: 6.969 kB / 1.215 GB, free: 126.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01292/4.155, allocations: 2.151 MB / 1.217 GB, free: 126.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001148/4.155, allocations: 31.5 kB / 1.217 GB, free: 126.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001858/4.157, allocations: 127.9 kB / 1.217 GB, free: 126.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-05/4.157, allocations: 31.44 kB / 1.217 GB, free: 126.9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.796e-06/4.157, allocations: 13.94 kB / 1.217 GB, free: 126.9 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04872/4.206, allocations: 33.94 MB / 1.25 GB, free: 112.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.009533/4.215, allocations: 2.707 MB / 1.253 GB, free: 111.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00396/4.219, allocations: 120 kB / 1.253 GB, free: 111.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009266/4.229, allocations: 0.7643 MB / 1.254 GB, free: 111 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002594/4.231, allocations: 388.2 kB / 1.254 GB, free: 111 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001882/4.233, allocations: 183.4 kB / 1.254 GB, free: 110.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01101/4.244, allocations: 4.891 MB / 1.259 GB, free: 109.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.2e-07/4.244, allocations: 2.875 kB / 1.259 GB, free: 109.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01763/4.262, allocations: 3.171 MB / 1.262 GB, free: 108.9 MB / 474.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 () * 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.002778/4.265, allocations: 416.2 kB / 1.263 GB, free: 108.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.03419/4.299, allocations: 23.24 MB / 1.285 GB, free: 96.71 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.388e-05/4.299, allocations: 0 / 1.285 GB, free: 96.71 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01585/4.315, allocations: 9.838 MB / 1.295 GB, free: 87.86 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007835/4.323, allocations: 0.8547 MB / 1.296 GB, free: 87.13 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07337/4.396, allocations: 37.8 MB / 1.333 GB, free: 53.06 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0208/4.417, allocations: 8.275 MB / 1.341 GB, free: 47.04 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.02638/4.444, allocations: 5.052 MB / 1.346 GB, free: 43.69 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008692/4.452, allocations: 0.6063 MB / 1.346 GB, free: 43.11 MB / 474.7 MB Notification: Performance of SimCode: time 2.004e-06/4.452, allocations: 0 / 1.346 GB, free: 43.11 MB / 474.7 MB Notification: Performance of Templates: time 0.448/4.9, allocations: 122.9 MB / 1.466 GB, free: 75.34 MB / 474.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)