Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.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.InvertedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab") translateModel(PlanarMechanics.Examples.InvertedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009414/0.0009414, allocations: 176.4 kB / 16.11 MB, free: 5.172 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.357/1.357, 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.0008289/0.000829, allocations: 101.5 kB / 291.3 MB, free: 10.8 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.941 MB / 351.4 MB, free: 14.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003996/0.0003996, allocations: 8 kB / 414.4 MB, free: 56.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09065/0.09107, allocations: 52.4 MB / 466.8 MB, free: 4.418 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3358/0.4269, allocations: 89.15 MB / 0.5429 GB, free: 12.36 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/0.4272, allocations: 82.84 kB / 0.543 GB, free: 12.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.153/0.5802, allocations: 61.88 MB / 0.6034 GB, free: 288 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.5803, allocations: 0 / 0.6034 GB, free: 288 kB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001271/0.5804, allocations: 52 kB / 0.6035 GB, free: 236 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1155 * Number of variables: 1155 Notification: Performance of Generate backend data structure: time 0.01135/0.5918, allocations: 3.063 MB / 0.6065 GB, free: 13.1 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.5918, allocations: 12.03 kB / 0.6065 GB, free: 13.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008915/0.6007, allocations: 1.939 MB / 0.6084 GB, free: 11.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004593/0.6054, allocations: 1.728 MB / 0.6101 GB, free: 9.371 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002988/0.6057, allocations: 226.1 kB / 0.6103 GB, free: 9.148 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001937/0.6076, allocations: 296.2 kB / 0.6106 GB, free: 8.859 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02088/0.6285, allocations: 7.545 MB / 0.6179 GB, free: 0.9375 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002617/0.6288, allocations: 27.66 kB / 0.618 GB, free: 0.9102 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001744/0.6306, allocations: 135.9 kB / 0.6181 GB, free: 0.7773 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001667/0.6323, allocations: 0.8726 MB / 0.6189 GB, free: 15.9 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01576/0.6481, allocations: 7.043 MB / 0.6258 GB, free: 8.848 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04162/0.6897, allocations: 24.07 MB / 0.6493 GB, free: 288 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2398/0.9296, allocations: 2.36 MB / 0.6516 GB, free: 122.6 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001458/0.9311, allocations: 0.8199 MB / 0.6524 GB, free: 122.6 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007234/0.9383, allocations: 4.722 MB / 0.657 GB, free: 120.5 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.9384, allocations: 42.56 kB / 0.6571 GB, free: 120.4 MB / 458.7 MB Notification: Performance of pre-optimization done (n=128): time 6.101e-06/0.9384, allocations: 0 / 0.6571 GB, free: 120.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=154): time 0.01512/0.9536, allocations: 7.016 MB / 0.6639 GB, free: 119.4 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.9536, allocations: 65.78 kB / 0.664 GB, free: 119.4 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004747/0.9584, allocations: 2.56 MB / 0.6665 GB, free: 119.1 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001473/0.9586, allocations: 43.55 kB / 0.6665 GB, free: 119.1 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001284/0.9599, allocations: 2.071 MB / 0.6686 GB, free: 118 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005343/0.9604, allocations: 0.577 MB / 0.6691 GB, free: 117.7 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/0.9606, allocations: 75.62 kB / 0.6692 GB, free: 117.7 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002138/0.9608, allocations: 475.4 kB / 0.6696 GB, free: 117.4 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002188/0.963, allocations: 1.286 MB / 0.6709 GB, free: 117.3 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002788/0.9658, allocations: 3.41 MB / 0.6742 GB, free: 114.7 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004439/0.9703, allocations: 5.06 MB / 0.6792 GB, free: 112 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.536e-05/0.9703, allocations: 25.19 kB / 0.6792 GB, free: 112 MB / 458.7 MB Notification: Performance of matching and sorting (n=510) (initialization): time 0.006767/0.9771, allocations: 4.746 MB / 0.6838 GB, free: 110.3 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.75e-05/0.9772, allocations: 38.47 kB / 0.6839 GB, free: 110.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-05/0.9772, allocations: 72.88 kB / 0.6839 GB, free: 110.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003267/0.9776, allocations: 189.4 kB / 0.6841 GB, free: 110.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002306/0.9799, allocations: 0.9039 MB / 0.685 GB, free: 110.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001468/0.9814, allocations: 2.173 MB / 0.6871 GB, free: 108.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002414/0.9838, allocations: 204.1 kB / 0.6873 GB, free: 108.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002395/0.984, allocations: 233.2 kB / 0.6875 GB, free: 108.3 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 338 * 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 (476): * Single equations (assignments): 471 * 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 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002029/0.9861, allocations: 1.558 MB / 0.6891 GB, free: 107.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000308/0.9864, allocations: 220.5 kB / 0.6893 GB, free: 107.4 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002676/0.9891, allocations: 1.937 MB / 0.6912 GB, free: 106.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.333e-05/0.9892, allocations: 28.38 kB / 0.6912 GB, free: 106.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.9892, allocations: 3.375 kB / 0.6912 GB, free: 106.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.9892, allocations: 6.938 kB / 0.6912 GB, free: 106.7 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008144/0.9974, allocations: 5.611 MB / 0.6967 GB, free: 104.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.9974, allocations: 3.75 kB / 0.6967 GB, free: 104.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008744/0.9983, allocations: 244.9 kB / 0.6969 GB, free: 104.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002063/0.9985, allocations: 82.5 kB / 0.697 GB, free: 104.4 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.834e-05/0.9986, allocations: 23.84 kB / 0.697 GB, free: 104.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00121/0.9998, allocations: 1.919 MB / 0.6989 GB, free: 102.7 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.9998, allocations: 7.375 kB / 0.6989 GB, free: 102.7 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003738/1.004, allocations: 3.007 MB / 0.7018 GB, free: 101.4 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007232/1.004, allocations: 309.8 kB / 0.7021 GB, free: 101.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002153/1.005, allocations: 28.38 kB / 0.7022 GB, free: 101.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000758/1.005, allocations: 73.81 kB / 0.7022 GB, free: 101.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/1.005, allocations: 82.73 kB / 0.7023 GB, free: 101.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.214e-05/1.006, allocations: 43.83 kB / 0.7023 GB, free: 101.1 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002129/1.008, allocations: 1.644 MB / 0.704 GB, free: 100.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.008, allocations: 0 / 0.704 GB, free: 100.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00274/1.01, allocations: 0.6721 MB / 0.7046 GB, free: 100.4 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (revolute.phi,prismatic.s,prismatic.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 (123): * Single equations (assignments): 118 * 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 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000305/1.011, allocations: 168 kB / 0.7048 GB, free: 100.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004025/1.015, allocations: 3.082 MB / 0.7078 GB, free: 99.22 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.015, allocations: 0 / 0.7078 GB, free: 99.22 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001102/1.016, allocations: 0.9865 MB / 0.7087 GB, free: 98.82 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002075/1.018, allocations: 362.6 kB / 0.7091 GB, free: 98.69 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009125/1.027, allocations: 7.623 MB / 0.7165 GB, free: 94.62 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002039/1.029, allocations: 2.563 MB / 0.719 GB, free: 92.95 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00276/1.032, allocations: 1.199 MB / 0.7202 GB, free: 92.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003866/1.032, allocations: 174.3 kB / 0.7204 GB, free: 92.04 MB / 458.7 MB Notification: Performance of SimCode: time 9.12e-07/1.032, allocations: 0 / 0.7204 GB, free: 92.04 MB / 458.7 MB Notification: Performance of Templates: time 0.05777/1.09, allocations: 22.87 MB / 0.7427 GB, free: 75.7 MB / 458.7 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.makefile (rm -f PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.sim & ./PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe 2>&1)