Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.CraneCrab.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.CraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CraneCrab") translateModel(PlanarMechanics.Examples.CraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CraneCrab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008/0.008, allocations: 172 kB / 15.11 MB, free: 5.969 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.474/1.474, allocations: 223.2 MB / 239 MB, free: 1.809 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.000958/0.000958, allocations: 106.7 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.04087/0.04087, allocations: 8.941 MB / 350.3 MB, free: 2.09 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000336/0.0003363, allocations: 9.094 kB / 413.1 MB, free: 88.67 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1102, allocations: 52.4 MB / 465.5 MB, free: 41.74 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4069/0.5171, allocations: 88.18 MB / 0.5407 GB, free: 16.3 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001999/0.5174, allocations: 79.86 kB / 0.5408 GB, free: 16.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1399/0.6573, allocations: 61.57 MB / 0.6009 GB, free: 13.81 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6574, allocations: 0 / 0.6009 GB, free: 13.81 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.367e-05/0.6574, allocations: 48.62 kB / 0.601 GB, free: 13.81 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: 1144 * Number of variables: 1144 Notification: Performance of Generate backend data structure: time 0.0112/0.6687, allocations: 3.113 MB / 0.604 GB, free: 11.36 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.6687, allocations: 8.031 kB / 0.604 GB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009217/0.6779, allocations: 1.931 MB / 0.6059 GB, free: 9.422 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005864/0.6838, allocations: 1.701 MB / 0.6076 GB, free: 8.137 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000245/0.6841, allocations: 225.7 kB / 0.6078 GB, free: 8.012 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002006/0.6861, allocations: 289.5 kB / 0.6081 GB, free: 7.824 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01632/0.7025, allocations: 7.488 MB / 0.6154 GB, free: 2.301 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001018/0.7026, allocations: 19.81 kB / 0.6154 GB, free: 2.281 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004585/0.7031, allocations: 133.4 kB / 0.6155 GB, free: 2.246 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001298/0.7044, allocations: 0.8705 MB / 0.6164 GB, free: 1.527 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01428/0.7187, allocations: 7.025 MB / 0.6232 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0382/0.7569, allocations: 23.82 MB / 0.6465 GB, free: 2.641 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004945/0.7619, allocations: 2.378 MB / 0.6488 GB, free: 152 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007125/0.7691, allocations: 4.598 MB / 0.6533 GB, free: 11.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/0.7691, allocations: 47.56 kB / 0.6533 GB, free: 11.14 MB / 426.7 MB Notification: Performance of pre-optimization done (n=129): time 5.069e-06/0.7692, allocations: 0 / 0.6533 GB, free: 11.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=153): time 0.01435/0.7835, allocations: 7.167 MB / 0.6603 GB, free: 3.84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.7836, allocations: 68.72 kB / 0.6604 GB, free: 3.758 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003643/0.7873, allocations: 2.28 MB / 0.6626 GB, free: 1.449 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001351/0.7874, allocations: 49.38 kB / 0.6627 GB, free: 1.398 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001302/0.7887, allocations: 2.049 MB / 0.6647 GB, free: 15.34 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005502/0.7893, allocations: 0.5711 MB / 0.6652 GB, free: 14.77 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.7895, allocations: 76 kB / 0.6653 GB, free: 14.7 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002643/0.7897, allocations: 474.5 kB / 0.6658 GB, free: 14.23 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002219/0.7919, allocations: 1.249 MB / 0.667 GB, free: 12.98 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003812/0.7958, allocations: 3.323 MB / 0.6702 GB, free: 8.637 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003258/0.7991, allocations: 2.051 MB / 0.6722 GB, free: 6.586 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.499e-05/0.7991, allocations: 20 kB / 0.6722 GB, free: 6.566 MB / 442.7 MB Notification: Performance of matching and sorting (n=505) (initialization): time 0.008068/0.8072, allocations: 4.749 MB / 0.6769 GB, free: 1.816 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.81e-05/0.8073, allocations: 39.94 kB / 0.6769 GB, free: 1.777 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.819e-05/0.8073, allocations: 80.09 kB / 0.677 GB, free: 1.699 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000737/0.8081, allocations: 316.6 kB / 0.6773 GB, free: 1.387 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002437/0.8105, allocations: 0.8422 MB / 0.6781 GB, free: 0.543 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004223/0.8148, allocations: 3.411 MB / 0.6815 GB, free: 13 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002921/0.8177, allocations: 183.9 kB / 0.6816 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004378/0.8182, allocations: 228 kB / 0.6818 GB, free: 12.6 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 333 * 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 (461): * Single equations (assignments): 456 * 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 {(2,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002968/0.8211, allocations: 1.55 MB / 0.6834 GB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003927/0.8215, allocations: 213.2 kB / 0.6836 GB, free: 10.83 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004011/0.8256, allocations: 1.974 MB / 0.6855 GB, free: 8.84 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001415/0.8257, allocations: 31.98 kB / 0.6855 GB, free: 8.809 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.461e-05/0.8257, allocations: 8 kB / 0.6855 GB, free: 8.801 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.907e-05/0.8258, allocations: 3.984 kB / 0.6855 GB, free: 8.797 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01089/0.8367, allocations: 5.649 MB / 0.6911 GB, free: 3.059 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.8367, allocations: 4 kB / 0.6911 GB, free: 3.055 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007975/0.8375, allocations: 199.7 kB / 0.6912 GB, free: 2.859 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005505/0.8381, allocations: 214.5 kB / 0.6915 GB, free: 2.648 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-05/0.8382, allocations: 31.94 kB / 0.6915 GB, free: 2.617 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2797/1.118, allocations: 2.774 MB / 0.6942 GB, free: 115.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/1.118, allocations: 3.719 kB / 0.6942 GB, free: 115.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004943/1.123, allocations: 3.246 MB / 0.6974 GB, free: 115 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009471/1.124, allocations: 310.4 kB / 0.6977 GB, free: 114.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002237/1.124, allocations: 26.44 kB / 0.6977 GB, free: 114.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008107/1.125, allocations: 62.55 kB / 0.6977 GB, free: 114.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001715/1.125, allocations: 89.58 kB / 0.6978 GB, free: 114.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/1.125, allocations: 44.2 kB / 0.6979 GB, free: 114.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002605/1.128, allocations: 1.63 MB / 0.6995 GB, free: 114.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.128, allocations: 0 / 0.6995 GB, free: 114.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003064/1.131, allocations: 0.6811 MB / 0.7001 GB, free: 114.8 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 4 (revolute.phi,revolute.w,damper1D.s_rel,damper1D.v_rel) * 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 (112): * Single equations (assignments): 107 * 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 {(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003623/1.131, allocations: 169.5 kB / 0.7003 GB, free: 114.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004656/1.136, allocations: 3.075 MB / 0.7033 GB, free: 114.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/1.136, allocations: 0 / 0.7033 GB, free: 114.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001228/1.137, allocations: 1.012 MB / 0.7043 GB, free: 114.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001904/1.139, allocations: 341 kB / 0.7046 GB, free: 114.4 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01288/1.152, allocations: 7.666 MB / 0.7121 GB, free: 111.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003027/1.155, allocations: 2.621 MB / 0.7147 GB, free: 110.6 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003127/1.158, allocations: 1.179 MB / 0.7158 GB, free: 110.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004666/1.159, allocations: 164 kB / 0.716 GB, free: 110.5 MB / 458.7 MB Notification: Performance of SimCode: time 8.42e-07/1.159, allocations: 0 / 0.716 GB, free: 110.5 MB / 458.7 MB Notification: Performance of Templates: time 0.05049/1.209, allocations: 23.59 MB / 0.739 GB, free: 109.3 MB / 458.7 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.CraneCrab.makefile (rm -f PlanarMechanics_PlanarMechanics.Examples.CraneCrab.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.CraneCrab.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.CraneCrab.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.CraneCrab.sim & ./PlanarMechanics_PlanarMechanics.Examples.CraneCrab -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.CraneCrab.pipe 2>&1)