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: "" <> buildModelFMU(PlanarMechanics.Examples.WheelBasedCranCrab,fileNamePrefix="PlanarMechanics_PlanarMechanics_Examples_WheelBasedCranCrab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PlanarMechanics.Examples.WheelBasedCranCrab,fileNamePrefix="PlanarMechanics_PlanarMechanics_Examples_WheelBasedCranCrab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 176.2 kB / 7.648 MB, free: 1.422 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.36/1.36, allocations: 221.5 MB / 229.6 MB, free: 7.59 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.000952/0.0009517, allocations: 92.08 kB / 280.5 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.03808/0.03808, allocations: 8.836 MB / 340.1 MB, free: 6.414 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.687e-05/2.688e-05, allocations: 6.625 kB / 398.8 MB, free: 47.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09066/0.09071, allocations: 52.4 MB / 451.2 MB, free: 4.461 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3604/0.4511, allocations: 86.09 MB / 0.5247 GB, free: 80.14 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/0.4515, allocations: 76.06 kB / 0.5247 GB, free: 80.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.137/0.5885, allocations: 61.4 MB / 0.5847 GB, free: 30.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.5885, allocations: 0 / 0.5847 GB, free: 30.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.483e-05/0.5886, allocations: 48 kB / 0.5847 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: 1171 * Number of variables: 1171 Notification: Performance of Generate backend data structure: time 0.01161/0.6003, allocations: 3.375 MB / 0.588 GB, free: 26.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.6003, allocations: 16.02 kB / 0.5881 GB, free: 26.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009016/0.6093, allocations: 1.922 MB / 0.5899 GB, free: 24.87 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004271/0.6137, allocations: 1.671 MB / 0.5916 GB, free: 23.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001586/0.6138, allocations: 92 kB / 0.5917 GB, free: 23.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001335/0.6152, allocations: 171.9 kB / 0.5918 GB, free: 22.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007944/0.6231, allocations: 5.45 MB / 0.5971 GB, free: 17.44 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01406/0.6372, allocations: 7.302 MB / 0.6043 GB, free: 9.711 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001999/0.6375, allocations: 31.7 kB / 0.6043 GB, free: 9.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001101/0.6386, allocations: 12 kB / 0.6043 GB, free: 9.668 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001461/0.6401, allocations: 0.9583 MB / 0.6053 GB, free: 8.707 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04316/0.6833, allocations: 25.27 MB / 0.6299 GB, free: 14.87 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004159/0.6875, allocations: 2.222 MB / 0.6321 GB, free: 12.53 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001606/0.6891, allocations: 0.7909 MB / 0.6329 GB, free: 11.74 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00924/0.6984, allocations: 5.662 MB / 0.6384 GB, free: 5.43 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.982e-05/0.6985, allocations: 47.81 kB / 0.6384 GB, free: 5.375 MB / 394.7 MB Notification: Performance of pre-optimization done (n=141): time 6.732e-06/0.6985, allocations: 4 kB / 0.6384 GB, free: 5.371 MB / 394.7 MB Notification: Performance of matching and sorting (n=156): time 0.01278/0.7113, allocations: 5.559 MB / 0.6439 GB, free: 15.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.7114, allocations: 64.72 kB / 0.6439 GB, free: 15.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003621/0.7151, allocations: 1.94 MB / 0.6458 GB, free: 13.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001716/0.7153, allocations: 25.7 kB / 0.6459 GB, free: 13.63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001555/0.7168, allocations: 2.196 MB / 0.648 GB, free: 11.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006285/0.7175, allocations: 0.5744 MB / 0.6486 GB, free: 10.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001587/0.7176, allocations: 0 / 0.6486 GB, free: 10.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003982/0.718, allocations: 0.524 MB / 0.6491 GB, free: 10.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001971/0.72, allocations: 1.235 MB / 0.6503 GB, free: 9.039 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003892/0.7239, allocations: 3.737 MB / 0.6539 GB, free: 4.035 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003535/0.7275, allocations: 2.198 MB / 0.6561 GB, free: 1.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.835e-05/0.7276, allocations: 28 kB / 0.6561 GB, free: 1.812 MB / 410.7 MB Notification: Performance of matching and sorting (n=574) (initialization): time 0.01304/0.7406, allocations: 4.612 MB / 0.6606 GB, free: 13.19 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.523e-05/0.7408, allocations: 48.16 kB / 0.6607 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001468/0.7409, allocations: 92 kB / 0.6607 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009666/0.7419, allocations: 282.7 kB / 0.661 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005111/0.747, allocations: 0.9825 MB / 0.662 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005272/0.7523, allocations: 2.846 MB / 0.6647 GB, free: 8.836 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00497/0.7574, allocations: 119.9 kB / 0.6649 GB, free: 8.719 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009637/0.7584, allocations: 264 kB / 0.6651 GB, free: 8.461 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 408 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (534): * Single equations (assignments): 529 * 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.0008803/0.7592, allocations: 330.5 kB / 0.6654 GB, free: 8.129 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004029/0.7633, allocations: 1.604 MB / 0.667 GB, free: 6.512 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004466/0.7638, allocations: 193.5 kB / 0.6672 GB, free: 6.32 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004385/0.7682, allocations: 1.761 MB / 0.6689 GB, free: 4.551 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001566/0.7683, allocations: 31.92 kB / 0.6689 GB, free: 4.52 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.7684, allocations: 4 kB / 0.6689 GB, free: 4.516 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.126e-05/0.7684, allocations: 7.969 kB / 0.6689 GB, free: 4.508 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01317/0.7816, allocations: 4.967 MB / 0.6738 GB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.852e-05/0.7816, allocations: 4 kB / 0.6738 GB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/0.7829, allocations: 211.7 kB / 0.674 GB, free: 15.17 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006412/0.7836, allocations: 169.2 kB / 0.6742 GB, free: 15 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000116/0.7837, allocations: 19.98 kB / 0.6742 GB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003854/0.7876, allocations: 2.3 MB / 0.6764 GB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.485e-05/0.7877, allocations: 7.953 kB / 0.6764 GB, free: 12.56 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005927/0.7936, allocations: 3.256 MB / 0.6796 GB, free: 9.031 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009253/0.7946, allocations: 278.6 kB / 0.6799 GB, free: 8.738 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005432/0.7951, allocations: 8 kB / 0.6799 GB, free: 8.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/0.7964, allocations: 43.92 kB / 0.6799 GB, free: 8.688 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002592/0.7967, allocations: 105 kB / 0.68 GB, free: 8.586 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001294/0.7968, allocations: 47.98 kB / 0.6801 GB, free: 8.539 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003632/0.8005, allocations: 1.289 MB / 0.6813 GB, free: 7.223 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.8005, allocations: 0 / 0.6813 GB, free: 7.223 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005109/0.8056, allocations: 0.5976 MB / 0.6819 GB, free: 6.625 MB / 442.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 () * 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.006293/0.8119, allocations: 5.231 MB / 0.687 GB, free: 1.215 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.2654/1.077, allocations: 3 MB / 0.69 GB, free: 119.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.267e-05/1.077, allocations: 1.281 kB / 0.69 GB, free: 119.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001449/1.079, allocations: 0.9403 MB / 0.6909 GB, free: 119.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/1.08, allocations: 205.4 kB / 0.6911 GB, free: 119.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01406/1.094, allocations: 6.269 MB / 0.6972 GB, free: 118.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003124/1.097, allocations: 2.639 MB / 0.6998 GB, free: 117.4 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002951/1.1, allocations: 1.265 MB / 0.701 GB, free: 117.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001536/1.102, allocations: 1.313 MB / 0.7023 GB, free: 117.4 MB / 442.7 MB Notification: Performance of SimCode: time 8.81e-07/1.102, allocations: 6.25 kB / 0.7023 GB, free: 117.4 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07696/1.179, allocations: 46.22 MB / 0.7474 GB, free: 93.76 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/1.179, allocations: 141.9 kB / 0.7476 GB, free: 93.56 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.139/4.319, allocations: 0 / 0.7476 GB, free: 93.56 MB / 442.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PlanarMechanics_PlanarMechanics_Examples_WheelBasedCranCrab_fmu --startTime=0 --stopTime=4.5 --timeout=50 --tolerance=1e-06 PlanarMechanics_PlanarMechanics_Examples_WheelBasedCranCrab.fmu > PlanarMechanics_PlanarMechanics.Examples.WheelBasedCranCrab.pipe 2>&1)