Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.WheelBasedCranCrab.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.WheelBasedCranCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.WheelBasedCranCrab") translateModel(PlanarMechanics.Examples.WheelBasedCranCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.WheelBasedCranCrab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 172.7 kB / 16.11 MB, free: 5.695 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.375/1.375, allocations: 223.3 MB / 240.1 MB, free: 9.973 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.000797/0.0007969, allocations: 100.3 kB / 291.3 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.04113/0.04113, allocations: 8.948 MB / 351.4 MB, free: 14.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005394/0.0005394, allocations: 12 kB / 414.4 MB, free: 56.7 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0995/0.1001, allocations: 52.38 MB / 466.8 MB, free: 4.371 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3006/0.4007, allocations: 86.88 MB / 0.5407 GB, free: 14.63 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/0.401, allocations: 82.77 kB / 0.5408 GB, free: 14.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1561/0.5571, allocations: 62.19 MB / 0.6015 GB, free: 2.152 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.897e-06/0.5572, allocations: 0 / 0.6015 GB, free: 2.152 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001132/0.5573, allocations: 52 kB / 0.6015 GB, free: 2.102 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: 1171 * Number of variables: 1171 Notification: Performance of Generate backend data structure: time 0.01264/0.57, allocations: 3.308 MB / 0.6048 GB, free: 14.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.57, allocations: 8.031 kB / 0.6048 GB, free: 14.72 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009077/0.5791, allocations: 1.923 MB / 0.6067 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004803/0.584, allocations: 1.693 MB / 0.6083 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003194/0.5843, allocations: 217.9 kB / 0.6085 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001985/0.5863, allocations: 284.2 kB / 0.6088 GB, free: 10.56 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02182/0.6082, allocations: 7.936 MB / 0.6165 GB, free: 2.191 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002652/0.6085, allocations: 27.75 kB / 0.6166 GB, free: 2.164 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00205/0.6105, allocations: 131.9 kB / 0.6167 GB, free: 2.035 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001832/0.6124, allocations: 0.9543 MB / 0.6176 GB, free: 1.078 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0181/0.6305, allocations: 7.437 MB / 0.6249 GB, free: 9.629 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2522/0.8828, allocations: 26.3 MB / 0.6506 GB, free: 117.6 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006729/0.8896, allocations: 2.61 MB / 0.6531 GB, free: 117 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001311/0.8909, allocations: 0.8478 MB / 0.654 GB, free: 117 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007079/0.898, allocations: 5.763 MB / 0.6596 GB, free: 113.6 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/0.8981, allocations: 43.52 kB / 0.6596 GB, free: 113.6 MB / 458.7 MB Notification: Performance of pre-optimization done (n=141): time 5.019e-06/0.8981, allocations: 0 / 0.6596 GB, free: 113.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=156): time 0.01539/0.9135, allocations: 6.862 MB / 0.6663 GB, free: 112.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.9136, allocations: 65.25 kB / 0.6664 GB, free: 112.5 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004395/0.918, allocations: 2.601 MB / 0.6689 GB, free: 112.2 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002149/0.9182, allocations: 49.36 kB / 0.669 GB, free: 112.2 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00124/0.9195, allocations: 2.136 MB / 0.6711 GB, free: 111 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005476/0.92, allocations: 0.5862 MB / 0.6716 GB, free: 110.7 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.9202, allocations: 84.73 kB / 0.6717 GB, free: 110.7 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002146/0.9204, allocations: 487 kB / 0.6722 GB, free: 110.3 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001947/0.9224, allocations: 1.284 MB / 0.6734 GB, free: 110.3 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002713/0.9251, allocations: 3.685 MB / 0.677 GB, free: 107.2 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005335/0.9305, allocations: 5.391 MB / 0.6823 GB, free: 104.2 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-05/0.9306, allocations: 22.5 kB / 0.6823 GB, free: 104.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.007458/0.938, allocations: 5.043 MB / 0.6872 GB, free: 103.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.387e-05/0.9381, allocations: 46.81 kB / 0.6873 GB, free: 103.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.704e-05/0.9382, allocations: 82.12 kB / 0.6874 GB, free: 103.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005583/0.9388, allocations: 282.4 kB / 0.6876 GB, free: 103.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002326/0.9411, allocations: 0.9261 MB / 0.6885 GB, free: 103.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002797/0.9439, allocations: 2.932 MB / 0.6914 GB, free: 101.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002759/0.9467, allocations: 201.6 kB / 0.6916 GB, free: 101.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003112/0.947, allocations: 254.9 kB / 0.6918 GB, free: 101.3 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 384 * Number of states: 0 () * Number of discrete variables: 12 (body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (510): * Single equations (assignments): 505 * 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%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002264/0.9493, allocations: 1.606 MB / 0.6934 GB, free: 100.4 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003715/0.9497, allocations: 221.4 kB / 0.6936 GB, free: 100.3 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00272/0.9524, allocations: 1.943 MB / 0.6955 GB, free: 99.59 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.623e-05/0.9525, allocations: 27.42 kB / 0.6955 GB, free: 99.59 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.9525, allocations: 0 / 0.6955 GB, free: 99.59 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.9525, allocations: 10.12 kB / 0.6955 GB, free: 99.59 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008225/0.9607, allocations: 5.892 MB / 0.7013 GB, free: 97.19 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.9608, allocations: 6.75 kB / 0.7013 GB, free: 97.19 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000752/0.9615, allocations: 216.2 kB / 0.7015 GB, free: 97.17 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003846/0.9619, allocations: 175.3 kB / 0.7017 GB, free: 97.13 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.129e-05/0.962, allocations: 30.48 kB / 0.7017 GB, free: 97.12 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002054/0.9641, allocations: 2.407 MB / 0.7041 GB, free: 95.41 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.817e-06/0.9641, allocations: 9.969 kB / 0.7041 GB, free: 95.41 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003793/0.9679, allocations: 3.078 MB / 0.7071 GB, free: 94.02 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009039/0.9688, allocations: 311.3 kB / 0.7074 GB, free: 93.78 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00022/0.9691, allocations: 35.16 kB / 0.7074 GB, free: 93.76 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007448/0.9698, allocations: 60.12 kB / 0.7075 GB, free: 93.75 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/0.97, allocations: 97.69 kB / 0.7076 GB, free: 93.72 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.339e-05/0.9701, allocations: 47.73 kB / 0.7076 GB, free: 93.71 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002406/0.9725, allocations: 1.652 MB / 0.7092 GB, free: 93.08 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.9725, allocations: 3.281 kB / 0.7092 GB, free: 93.08 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003385/0.9759, allocations: 0.7017 MB / 0.7099 GB, free: 92.99 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 5 (idealRolling.frame_a.x,idealRolling.phi,body.w,revolute.phi,revolute.w) * 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 (117): * Single equations (assignments): 112 * 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%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000358/0.9763, allocations: 178.2 kB / 0.7101 GB, free: 92.87 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004665/0.981, allocations: 3.192 MB / 0.7132 GB, free: 91.72 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.981, allocations: 1.375 kB / 0.7132 GB, free: 91.72 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001336/0.9823, allocations: 0.9976 MB / 0.7142 GB, free: 91.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003374/0.9857, allocations: 352.7 kB / 0.7145 GB, free: 91.17 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/0.9971, allocations: 7.913 MB / 0.7222 GB, free: 86.86 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002358/0.9995, allocations: 2.587 MB / 0.7248 GB, free: 85.18 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002981/1.003, allocations: 1.261 MB / 0.726 GB, free: 84.39 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003642/1.003, allocations: 174.4 kB / 0.7262 GB, free: 84.23 MB / 458.7 MB Notification: Performance of SimCode: time 1.332e-06/1.003, allocations: 3.609 kB / 0.7262 GB, free: 84.23 MB / 458.7 MB Notification: Performance of Templates: time 0.03916/1.042, allocations: 23.45 MB / 0.7491 GB, free: 66.72 MB / 458.7 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.WheelBasedCranCrab.makefile (rm -f PlanarMechanics_PlanarMechanics.Examples.WheelBasedCranCrab.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.WheelBasedCranCrab.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.WheelBasedCranCrab.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.WheelBasedCranCrab.sim & ./PlanarMechanics_PlanarMechanics.Examples.WheelBasedCranCrab -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.WheelBasedCranCrab.pipe 2>&1)