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.004522/0.004522, allocations: 169.2 kB / 15.11 MB, free: 5.973 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.25/1.25, allocations: 223.2 MB / 239 MB, free: 64 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008278/0.0008278, allocations: 98.42 kB / 290.2 MB, free: 4.598 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.03921/0.03921, allocations: 8.933 MB / 350.3 MB, free: 4.156 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002871/0.000287, allocations: 8 kB / 413.2 MB, free: 5.141 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1742, allocations: 52.38 MB / 465.6 MB, free: 69.22 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07977/0.254, allocations: 86.82 MB / 0.5395 GB, free: 14.28 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001803/0.2542, allocations: 75.97 kB / 0.5396 GB, free: 14.21 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.283/0.5372, allocations: 62.73 MB / 0.6008 GB, free: 54.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5372, allocations: 0 / 0.6008 GB, free: 54.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.685e-05/0.5373, allocations: 48 kB / 0.6009 GB, free: 54.75 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: 1171 * Number of variables: 1171 Notification: Performance of Generate backend data structure: time 0.01179/0.5491, allocations: 3.465 MB / 0.6042 GB, free: 51.22 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.5492, allocations: 12.03 kB / 0.6043 GB, free: 51.21 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00164/0.5508, allocations: 0.5781 MB / 0.6048 GB, free: 50.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007512/0.5583, allocations: 1.927 MB / 0.6067 GB, free: 48.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003569/0.5619, allocations: 1.668 MB / 0.6083 GB, free: 46.97 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/0.5621, allocations: 213.6 kB / 0.6085 GB, free: 46.76 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007865/0.5629, allocations: 303.8 kB / 0.6088 GB, free: 46.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01092/0.5738, allocations: 7.95 MB / 0.6166 GB, free: 38.08 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.317e-05/0.5739, allocations: 31.72 kB / 0.6166 GB, free: 38.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004187/0.5743, allocations: 131.9 kB / 0.6167 GB, free: 37.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001024/0.5754, allocations: 0.9543 MB / 0.6177 GB, free: 36.96 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01043/0.5858, allocations: 7.476 MB / 0.625 GB, free: 29.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02615/0.612, allocations: 26.34 MB / 0.6507 GB, free: 2.547 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005421/0.6174, allocations: 2.602 MB / 0.6532 GB, free: 15.82 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006677/0.6241, allocations: 5.792 MB / 0.6589 GB, free: 9.387 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.6242, allocations: 51.56 kB / 0.6589 GB, free: 9.328 MB / 394.7 MB Notification: Performance of pre-optimization done (n=141): time 4.108e-06/0.6242, allocations: 0 / 0.6589 GB, free: 9.328 MB / 394.7 MB Notification: Performance of matching and sorting (n=156): time 0.01436/0.6386, allocations: 7.211 MB / 0.666 GB, free: 1.945 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.6386, allocations: 68.72 kB / 0.666 GB, free: 1.867 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004409/0.6431, allocations: 2.337 MB / 0.6683 GB, free: 15.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001954/0.6433, allocations: 45.7 kB / 0.6684 GB, free: 15.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001458/0.6448, allocations: 2.143 MB / 0.6705 GB, free: 13.28 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006578/0.6454, allocations: 0.5783 MB / 0.671 GB, free: 12.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003349/0.6458, allocations: 84 kB / 0.6711 GB, free: 12.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003322/0.6461, allocations: 491.2 kB / 0.6716 GB, free: 12.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002242/0.6484, allocations: 1.285 MB / 0.6728 GB, free: 10.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003438/0.6518, allocations: 3.664 MB / 0.6764 GB, free: 5.961 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003066/0.6549, allocations: 2.178 MB / 0.6785 GB, free: 3.785 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.554e-05/0.655, allocations: 24 kB / 0.6786 GB, free: 3.762 MB / 410.7 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.007909/0.6629, allocations: 5.048 MB / 0.6835 GB, free: 14.71 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.594e-05/0.663, allocations: 40 kB / 0.6835 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.473e-05/0.6631, allocations: 85.16 kB / 0.6836 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006122/0.6637, allocations: 284.7 kB / 0.6839 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00258/0.6663, allocations: 0.9319 MB / 0.6848 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003303/0.6696, allocations: 2.995 MB / 0.6877 GB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002483/0.6721, allocations: 199.9 kB / 0.6879 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003734/0.6725, allocations: 252 kB / 0.6881 GB, free: 9.797 MB / 426.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.00229/0.6748, allocations: 1.604 MB / 0.6897 GB, free: 8.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003403/0.6752, allocations: 225 kB / 0.6899 GB, free: 7.957 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003062/0.6782, allocations: 1.936 MB / 0.6918 GB, free: 6.012 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000102/0.6783, allocations: 35.92 kB / 0.6919 GB, free: 5.977 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.6784, allocations: 0 / 0.6919 GB, free: 5.977 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.6784, allocations: 7.984 kB / 0.6919 GB, free: 5.969 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01131/0.6897, allocations: 5.903 MB / 0.6976 GB, free: 15.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/0.6897, allocations: 4 kB / 0.6976 GB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008528/0.6906, allocations: 215.7 kB / 0.6978 GB, free: 15.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004652/0.6911, allocations: 160.7 kB / 0.698 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/0.6912, allocations: 32 kB / 0.698 GB, free: 15.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002572/0.6938, allocations: 2.476 MB / 0.7004 GB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.6938, allocations: 4 kB / 0.7004 GB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004346/0.6982, allocations: 3.471 MB / 0.7038 GB, free: 9.168 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007194/0.6989, allocations: 310.2 kB / 0.7041 GB, free: 8.844 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004104/0.6993, allocations: 28 kB / 0.7042 GB, free: 8.816 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008781/0.7002, allocations: 67.75 kB / 0.7042 GB, free: 8.754 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/0.7004, allocations: 100.7 kB / 0.7043 GB, free: 8.656 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.224e-05/0.7005, allocations: 47.98 kB / 0.7044 GB, free: 8.609 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002607/0.7031, allocations: 1.653 MB / 0.706 GB, free: 6.941 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.7031, allocations: 0 / 0.706 GB, free: 6.941 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002986/0.7061, allocations: 0.6875 MB / 0.7066 GB, free: 6.254 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 () * 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.005228/0.7113, allocations: 5.427 MB / 0.7119 GB, free: 0.6484 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004849/0.7162, allocations: 3.196 MB / 0.7151 GB, free: 13.46 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.7162, allocations: 0.5625 kB / 0.7151 GB, free: 13.46 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001331/0.7175, allocations: 0.994 MB / 0.716 GB, free: 12.45 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/0.7191, allocations: 351.5 kB / 0.7164 GB, free: 12.11 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2145/0.9336, allocations: 78.85 MB / 0.7934 GB, free: 72.11 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002912/0.9366, allocations: 2.651 MB / 0.796 GB, free: 71.36 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003079/0.9397, allocations: 1.262 MB / 0.7972 GB, free: 71.33 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001469/0.9412, allocations: 1.301 MB / 0.7985 GB, free: 71.32 MB / 458.7 MB Notification: Performance of SimCode: time 6.31e-07/0.9412, allocations: 0 / 0.7985 GB, free: 71.32 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06913/1.01, allocations: 52.07 MB / 0.8493 GB, free: 39.55 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001501/1.01, allocations: 186.7 kB / 0.8495 GB, free: 39.31 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.951/3.961, allocations: 0 / 0.8495 GB, free: 39.31 MB / 458.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)