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.0008907/0.0008906, allocations: 168.8 kB / 7.645 MB, free: 1.434 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.358/1.358, allocations: 221.5 MB / 229.6 MB, free: 7.582 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.0008727/0.0008727, allocations: 90.89 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.03626/0.03626, allocations: 8.824 MB / 340.1 MB, free: 6.406 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.008e-05/2.01e-05, allocations: 1.312 kB / 398.7 MB, free: 47.69 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1025, allocations: 52.39 MB / 451.1 MB, free: 4.547 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3598/0.4623, allocations: 88.35 MB / 0.5268 GB, free: 80.98 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/0.4626, allocations: 76.17 kB / 0.5269 GB, free: 80.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.139/0.6016, allocations: 60.96 MB / 0.5864 GB, free: 28.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.6017, allocations: 0 / 0.5864 GB, free: 28.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001696/0.6019, allocations: 55.94 kB / 0.5864 GB, free: 28.58 MB / 362.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.01218/0.6141, allocations: 3.071 MB / 0.5894 GB, free: 25.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.6141, allocations: 12.02 kB / 0.5895 GB, free: 25.44 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009574/0.6237, allocations: 1.93 MB / 0.5913 GB, free: 23.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004622/0.6284, allocations: 1.716 MB / 0.593 GB, free: 21.74 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002256/0.6286, allocations: 96 kB / 0.5931 GB, free: 21.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00188/0.6305, allocations: 176 kB / 0.5933 GB, free: 21.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008975/0.6395, allocations: 5.235 MB / 0.5984 GB, free: 16.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0164/0.6559, allocations: 6.927 MB / 0.6052 GB, free: 8.934 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000172/0.6561, allocations: 23.78 kB / 0.6052 GB, free: 8.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001683/0.6578, allocations: 12 kB / 0.6052 GB, free: 8.898 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001322/0.6592, allocations: 0.8726 MB / 0.606 GB, free: 8.023 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03879/0.698, allocations: 23.3 MB / 0.6288 GB, free: 204 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003883/0.7019, allocations: 2.221 MB / 0.631 GB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001229/0.7032, allocations: 0.7357 MB / 0.6317 GB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007917/0.7111, allocations: 4.281 MB / 0.6359 GB, free: 8.523 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/0.7112, allocations: 51.86 kB / 0.6359 GB, free: 8.465 MB / 394.7 MB Notification: Performance of pre-optimization done (n=128): time 3.767e-06/0.7112, allocations: 0 / 0.6359 GB, free: 8.465 MB / 394.7 MB Notification: Performance of matching and sorting (n=154): time 0.0125/0.7237, allocations: 5.639 MB / 0.6414 GB, free: 2.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.7238, allocations: 64.72 kB / 0.6415 GB, free: 2.672 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004178/0.728, allocations: 1.867 MB / 0.6433 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.7281, allocations: 25.7 kB / 0.6433 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001587/0.7297, allocations: 2.146 MB / 0.6454 GB, free: 14.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005937/0.7303, allocations: 0.5549 MB / 0.646 GB, free: 14.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002667/0.7306, allocations: 0 / 0.646 GB, free: 14.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000401/0.731, allocations: 0.5154 MB / 0.6465 GB, free: 13.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002/0.733, allocations: 1.211 MB / 0.6476 GB, free: 12.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003708/0.7368, allocations: 3.44 MB / 0.651 GB, free: 7.723 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003408/0.7402, allocations: 2.083 MB / 0.653 GB, free: 5.641 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.142e-05/0.7403, allocations: 31.94 kB / 0.6531 GB, free: 5.609 MB / 410.7 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.008996/0.7493, allocations: 4.307 MB / 0.6573 GB, free: 1.301 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.906e-05/0.7494, allocations: 40 kB / 0.6573 GB, free: 1.262 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001362/0.7495, allocations: 80 kB / 0.6574 GB, free: 1.184 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005062/0.7501, allocations: 201.1 kB / 0.6576 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003452/0.7535, allocations: 0.9477 MB / 0.6585 GB, free: 36 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00217/0.7557, allocations: 2.113 MB / 0.6606 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003003/0.7587, allocations: 131.9 kB / 0.6607 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000743/0.7595, allocations: 240.1 kB / 0.6609 GB, free: 13.42 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 362 * 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 (500): * Single equations (assignments): 495 * 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.0009447/0.7605, allocations: 306.9 kB / 0.6612 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004505/0.7609, allocations: 193.5 kB / 0.6614 GB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003153/0.7641, allocations: 1.706 MB / 0.6631 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001055/0.7642, allocations: 23.98 kB / 0.6631 GB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.7642, allocations: 4 kB / 0.6631 GB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.499e-05/0.7643, allocations: 7.969 kB / 0.6631 GB, free: 11.17 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01018/0.7744, allocations: 4.631 MB / 0.6676 GB, free: 6.434 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.7745, allocations: 4 kB / 0.6676 GB, free: 6.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/0.7756, allocations: 239.8 kB / 0.6679 GB, free: 6.195 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002667/0.7759, allocations: 84.75 kB / 0.6679 GB, free: 6.109 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/0.776, allocations: 7.984 kB / 0.6679 GB, free: 6.102 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001847/0.7778, allocations: 1.832 MB / 0.6697 GB, free: 4.121 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.7779, allocations: 0 / 0.6697 GB, free: 4.121 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004387/0.7823, allocations: 2.839 MB / 0.6725 GB, free: 1.211 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007572/0.7831, allocations: 266.7 kB / 0.6728 GB, free: 0.9297 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004441/0.7835, allocations: 7.953 kB / 0.6728 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001053/0.7846, allocations: 55.91 kB / 0.6728 GB, free: 0.8672 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/0.7848, allocations: 85.14 kB / 0.6729 GB, free: 0.7812 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.665e-05/0.7849, allocations: 48.06 kB / 0.673 GB, free: 0.7344 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002608/0.7875, allocations: 1.249 MB / 0.6742 GB, free: 15.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.7875, allocations: 0 / 0.6742 GB, free: 15.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003771/0.7913, allocations: 0.582 MB / 0.6747 GB, free: 14.91 MB / 442.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.0004616/0.7918, allocations: 143 kB / 0.6749 GB, free: 14.77 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005119/0.7969, allocations: 2.862 MB / 0.6777 GB, free: 11.91 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.7969, allocations: 0 / 0.6777 GB, free: 11.91 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001345/0.7983, allocations: 0.891 MB / 0.6785 GB, free: 11.02 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001594/0.7999, allocations: 208.3 kB / 0.6787 GB, free: 10.81 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01233/0.8122, allocations: 5.072 MB / 0.6837 GB, free: 5.672 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004251/0.8165, allocations: 2.634 MB / 0.6863 GB, free: 3.004 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00371/0.8203, allocations: 1.198 MB / 0.6874 GB, free: 1.801 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007821/0.8211, allocations: 163.4 kB / 0.6876 GB, free: 1.645 MB / 442.7 MB Notification: Performance of SimCode: time 1.593e-06/0.8211, allocations: 0 / 0.6876 GB, free: 1.645 MB / 442.7 MB Notification: Performance of Templates: time 0.276/1.097, allocations: 17.8 MB / 0.705 GB, free: 112.5 MB / 442.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)