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.001595/0.001595, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.38/1.38, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.000893/0.0008931, allocations: 92.56 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.05883/0.05883, allocations: 8.834 MB / 345.3 MB, free: 1.293 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.908e-05/2.917e-05, allocations: 4 kB / 405.7 MB, free: 61.28 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09732/0.09737, allocations: 52.39 MB / 458.1 MB, free: 8.949 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3884/0.4858, allocations: 86.77 MB / 0.5321 GB, free: 15.01 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/0.4861, allocations: 71.72 kB / 0.5321 GB, free: 14.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1541/0.6401, allocations: 62.78 MB / 0.5934 GB, free: 6.246 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6402, allocations: 0 / 0.5934 GB, free: 6.246 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.634e-05/0.6403, allocations: 52 kB / 0.5935 GB, free: 6.195 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.01294/0.6532, allocations: 3.383 MB / 0.5968 GB, free: 2.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.6533, allocations: 16.03 kB / 0.5968 GB, free: 2.734 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002176/0.6555, allocations: 0.5742 MB / 0.5974 GB, free: 2.148 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009034/0.6645, allocations: 1.919 MB / 0.5992 GB, free: 228 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005204/0.6698, allocations: 1.68 MB / 0.6009 GB, free: 14.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000229/0.67, allocations: 213.6 kB / 0.6011 GB, free: 14.29 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001417/0.6715, allocations: 287.8 kB / 0.6014 GB, free: 14 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01771/0.6892, allocations: 7.888 MB / 0.6091 GB, free: 5.684 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.085e-05/0.6893, allocations: 27.72 kB / 0.6091 GB, free: 5.656 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004493/0.6898, allocations: 131.9 kB / 0.6092 GB, free: 5.527 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001336/0.6911, allocations: 0.9543 MB / 0.6101 GB, free: 4.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01506/0.7062, allocations: 7.36 MB / 0.6173 GB, free: 13.2 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03889/0.7451, allocations: 26.34 MB / 0.643 GB, free: 2.273 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2724/1.018, allocations: 2.568 MB / 0.6456 GB, free: 124.1 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001938/1.02, allocations: 0.8286 MB / 0.6464 GB, free: 124.1 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008781/1.028, allocations: 5.782 MB / 0.652 GB, free: 120.7 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.432e-05/1.028, allocations: 45.28 kB / 0.6521 GB, free: 120.7 MB / 458.7 MB Notification: Performance of pre-optimization done (n=141): time 4.989e-06/1.028, allocations: 0 / 0.6521 GB, free: 120.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=156): time 0.01478/1.043, allocations: 6.185 MB / 0.6581 GB, free: 119.7 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/1.043, allocations: 64.09 kB / 0.6582 GB, free: 119.6 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004267/1.048, allocations: 2.311 MB / 0.6604 GB, free: 119.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001519/1.048, allocations: 44.31 kB / 0.6605 GB, free: 119.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001443/1.049, allocations: 2.14 MB / 0.6625 GB, free: 118.2 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006466/1.05, allocations: 0.586 MB / 0.6631 GB, free: 117.8 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/1.05, allocations: 80.41 kB / 0.6632 GB, free: 117.8 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002952/1.05, allocations: 494 kB / 0.6637 GB, free: 117.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002104/1.052, allocations: 1.236 MB / 0.6649 GB, free: 117.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003421/1.056, allocations: 3.631 MB / 0.6684 GB, free: 114.4 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003174/1.059, allocations: 2.153 MB / 0.6705 GB, free: 114.4 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-05/1.059, allocations: 26.66 kB / 0.6705 GB, free: 114.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.008849/1.068, allocations: 4.954 MB / 0.6754 GB, free: 113.9 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.241e-05/1.068, allocations: 48.89 kB / 0.6754 GB, free: 113.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-05/1.068, allocations: 81.84 kB / 0.6755 GB, free: 113.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006127/1.069, allocations: 291 kB / 0.6758 GB, free: 113.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002563/1.071, allocations: 0.9333 MB / 0.6767 GB, free: 113.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002947/1.074, allocations: 2.911 MB / 0.6795 GB, free: 112.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002987/1.077, allocations: 197 kB / 0.6797 GB, free: 112.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003816/1.078, allocations: 251.4 kB / 0.68 GB, free: 112.2 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 () * 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.0005279/1.078, allocations: 415.5 kB / 0.6804 GB, free: 111.9 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00031/1.079, allocations: 229.1 kB / 0.6806 GB, free: 111.7 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002751/1.081, allocations: 1.899 MB / 0.6824 GB, free: 111.1 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.663e-05/1.081, allocations: 26.62 kB / 0.6825 GB, free: 111.1 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/1.081, allocations: 3.812 kB / 0.6825 GB, free: 111.1 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/1.081, allocations: 10.75 kB / 0.6825 GB, free: 111.1 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008706/1.09, allocations: 5.85 MB / 0.6882 GB, free: 108.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/1.09, allocations: 3.656 kB / 0.6882 GB, free: 108.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007832/1.091, allocations: 214.3 kB / 0.6884 GB, free: 108.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000407/1.091, allocations: 172.8 kB / 0.6886 GB, free: 108.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.407e-05/1.092, allocations: 33.03 kB / 0.6886 GB, free: 108.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002156/1.094, allocations: 2.404 MB / 0.6909 GB, free: 106.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/1.094, allocations: 11.14 kB / 0.691 GB, free: 106.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003754/1.097, allocations: 3.405 MB / 0.6943 GB, free: 105.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007641/1.098, allocations: 316.2 kB / 0.6946 GB, free: 104.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002315/1.099, allocations: 27.38 kB / 0.6946 GB, free: 104.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000818/1.099, allocations: 60.27 kB / 0.6947 GB, free: 104.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/1.1, allocations: 98.36 kB / 0.6948 GB, free: 104.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.03e-05/1.1, allocations: 45.89 kB / 0.6948 GB, free: 104.8 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002317/1.102, allocations: 1.629 MB / 0.6964 GB, free: 104.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.8e-07/1.102, allocations: 3.938 kB / 0.6964 GB, free: 104.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003475/1.105, allocations: 0.6993 MB / 0.6971 GB, free: 104 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 () * 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.004905/1.11, allocations: 5.362 MB / 0.7023 GB, free: 100.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005983/1.116, allocations: 3.123 MB / 0.7054 GB, free: 99.21 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/1.116, allocations: 3.406 kB / 0.7054 GB, free: 99.21 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001256/1.118, allocations: 0.9778 MB / 0.7063 GB, free: 98.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001978/1.12, allocations: 348.3 kB / 0.7067 GB, free: 98.68 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01327/1.133, allocations: 6.456 MB / 0.713 GB, free: 95.44 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002105/1.135, allocations: 2.644 MB / 0.7155 GB, free: 93.35 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002849/1.138, allocations: 1.268 MB / 0.7168 GB, free: 92.55 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001384/1.139, allocations: 1.298 MB / 0.718 GB, free: 91.36 MB / 458.7 MB Notification: Performance of SimCode: time 9.62e-07/1.139, allocations: 0 / 0.718 GB, free: 91.36 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07011/1.209, allocations: 52.43 MB / 0.7692 GB, free: 45.86 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001443/1.21, allocations: 171.5 kB / 0.7694 GB, free: 45.63 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.151/4.361, allocations: 0 / 0.7694 GB, free: 45.63 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)