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.0009323/0.0009324, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 221.5 MB / 229.6 MB, free: 7.555 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.0008141/0.0008141, allocations: 92.03 kB / 280.5 MB, free: 5.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.03651/0.03651, allocations: 8.829 MB / 340.1 MB, free: 6.387 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.475e-05/1.478e-05, allocations: 2.281 kB / 398.7 MB, free: 47.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1269, allocations: 52.39 MB / 451.1 MB, free: 4.539 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3676/0.4946, allocations: 101 MB / 0.5391 GB, free: 23.88 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000189/0.4948, allocations: 75.41 kB / 0.5392 GB, free: 23.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2727/0.7675, allocations: 117.5 MB / 0.6539 GB, free: 11.68 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.7675, allocations: 0 / 0.6539 GB, free: 11.68 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001933/0.7677, allocations: 103.9 kB / 0.654 GB, free: 11.58 MB / 426.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.01915/0.7869, allocations: 5.325 MB / 0.6592 GB, free: 6.195 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.787, allocations: 8.031 kB / 0.6592 GB, free: 6.188 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01813/0.8051, allocations: 3.896 MB / 0.663 GB, free: 2.277 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0137/0.8188, allocations: 4.946 MB / 0.6678 GB, free: 13.31 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003016/0.8192, allocations: 168 kB / 0.668 GB, free: 13.15 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003275/0.8225, allocations: 311.9 kB / 0.6683 GB, free: 12.84 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0177/0.8402, allocations: 8.929 MB / 0.677 GB, free: 3.906 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.031/0.8712, allocations: 12.88 MB / 0.6896 GB, free: 5.879 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003447/0.8716, allocations: 71.34 kB / 0.6897 GB, free: 5.809 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003114/0.8747, allocations: 36 kB / 0.6897 GB, free: 5.773 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003859/0.8786, allocations: 1.542 MB / 0.6912 GB, free: 4.234 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3599/1.239, allocations: 57.91 MB / 0.7478 GB, free: 54.56 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004585/1.243, allocations: 3.909 MB / 0.7516 GB, free: 53.32 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001669/1.245, allocations: 1.364 MB / 0.7529 GB, free: 53.28 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008128/1.253, allocations: 5.056 MB / 0.7578 GB, free: 51.82 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/1.253, allocations: 60.91 kB / 0.7579 GB, free: 51.78 MB / 458.7 MB Notification: Performance of pre-optimization done (n=231): time 4.959e-06/1.253, allocations: 0 / 0.7579 GB, free: 51.78 MB / 458.7 MB Notification: Performance of matching and sorting (n=261): time 0.01915/1.272, allocations: 11.63 MB / 0.7693 GB, free: 48.09 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.075e-05/1.272, allocations: 151.9 kB / 0.7694 GB, free: 47.93 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005913/1.278, allocations: 4.032 MB / 0.7733 GB, free: 47.52 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005786/1.279, allocations: 25.7 kB / 0.7734 GB, free: 47.49 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002579/1.281, allocations: 4.221 MB / 0.7775 GB, free: 44.95 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001242/1.283, allocations: 0.9861 MB / 0.7785 GB, free: 44.23 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004656/1.283, allocations: 0 / 0.7785 GB, free: 44.23 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004603/1.284, allocations: 0.6703 MB / 0.7791 GB, free: 43.77 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003188/1.287, allocations: 2.338 MB / 0.7814 GB, free: 42.94 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005143/1.292, allocations: 7.339 MB / 0.7886 GB, free: 35.35 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00537/1.297, allocations: 4.203 MB / 0.7927 GB, free: 34.12 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001029/1.298, allocations: 49.75 kB / 0.7927 GB, free: 34.12 MB / 458.7 MB Notification: Performance of matching and sorting (n=1113) (initialization): time 0.01515/1.313, allocations: 8.802 MB / 0.8013 GB, free: 31.14 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.031e-05/1.313, allocations: 83.38 kB / 0.8014 GB, free: 31.14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00018/1.313, allocations: 179.9 kB / 0.8016 GB, free: 31.14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008338/1.314, allocations: 487.5 kB / 0.802 GB, free: 31.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006203/1.32, allocations: 1.945 MB / 0.8039 GB, free: 30.83 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004138/1.324, allocations: 4.653 MB / 0.8085 GB, free: 27.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007045/1.331, allocations: 300.9 kB / 0.8088 GB, free: 27.48 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001941/1.333, allocations: 0.5012 MB / 0.8092 GB, free: 27.41 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 818 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1045): * Single equations (assignments): 1037 * 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.002491/1.336, allocations: 0.5505 MB / 0.8098 GB, free: 26.95 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009939/1.337, allocations: 416.3 kB / 0.8102 GB, free: 26.73 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005049/1.342, allocations: 2.651 MB / 0.8128 GB, free: 25.74 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.111e-05/1.342, allocations: 36.52 kB / 0.8128 GB, free: 25.74 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/1.342, allocations: 7.531 kB / 0.8128 GB, free: 25.73 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.958e-05/1.342, allocations: 11.39 kB / 0.8128 GB, free: 25.73 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01213/1.354, allocations: 7.358 MB / 0.82 GB, free: 20.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.435e-05/1.354, allocations: 4 kB / 0.82 GB, free: 20.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001525/1.356, allocations: 361.3 kB / 0.8204 GB, free: 20.13 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005966/1.356, allocations: 228.8 kB / 0.8206 GB, free: 19.95 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001516/1.356, allocations: 8 kB / 0.8206 GB, free: 19.94 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002931/1.359, allocations: 3.843 MB / 0.8243 GB, free: 16.14 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/1.359, allocations: 12.06 kB / 0.8243 GB, free: 16.13 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00649/1.366, allocations: 5.751 MB / 0.83 GB, free: 10.61 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001811/1.368, allocations: 469 kB / 0.8304 GB, free: 10.14 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005801/1.368, allocations: 12 kB / 0.8304 GB, free: 10.13 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001497/1.37, allocations: 82.14 kB / 0.8305 GB, free: 10.09 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000256/1.37, allocations: 151.7 kB / 0.8306 GB, free: 9.98 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001438/1.37, allocations: 75.33 kB / 0.8307 GB, free: 9.91 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004444/1.375, allocations: 2.657 MB / 0.8333 GB, free: 7.598 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.31e-07/1.375, allocations: 0 / 0.8333 GB, free: 7.598 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00823/1.383, allocations: 1.07 MB / 0.8343 GB, free: 6.535 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (196): * Single equations (assignments): 188 * 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.0004974/1.384, allocations: 162.4 kB / 0.8345 GB, free: 6.383 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008991/1.393, allocations: 5.659 MB / 0.84 GB, free: 1.219 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/1.393, allocations: 0 / 0.84 GB, free: 1.219 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002143/1.395, allocations: 1.678 MB / 0.8417 GB, free: 15.71 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002458/1.397, allocations: 429.6 kB / 0.8421 GB, free: 15.35 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01893/1.416, allocations: 9.819 MB / 0.8517 GB, free: 6.527 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005181/1.421, allocations: 4.341 MB / 0.8559 GB, free: 3.273 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006942/1.428, allocations: 2.753 MB / 0.8586 GB, free: 1.586 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008694/1.429, allocations: 318.8 kB / 0.8589 GB, free: 1.285 MB / 474.7 MB Notification: Performance of SimCode: time 7.71e-07/1.429, allocations: 0 / 0.8589 GB, free: 1.285 MB / 474.7 MB Notification: Performance of Templates: time 0.332/1.761, allocations: 35.81 MB / 0.8939 GB, free: 89.29 MB / 474.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)