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.001041/0.001041, allocations: 176.1 kB / 7.643 MB, free: 1.414 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.329/1.329, allocations: 221.5 MB / 229.6 MB, free: 7.574 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.0008559/0.0008558, allocations: 88.05 kB / 280.5 MB, free: 5.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.03793/0.03793, allocations: 8.829 MB / 340.1 MB, free: 6.395 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.211e-05/1.212e-05, allocations: 1.219 kB / 398.7 MB, free: 47.63 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09087/0.09089, allocations: 52.4 MB / 451.1 MB, free: 4.543 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3182/0.4091, allocations: 87.45 MB / 0.5259 GB, free: 80.73 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/0.4094, allocations: 72.48 kB / 0.526 GB, free: 80.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.135/0.5443, allocations: 60.15 MB / 0.5847 GB, free: 30.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5444, allocations: 0 / 0.5847 GB, free: 30.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001363/0.5445, allocations: 55.94 kB / 0.5848 GB, free: 30.25 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: 1144 * Number of variables: 1144 Notification: Performance of Generate backend data structure: time 0.01128/0.5558, allocations: 3.016 MB / 0.5877 GB, free: 27.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.5559, allocations: 8.031 kB / 0.5877 GB, free: 27.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009383/0.5653, allocations: 1.931 MB / 0.5896 GB, free: 25.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004577/0.5699, allocations: 1.7 MB / 0.5913 GB, free: 23.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001998/0.5701, allocations: 92 kB / 0.5913 GB, free: 23.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002061/0.5722, allocations: 172 kB / 0.5915 GB, free: 23.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008692/0.5809, allocations: 5.216 MB / 0.5966 GB, free: 18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01342/0.5944, allocations: 6.893 MB / 0.6033 GB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001256/0.5945, allocations: 31.72 kB / 0.6034 GB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008884/0.5954, allocations: 8 kB / 0.6034 GB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001184/0.5966, allocations: 0.8648 MB / 0.6042 GB, free: 9.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03228/0.6289, allocations: 23.05 MB / 0.6267 GB, free: 2.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003549/0.6325, allocations: 2.233 MB / 0.6289 GB, free: 15.92 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001167/0.6337, allocations: 0.7398 MB / 0.6296 GB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006936/0.6407, allocations: 4.14 MB / 0.6337 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.6408, allocations: 39.88 kB / 0.6337 GB, free: 10.66 MB / 394.7 MB Notification: Performance of pre-optimization done (n=129): time 4.087e-06/0.6408, allocations: 4 kB / 0.6337 GB, free: 10.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=153): time 0.01122/0.652, allocations: 5.609 MB / 0.6392 GB, free: 4.977 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/0.6521, allocations: 68.72 kB / 0.6393 GB, free: 4.895 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00364/0.6558, allocations: 1.85 MB / 0.6411 GB, free: 3.047 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001412/0.6559, allocations: 29.7 kB / 0.6411 GB, free: 3.012 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001503/0.6574, allocations: 2.111 MB / 0.6432 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005989/0.658, allocations: 0.555 MB / 0.6437 GB, free: 312 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00026/0.6583, allocations: 0 / 0.6437 GB, free: 312 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004055/0.6587, allocations: 0.5114 MB / 0.6442 GB, free: 15.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002045/0.6608, allocations: 1.207 MB / 0.6454 GB, free: 14.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004068/0.6649, allocations: 3.405 MB / 0.6487 GB, free: 10.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003257/0.6682, allocations: 2.064 MB / 0.6507 GB, free: 7.992 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.423e-05/0.6682, allocations: 20 kB / 0.6507 GB, free: 7.973 MB / 410.7 MB Notification: Performance of matching and sorting (n=529) (initialization): time 0.008513/0.6768, allocations: 4.382 MB / 0.655 GB, free: 3.582 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.913e-05/0.6769, allocations: 41.09 kB / 0.6551 GB, free: 3.543 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001151/0.677, allocations: 76 kB / 0.6551 GB, free: 3.469 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008061/0.6778, allocations: 327.6 kB / 0.6554 GB, free: 3.148 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003031/0.6809, allocations: 0.8851 MB / 0.6563 GB, free: 2.262 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003957/0.6848, allocations: 3.212 MB / 0.6594 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002524/0.6874, allocations: 111.9 kB / 0.6595 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005369/0.6879, allocations: 240 kB / 0.6598 GB, free: 14.59 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 357 * 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 (485): * Single equations (assignments): 480 * 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.0006376/0.6886, allocations: 306.9 kB / 0.6601 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000347/0.6889, allocations: 189.5 kB / 0.6602 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002989/0.6919, allocations: 1.799 MB / 0.662 GB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001094/0.6921, allocations: 31.98 kB / 0.662 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.6921, allocations: 352 / 0.662 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.367e-05/0.6921, allocations: 7.984 kB / 0.662 GB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01153/0.7037, allocations: 4.734 MB / 0.6667 GB, free: 7.414 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/0.7037, allocations: 11.92 kB / 0.6667 GB, free: 7.402 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008747/0.7046, allocations: 200 kB / 0.6669 GB, free: 7.207 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005483/0.7052, allocations: 200.7 kB / 0.6671 GB, free: 7.008 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.913e-05/0.7053, allocations: 11.95 kB / 0.6671 GB, free: 6.996 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003054/0.7083, allocations: 2.587 MB / 0.6696 GB, free: 4.289 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.7084, allocations: 4 kB / 0.6696 GB, free: 4.285 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004269/0.7127, allocations: 3.042 MB / 0.6726 GB, free: 1.125 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007329/0.7134, allocations: 274.8 kB / 0.6728 GB, free: 0.8359 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004378/0.7139, allocations: 4 kB / 0.6728 GB, free: 0.832 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009535/0.7148, allocations: 43.92 kB / 0.6729 GB, free: 0.7891 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000187/0.715, allocations: 89.06 kB / 0.673 GB, free: 0.7031 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.499e-05/0.7151, allocations: 43.98 kB / 0.673 GB, free: 0.6602 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002775/0.7179, allocations: 1.244 MB / 0.6742 GB, free: 15.43 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.7179, allocations: 0 / 0.6742 GB, free: 15.43 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003871/0.7218, allocations: 0.5937 MB / 0.6748 GB, free: 14.83 MB / 442.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 () * 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.000512/0.7223, allocations: 147.1 kB / 0.6749 GB, free: 14.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005066/0.7274, allocations: 2.918 MB / 0.6778 GB, free: 11.77 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.7274, allocations: 0 / 0.6778 GB, free: 11.77 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001431/0.7289, allocations: 0.9455 MB / 0.6787 GB, free: 10.82 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/0.7303, allocations: 202.7 kB / 0.6789 GB, free: 10.62 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01285/0.7432, allocations: 5.114 MB / 0.6839 GB, free: 5.43 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003906/0.7471, allocations: 2.622 MB / 0.6865 GB, free: 2.777 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003556/0.7507, allocations: 1.182 MB / 0.6876 GB, free: 1.59 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005697/0.7513, allocations: 151.4 kB / 0.6878 GB, free: 1.441 MB / 442.7 MB Notification: Performance of SimCode: time 1.072e-06/0.7513, allocations: 0 / 0.6878 GB, free: 1.441 MB / 442.7 MB Notification: Performance of Templates: time 0.2664/1.018, allocations: 18.62 MB / 0.7059 GB, free: 113.3 MB / 442.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)