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.007207/0.007207, allocations: 171.2 kB / 15.11 MB, free: 5.977 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.333/1.333, allocations: 223.2 MB / 239.1 MB, free: 1.773 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.0009461/0.0009461, allocations: 97.58 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.04162/0.04162, allocations: 8.941 MB / 350.3 MB, free: 2.059 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003432, allocations: 10.41 kB / 413.1 MB, free: 88.64 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1155, allocations: 52.39 MB / 465.5 MB, free: 41.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3957/0.5112, allocations: 89.09 MB / 0.5416 GB, free: 16.17 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.5115, allocations: 83.09 kB / 0.5417 GB, free: 16.17 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1471/0.6586, allocations: 62.4 MB / 0.6026 GB, free: 12.85 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.6586, allocations: 0 / 0.6026 GB, free: 12.85 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001165/0.6588, allocations: 48 kB / 0.6027 GB, free: 12.8 MB / 378.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.01335/0.6721, allocations: 3.167 MB / 0.6058 GB, free: 9.832 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.6722, allocations: 12.03 kB / 0.6058 GB, free: 9.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01019/0.6824, allocations: 1.933 MB / 0.6077 GB, free: 7.887 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005469/0.6879, allocations: 1.719 MB / 0.6093 GB, free: 6.582 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002589/0.6882, allocations: 224.1 kB / 0.6096 GB, free: 6.457 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002099/0.6903, allocations: 294.9 kB / 0.6098 GB, free: 6.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02107/0.7114, allocations: 7.55 MB / 0.6172 GB, free: 0.6914 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002353/0.7117, allocations: 23.8 kB / 0.6172 GB, free: 0.668 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001877/0.7136, allocations: 133 kB / 0.6174 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001717/0.7153, allocations: 0.8715 MB / 0.6182 GB, free: 15.91 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01718/0.7325, allocations: 7.068 MB / 0.6251 GB, free: 9.004 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04488/0.7774, allocations: 24.08 MB / 0.6486 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00593/0.7834, allocations: 2.366 MB / 0.6509 GB, free: 14.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009575/0.793, allocations: 4.748 MB / 0.6556 GB, free: 8.891 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.7931, allocations: 43.56 kB / 0.6556 GB, free: 8.836 MB / 426.7 MB Notification: Performance of pre-optimization done (n=128): time 4.819e-06/0.7931, allocations: 0 / 0.6556 GB, free: 8.836 MB / 426.7 MB Notification: Performance of matching and sorting (n=154): time 0.01662/0.8098, allocations: 7.362 MB / 0.6628 GB, free: 1.332 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.8099, allocations: 64.72 kB / 0.6629 GB, free: 1.254 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005958/0.8158, allocations: 2.305 MB / 0.6651 GB, free: 14.92 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000195/0.8161, allocations: 53.61 kB / 0.6652 GB, free: 14.86 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001947/0.818, allocations: 2.074 MB / 0.6672 GB, free: 12.76 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007495/0.8188, allocations: 0.5783 MB / 0.6678 GB, free: 12.17 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003706/0.8192, allocations: 76 kB / 0.6678 GB, free: 12.1 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003938/0.8196, allocations: 470.5 kB / 0.6683 GB, free: 11.63 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002637/0.8222, allocations: 1.288 MB / 0.6695 GB, free: 10.34 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003917/0.8262, allocations: 3.386 MB / 0.6729 GB, free: 5.918 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003605/0.8298, allocations: 2.112 MB / 0.6749 GB, free: 3.809 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.78e-05/0.8299, allocations: 20 kB / 0.6749 GB, free: 3.789 MB / 442.7 MB Notification: Performance of matching and sorting (n=510) (initialization): time 0.009227/0.8391, allocations: 4.752 MB / 0.6796 GB, free: 15.03 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.601e-05/0.8392, allocations: 36 kB / 0.6796 GB, free: 14.99 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001354/0.8394, allocations: 72 kB / 0.6797 GB, free: 14.92 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004586/0.8398, allocations: 196.8 kB / 0.6799 GB, free: 14.73 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002993/0.8428, allocations: 0.901 MB / 0.6807 GB, free: 13.82 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002209/0.8451, allocations: 2.188 MB / 0.6829 GB, free: 11.47 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002949/0.848, allocations: 207.9 kB / 0.6831 GB, free: 11.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006151/0.8487, allocations: 232 kB / 0.6833 GB, free: 11.04 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.00356/0.8522, allocations: 1.554 MB / 0.6848 GB, free: 9.473 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005573/0.8528, allocations: 225 kB / 0.685 GB, free: 9.25 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003868/0.8567, allocations: 1.943 MB / 0.6869 GB, free: 7.289 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001198/0.8568, allocations: 31.94 kB / 0.687 GB, free: 7.258 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/0.8568, allocations: 0 / 0.687 GB, free: 7.258 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.8569, allocations: 3.984 kB / 0.687 GB, free: 7.254 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01297/0.8698, allocations: 5.615 MB / 0.6924 GB, free: 1.512 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.8699, allocations: 3.938 kB / 0.6925 GB, free: 1.508 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/0.8709, allocations: 243.8 kB / 0.6927 GB, free: 1.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002607/0.8712, allocations: 76.8 kB / 0.6928 GB, free: 1.191 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001282/0.8714, allocations: 27.98 kB / 0.6928 GB, free: 1.164 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.288/1.159, allocations: 1.916 MB / 0.6947 GB, free: 114.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.159, allocations: 7.656 kB / 0.6947 GB, free: 114.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005096/1.165, allocations: 3.131 MB / 0.6977 GB, free: 113.9 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009626/1.166, allocations: 311 kB / 0.698 GB, free: 113.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002456/1.166, allocations: 24.44 kB / 0.698 GB, free: 113.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008469/1.167, allocations: 77.88 kB / 0.6981 GB, free: 113.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000197/1.167, allocations: 84.58 kB / 0.6982 GB, free: 113.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.266e-05/1.167, allocations: 40.97 kB / 0.6982 GB, free: 113.8 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002599/1.17, allocations: 1.643 MB / 0.6998 GB, free: 113.6 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.21e-07/1.17, allocations: 0 / 0.6998 GB, free: 113.6 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003126/1.173, allocations: 0.6662 MB / 0.7005 GB, free: 113.6 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.0003964/1.173, allocations: 161 kB / 0.7006 GB, free: 113.6 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00496/1.178, allocations: 3.092 MB / 0.7037 GB, free: 113.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.178, allocations: 0 / 0.7037 GB, free: 113.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001289/1.179, allocations: 0.9697 MB / 0.7046 GB, free: 113.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/1.181, allocations: 348.4 kB / 0.7049 GB, free: 113.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01334/1.195, allocations: 7.609 MB / 0.7124 GB, free: 110.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00318/1.198, allocations: 2.628 MB / 0.7149 GB, free: 109.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003455/1.201, allocations: 1.192 MB / 0.7161 GB, free: 109.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005431/1.202, allocations: 171.8 kB / 0.7163 GB, free: 109.5 MB / 458.7 MB Notification: Performance of SimCode: time 1.313e-06/1.202, allocations: 0 / 0.7163 GB, free: 109.5 MB / 458.7 MB Notification: Performance of Templates: time 0.0465/1.248, allocations: 22.77 MB / 0.7385 GB, free: 108.3 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)