Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.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.CraneCrabTo3D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D") translateModel(PlanarMechanics.Examples.CraneCrabTo3D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007222/0.007222, allocations: 171.1 kB / 15.11 MB, free: 5.973 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.321/1.321, allocations: 223.2 MB / 239 MB, free: 1.766 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008961/0.000896, allocations: 98.12 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.04156/0.04156, allocations: 8.95 MB / 350.3 MB, free: 2.062 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003162/0.0003162, allocations: 13.03 kB / 413.1 MB, free: 88.64 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09603/0.09637, allocations: 52.4 MB / 465.5 MB, free: 41.69 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3241/0.4205, allocations: 101.7 MB / 0.554 GB, free: 16.23 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/0.4208, allocations: 81.42 kB / 0.554 GB, free: 16.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2873/0.7081, allocations: 119.8 MB / 0.671 GB, free: 10.09 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.7082, allocations: 3.938 kB / 0.671 GB, free: 10.09 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002658/0.7084, allocations: 96 kB / 0.6711 GB, free: 9.996 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2075 * Number of variables: 2075 Notification: Performance of Generate backend data structure: time 0.02123/0.7297, allocations: 5.573 MB / 0.6766 GB, free: 4.348 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.7297, allocations: 12.03 kB / 0.6766 GB, free: 4.336 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01823/0.748, allocations: 3.892 MB / 0.6804 GB, free: 440 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01512/0.7631, allocations: 4.983 MB / 0.6853 GB, free: 11.38 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005187/0.7637, allocations: 402.4 kB / 0.6856 GB, free: 10.99 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003094/0.7668, allocations: 0.5154 MB / 0.6861 GB, free: 10.47 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2893/1.056, allocations: 14.04 MB / 0.6999 GB, free: 79.03 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003663/1.057, allocations: 63.12 kB / 0.6999 GB, free: 79.03 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001989/1.059, allocations: 260.8 kB / 0.7002 GB, free: 79.03 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002288/1.061, allocations: 1.535 MB / 0.7017 GB, free: 79.01 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02512/1.086, allocations: 12.27 MB / 0.7137 GB, free: 78.97 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07604/1.162, allocations: 58.88 MB / 0.7712 GB, free: 45.84 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01013/1.172, allocations: 5.095 MB / 0.7761 GB, free: 43.46 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01375/1.186, allocations: 8 MB / 0.7839 GB, free: 39.39 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/1.186, allocations: 61.77 kB / 0.784 GB, free: 39.34 MB / 458.7 MB Notification: Performance of pre-optimization done (n=239): time 6.944e-06/1.186, allocations: 0 / 0.784 GB, free: 39.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=269): time 0.03169/1.218, allocations: 14.87 MB / 0.7985 GB, free: 32.39 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.054e-05/1.218, allocations: 152.4 kB / 0.7987 GB, free: 32.23 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007803/1.226, allocations: 4.771 MB / 0.8033 GB, free: 30.61 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005086/1.226, allocations: 64.83 kB / 0.8034 GB, free: 30.55 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0027/1.229, allocations: 4.118 MB / 0.8074 GB, free: 27.43 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001409/1.23, allocations: 1.027 MB / 0.8084 GB, free: 26.68 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000416/1.231, allocations: 161.3 kB / 0.8086 GB, free: 26.55 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004106/1.231, allocations: 0.6525 MB / 0.8092 GB, free: 26.1 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003758/1.235, allocations: 2.49 MB / 0.8116 GB, free: 25.31 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0061/1.241, allocations: 7.264 MB / 0.8187 GB, free: 18.04 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006484/1.248, allocations: 4.265 MB / 0.8229 GB, free: 16.38 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001375/1.248, allocations: 48.19 kB / 0.8229 GB, free: 16.38 MB / 458.7 MB Notification: Performance of matching and sorting (n=1069) (initialization): time 0.01967/1.268, allocations: 9.783 MB / 0.8325 GB, free: 9.547 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002787/1.268, allocations: 80.25 kB / 0.8326 GB, free: 9.469 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004142/1.268, allocations: 172 kB / 0.8327 GB, free: 9.301 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001345/1.27, allocations: 475.3 kB / 0.8332 GB, free: 8.883 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006591/1.276, allocations: 1.856 MB / 0.835 GB, free: 7.254 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005173/1.281, allocations: 4.907 MB / 0.8398 GB, free: 2.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01032/1.292, allocations: 451.7 kB / 0.8402 GB, free: 2.09 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003072/1.295, allocations: 491.9 kB / 0.8407 GB, free: 1.621 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 773 * Number of states: 0 () * Number of discrete variables: 36 (fixedRotation3D.color[3],fixedRotation3D.color[2],fixedRotation3D.color[1],body3D.sphereColor[3],body3D.sphereColor[2],body3D.sphereColor[1],prismatic3D.boxColor[3],prismatic3D.boxColor[2],prismatic3D.boxColor[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],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (1001): * Single equations (assignments): 993 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 17,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01036/1.305, allocations: 2.929 MB / 0.8436 GB, free: 15.31 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001761/1.307, allocations: 465.6 kB / 0.844 GB, free: 14.86 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007859/1.315, allocations: 2.926 MB / 0.8469 GB, free: 12.34 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-05/1.315, allocations: 32.28 kB / 0.8469 GB, free: 12.31 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.761e-05/1.315, allocations: 4 kB / 0.8469 GB, free: 12.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.08e-05/1.315, allocations: 14.3 kB / 0.8469 GB, free: 12.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02806/1.343, allocations: 8.983 MB / 0.8557 GB, free: 4.824 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.993e-05/1.343, allocations: 4 kB / 0.8557 GB, free: 4.82 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001914/1.345, allocations: 377.6 kB / 0.856 GB, free: 4.512 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007006/1.346, allocations: 234.9 kB / 0.8563 GB, free: 4.324 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003833/1.346, allocations: 47.47 kB / 0.8563 GB, free: 4.281 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004493/1.351, allocations: 4.105 MB / 0.8603 GB, free: 220 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/1.351, allocations: 16 kB / 0.8603 GB, free: 204 kB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0113/1.362, allocations: 6.548 MB / 0.8667 GB, free: 9.938 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002656/1.365, allocations: 0.5235 MB / 0.8672 GB, free: 9.418 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001763/1.367, allocations: 49.77 kB / 0.8673 GB, free: 9.375 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002862/1.37, allocations: 120.2 kB / 0.8674 GB, free: 9.293 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003989/1.37, allocations: 150.4 kB / 0.8675 GB, free: 9.195 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002061/1.37, allocations: 83.84 kB / 0.8676 GB, free: 9.117 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.008761/1.379, allocations: 3.353 MB / 0.8709 GB, free: 6.371 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.062e-06/1.379, allocations: 0 / 0.8709 GB, free: 6.371 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0103/1.389, allocations: 1.263 MB / 0.8721 GB, free: 5.117 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 6 (revolute.phi,revolute.w,damper1D.s_rel,damper1D.v_rel,prismatic3D.s,prismatic3D.v) * 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 (204): * Single equations (assignments): 196 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 15,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007925/1.39, allocations: 201 kB / 0.8723 GB, free: 4.922 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.2902/1.68, allocations: 6.131 MB / 0.8783 GB, free: 103.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-05/1.681, allocations: 1.469 kB / 0.8783 GB, free: 103.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003451/1.684, allocations: 1.793 MB / 0.8801 GB, free: 103.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004688/1.689, allocations: 0.5699 MB / 0.8806 GB, free: 103.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03039/1.719, allocations: 14.35 MB / 0.8946 GB, free: 97.48 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01004/1.729, allocations: 4.362 MB / 0.8989 GB, free: 96.64 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.008965/1.738, allocations: 2.706 MB / 0.9015 GB, free: 96.59 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001555/1.74, allocations: 327.2 kB / 0.9019 GB, free: 96.59 MB / 490.7 MB Notification: Performance of SimCode: time 1.573e-06/1.74, allocations: 0 / 0.9019 GB, free: 96.59 MB / 490.7 MB Notification: Performance of Templates: time 0.08935/1.829, allocations: 42.07 MB / 0.9429 GB, free: 94.47 MB / 490.7 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.makefile (rm -f PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.sim & ./PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.pipe 2>&1)