Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.CraneCrab.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/PlanarMechanics 1.5.1/package.mo", uses=false) Using package PlanarMechanics with version 1.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(PlanarMechanics.Examples.CraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CraneCrab") translateModel(PlanarMechanics.Examples.CraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CraneCrab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001205, allocations: 176.1 kB / 16.12 MB, free: 5.668 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 223.3 MB / 240.1 MB, free: 11.73 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008355/0.0008352, allocations: 106.6 kB / 291.3 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.04043/0.04043, allocations: 8.946 MB / 351.4 MB, free: 14.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003789/0.0003789, allocations: 12.64 kB / 414.4 MB, free: 56.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09245/0.09285, allocations: 52.39 MB / 466.8 MB, free: 4.406 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3102/0.4031, allocations: 88.24 MB / 0.542 GB, free: 13.27 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/0.4034, allocations: 74.41 kB / 0.5421 GB, free: 13.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1538/0.5572, allocations: 61.07 MB / 0.6017 GB, free: 1.988 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.467e-06/0.5572, allocations: 0 / 0.6017 GB, free: 1.988 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001555/0.5574, allocations: 48 kB / 0.6018 GB, free: 1.941 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1144 * Number of variables: 1144 Notification: Performance of Generate backend data structure: time 0.01229/0.5697, allocations: 3.023 MB / 0.6047 GB, free: 14.86 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.5698, allocations: 8.031 kB / 0.6047 GB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008919/0.5787, allocations: 1.931 MB / 0.6066 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005517/0.5843, allocations: 1.714 MB / 0.6083 GB, free: 11.15 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002977/0.5846, allocations: 226 kB / 0.6085 GB, free: 10.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001624/0.5862, allocations: 292.2 kB / 0.6088 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01726/0.6035, allocations: 7.476 MB / 0.6161 GB, free: 2.793 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001686/0.6037, allocations: 27.8 kB / 0.6161 GB, free: 2.766 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001064/0.6048, allocations: 135.8 kB / 0.6162 GB, free: 2.633 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00148/0.6063, allocations: 0.8725 MB / 0.6171 GB, free: 1.758 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01451/0.6208, allocations: 6.985 MB / 0.6239 GB, free: 10.76 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04109/0.6619, allocations: 23.82 MB / 0.6472 GB, free: 2.453 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2201/0.8821, allocations: 2.376 MB / 0.6495 GB, free: 123.3 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002077/0.8842, allocations: 0.8004 MB / 0.6503 GB, free: 123.3 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0075/0.8917, allocations: 4.572 MB / 0.6547 GB, free: 121.2 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.33e-05/0.8918, allocations: 46.14 kB / 0.6548 GB, free: 121.2 MB / 458.7 MB Notification: Performance of pre-optimization done (n=129): time 5.771e-06/0.8918, allocations: 1.344 kB / 0.6548 GB, free: 121.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=153): time 0.01521/0.907, allocations: 6.82 MB / 0.6614 GB, free: 120.2 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.9071, allocations: 71.75 kB / 0.6615 GB, free: 120.1 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004372/0.9115, allocations: 2.526 MB / 0.664 GB, free: 119.9 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001925/0.9117, allocations: 45.7 kB / 0.664 GB, free: 119.8 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001832/0.9136, allocations: 2.054 MB / 0.666 GB, free: 118.8 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006535/0.9142, allocations: 0.5666 MB / 0.6666 GB, free: 118.4 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/0.9144, allocations: 76.34 kB / 0.6667 GB, free: 118.4 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002458/0.9147, allocations: 473.7 kB / 0.6671 GB, free: 118.1 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002166/0.9168, allocations: 1.244 MB / 0.6683 GB, free: 118.1 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002701/0.9195, allocations: 3.337 MB / 0.6716 GB, free: 115.5 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004766/0.9243, allocations: 4.941 MB / 0.6764 GB, free: 112.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.035e-05/0.9244, allocations: 24.34 kB / 0.6764 GB, free: 112.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=505) (initialization): time 0.006612/0.931, allocations: 4.759 MB / 0.6811 GB, free: 111.6 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.469e-05/0.9311, allocations: 37.97 kB / 0.6811 GB, free: 111.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.275e-05/0.9312, allocations: 73.41 kB / 0.6812 GB, free: 111.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006276/0.9318, allocations: 309 kB / 0.6815 GB, free: 111.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002226/0.934, allocations: 0.843 MB / 0.6823 GB, free: 111.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003435/0.9375, allocations: 3.329 MB / 0.6856 GB, free: 109.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003091/0.9406, allocations: 180.3 kB / 0.6857 GB, free: 109.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003538/0.941, allocations: 229.8 kB / 0.6859 GB, free: 109.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 333 * Number of states: 0 () * Number of discrete variables: 15 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (461): * Single equations (assignments): 456 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0025/0.9435, allocations: 1.551 MB / 0.6875 GB, free: 108.4 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004115/0.9439, allocations: 216.1 kB / 0.6877 GB, free: 108.3 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002866/0.9468, allocations: 1.971 MB / 0.6896 GB, free: 107.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.088e-05/0.9469, allocations: 30.39 kB / 0.6896 GB, free: 107.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.9469, allocations: 0 / 0.6896 GB, free: 107.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/0.9469, allocations: 6.516 kB / 0.6896 GB, free: 107.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008344/0.9553, allocations: 5.661 MB / 0.6952 GB, free: 105.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.295e-06/0.9553, allocations: 3.938 kB / 0.6952 GB, free: 105.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007302/0.956, allocations: 204.4 kB / 0.6954 GB, free: 105.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000479/0.9565, allocations: 211.9 kB / 0.6956 GB, free: 105.3 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.037e-05/0.9566, allocations: 26.53 kB / 0.6956 GB, free: 105.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002526/0.9591, allocations: 2.697 MB / 0.6982 GB, free: 103.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.9592, allocations: 3.938 kB / 0.6982 GB, free: 103.4 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004033/0.9632, allocations: 3.051 MB / 0.7012 GB, free: 102.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008284/0.964, allocations: 306.2 kB / 0.7015 GB, free: 101.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002327/0.9643, allocations: 27.09 kB / 0.7015 GB, free: 101.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007217/0.965, allocations: 59.14 kB / 0.7016 GB, free: 101.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/0.9652, allocations: 91.89 kB / 0.7017 GB, free: 101.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.898e-05/0.9653, allocations: 50.38 kB / 0.7017 GB, free: 101.8 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002297/0.9676, allocations: 1.625 MB / 0.7033 GB, free: 101.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.9676, allocations: 0 / 0.7033 GB, free: 101.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003078/0.9707, allocations: 0.6844 MB / 0.704 GB, free: 101.1 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 4 (revolute.phi,revolute.w,damper1D.s_rel,damper1D.v_rel) * 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 (112): * Single equations (assignments): 107 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003325/0.971, allocations: 169.3 kB / 0.7041 GB, free: 101 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004266/0.9753, allocations: 3.082 MB / 0.7071 GB, free: 99.87 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.9753, allocations: 0 / 0.7071 GB, free: 99.87 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001186/0.9765, allocations: 1.007 MB / 0.7081 GB, free: 99.45 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002367/0.9789, allocations: 362.4 kB / 0.7085 GB, free: 99.32 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/0.9891, allocations: 7.683 MB / 0.716 GB, free: 95.17 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002169/0.9913, allocations: 2.563 MB / 0.7185 GB, free: 93.22 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002697/0.994, allocations: 1.177 MB / 0.7196 GB, free: 92.48 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003648/0.9944, allocations: 163.3 kB / 0.7198 GB, free: 92.33 MB / 458.7 MB Notification: Performance of SimCode: time 9.22e-07/0.9944, allocations: 0 / 0.7198 GB, free: 92.33 MB / 458.7 MB Notification: Performance of Templates: time 0.03787/1.032, allocations: 23.71 MB / 0.7429 GB, free: 74.82 MB / 458.7 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.CraneCrab.makefile (rm -f PlanarMechanics_PlanarMechanics.Examples.CraneCrab.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.CraneCrab.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.CraneCrab.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.CraneCrab.sim & ./PlanarMechanics_PlanarMechanics.Examples.CraneCrab -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.CraneCrab.pipe 2>&1)