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.0009209/0.000921, allocations: 175.2 kB / 12.73 MB, free: 2.59 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.156/1.156, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0008438/0.0008439, allocations: 107.5 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.03845/0.03845, allocations: 8.842 MB / 345.3 MB, free: 1.297 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.964e-05/1.964e-05, allocations: 0 / 405.6 MB, free: 61.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07281/0.07285, allocations: 52.39 MB / 458 MB, free: 9.051 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3025/0.3753, allocations: 89.07 MB / 0.5342 GB, free: 12.74 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001888/0.3756, allocations: 79.61 kB / 0.5343 GB, free: 12.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1494/0.525, allocations: 62.45 MB / 0.5953 GB, free: 4.375 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.525, allocations: 0 / 0.5953 GB, free: 4.375 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.964e-05/0.5251, allocations: 55.92 kB / 0.5953 GB, free: 4.32 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: 1155 * Number of variables: 1155 Notification: Performance of Generate backend data structure: time 0.007593/0.5327, allocations: 3.077 MB / 0.5983 GB, free: 1.184 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.5327, allocations: 12.03 kB / 0.5983 GB, free: 1.172 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008171/0.5409, allocations: 1.938 MB / 0.6002 GB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003794/0.5447, allocations: 1.704 MB / 0.6019 GB, free: 13.47 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001978/0.545, allocations: 229.6 kB / 0.6021 GB, free: 13.25 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009874/0.5459, allocations: 295.9 kB / 0.6024 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01325/0.5592, allocations: 7.456 MB / 0.6097 GB, free: 5.129 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.014e-05/0.5593, allocations: 23.78 kB / 0.6097 GB, free: 5.105 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000501/0.5599, allocations: 135.9 kB / 0.6098 GB, free: 4.973 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001206/0.5611, allocations: 0.8648 MB / 0.6107 GB, free: 4.105 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0119/0.573, allocations: 6.927 MB / 0.6174 GB, free: 13.17 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03119/0.6042, allocations: 24.08 MB / 0.6409 GB, free: 4.594 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004428/0.6087, allocations: 2.323 MB / 0.6432 GB, free: 2.16 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001043/0.6097, allocations: 0.778 MB / 0.644 GB, free: 1.383 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1992/0.8089, allocations: 4.742 MB / 0.6486 GB, free: 123 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.809, allocations: 44.91 kB / 0.6486 GB, free: 123 MB / 458.7 MB Notification: Performance of pre-optimization done (n=128): time 3.787e-06/0.809, allocations: 1.469 kB / 0.6486 GB, free: 123 MB / 458.7 MB Notification: Performance of matching and sorting (n=154): time 0.01155/0.8206, allocations: 6.121 MB / 0.6546 GB, free: 121.9 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.8207, allocations: 68.47 kB / 0.6547 GB, free: 121.9 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003676/0.8243, allocations: 2.274 MB / 0.6569 GB, free: 121.6 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000161/0.8245, allocations: 50.03 kB / 0.657 GB, free: 121.6 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001224/0.8258, allocations: 2.071 MB / 0.659 GB, free: 120.5 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004747/0.8262, allocations: 0.5675 MB / 0.6595 GB, free: 120.2 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/0.8264, allocations: 79.62 kB / 0.6596 GB, free: 120.2 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002548/0.8267, allocations: 478.6 kB / 0.6601 GB, free: 119.9 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002039/0.8287, allocations: 1.209 MB / 0.6613 GB, free: 119.8 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002981/0.8317, allocations: 3.318 MB / 0.6645 GB, free: 117.2 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002788/0.8345, allocations: 2.038 MB / 0.6665 GB, free: 117.1 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.052e-05/0.8345, allocations: 21.66 kB / 0.6665 GB, free: 117.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=510) (initialization): time 0.006088/0.8406, allocations: 4.603 MB / 0.671 GB, free: 116.8 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.269e-05/0.8407, allocations: 35.03 kB / 0.671 GB, free: 116.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.439e-05/0.8408, allocations: 76.34 kB / 0.6711 GB, free: 116.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003389/0.8411, allocations: 197.6 kB / 0.6713 GB, free: 116.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002426/0.8436, allocations: 0.8961 MB / 0.6722 GB, free: 116.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001517/0.8451, allocations: 2.168 MB / 0.6743 GB, free: 115.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002445/0.8476, allocations: 204.1 kB / 0.6745 GB, free: 115.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002861/0.8479, allocations: 234.9 kB / 0.6747 GB, free: 115.2 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 () * 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.0004286/0.8483, allocations: 384.2 kB / 0.6751 GB, free: 114.9 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003234/0.8486, allocations: 226 kB / 0.6753 GB, free: 114.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002579/0.8512, allocations: 1.838 MB / 0.6771 GB, free: 114.4 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.726e-05/0.8513, allocations: 31.61 kB / 0.6771 GB, free: 114.4 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.8513, allocations: 0 / 0.6771 GB, free: 114.4 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/0.8514, allocations: 11.27 kB / 0.6771 GB, free: 114.4 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007532/0.8589, allocations: 5.503 MB / 0.6825 GB, free: 112.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.8589, allocations: 0 / 0.6825 GB, free: 112.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009027/0.8599, allocations: 249.5 kB / 0.6827 GB, free: 112.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000206/0.8601, allocations: 74.42 kB / 0.6828 GB, free: 112.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.085e-05/0.8602, allocations: 30.41 kB / 0.6828 GB, free: 112.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001163/0.8613, allocations: 1.901 MB / 0.6847 GB, free: 110.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.8613, allocations: 2.688 kB / 0.6847 GB, free: 110.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0031/0.8644, allocations: 2.981 MB / 0.6876 GB, free: 109.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000477/0.8649, allocations: 309.9 kB / 0.6879 GB, free: 108.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002158/0.8652, allocations: 23.06 kB / 0.6879 GB, free: 108.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007858/0.866, allocations: 76.22 kB / 0.688 GB, free: 108.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.8661, allocations: 81.8 kB / 0.6881 GB, free: 108.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.613e-05/0.8662, allocations: 42.2 kB / 0.6881 GB, free: 108.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001899/0.8681, allocations: 1.609 MB / 0.6897 GB, free: 108.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.8681, allocations: 0 / 0.6897 GB, free: 108.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002481/0.8706, allocations: 0.6732 MB / 0.6903 GB, free: 108.2 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 () * 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.0002784/0.8709, allocations: 172.2 kB / 0.6905 GB, free: 108 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003433/0.8743, allocations: 2.944 MB / 0.6934 GB, free: 107 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.8743, allocations: 3.938 kB / 0.6934 GB, free: 107 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000929/0.8753, allocations: 0.9227 MB / 0.6943 GB, free: 106.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/0.8767, allocations: 351.4 kB / 0.6946 GB, free: 106.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007774/0.8845, allocations: 5.17 MB / 0.6997 GB, free: 104.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001981/0.8865, allocations: 2.627 MB / 0.7022 GB, free: 103.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002594/0.8891, allocations: 1.195 MB / 0.7034 GB, free: 103.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004003/0.8895, allocations: 171.3 kB / 0.7036 GB, free: 103.2 MB / 458.7 MB Notification: Performance of SimCode: time 1.082e-06/0.8895, allocations: 0 / 0.7036 GB, free: 103.2 MB / 458.7 MB Notification: Performance of Templates: time 0.03687/0.9264, allocations: 22.77 MB / 0.7258 GB, free: 90.46 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)