Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.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.VehicleComponents.Examples.TestIdealWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestIdealWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestIdealWheel",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.001123/0.001123, allocations: 174.6 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.371/1.371, 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.0008383/0.0008383, allocations: 94.52 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.04041/0.04041, allocations: 8.826 MB / 345.3 MB, free: 1.289 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.882e-05/2.885e-05, allocations: 3.594 kB / 405.7 MB, free: 61.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09543/0.09547, allocations: 52.39 MB / 458.1 MB, free: 8.938 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3651/0.4606, allocations: 88.93 MB / 0.5342 GB, free: 12.86 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002008/0.4609, allocations: 77.42 kB / 0.5342 GB, free: 12.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1448/0.6057, allocations: 60 MB / 0.5928 GB, free: 6.891 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.6057, allocations: 0 / 0.5928 GB, free: 6.891 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.896e-05/0.6058, allocations: 48 kB / 0.5929 GB, free: 6.844 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: 1124 * Number of variables: 1124 Notification: Performance of Generate backend data structure: time 0.0156/0.6215, allocations: 3.315 MB / 0.5961 GB, free: 3.469 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.6215, allocations: 8.031 kB / 0.5961 GB, free: 3.461 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001927/0.6235, allocations: 0.5652 MB / 0.5967 GB, free: 2.883 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008527/0.632, allocations: 1.915 MB / 0.5985 GB, free: 0.9609 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004015/0.636, allocations: 1.733 MB / 0.6002 GB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001729/0.6362, allocations: 213.5 kB / 0.6004 GB, free: 14.97 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006633/0.6369, allocations: 283.8 kB / 0.6007 GB, free: 14.69 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0158/0.6527, allocations: 7.658 MB / 0.6082 GB, free: 6.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.713e-05/0.6529, allocations: 23.8 kB / 0.6082 GB, free: 6.637 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004379/0.6533, allocations: 123.9 kB / 0.6083 GB, free: 6.516 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001356/0.6547, allocations: 0.8607 MB / 0.6092 GB, free: 5.652 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01661/0.6713, allocations: 7.579 MB / 0.6166 GB, free: 14.06 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04037/0.7117, allocations: 24.53 MB / 0.6405 GB, free: 5.031 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008455/0.7202, allocations: 2.548 MB / 0.643 GB, free: 2.363 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001279/0.7215, allocations: 0.9184 MB / 0.6439 GB, free: 1.445 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2803/1.002, allocations: 4.281 MB / 0.6481 GB, free: 125.1 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/1.002, allocations: 45.31 kB / 0.6481 GB, free: 125.1 MB / 458.7 MB Notification: Performance of pre-optimization done (n=138): time 5.541e-06/1.002, allocations: 0 / 0.6481 GB, free: 125.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=157): time 0.01327/1.015, allocations: 5.944 MB / 0.6539 GB, free: 124.1 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/1.015, allocations: 66.12 kB / 0.654 GB, free: 124.1 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004999/1.02, allocations: 2.186 MB / 0.6561 GB, free: 123.8 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002616/1.021, allocations: 48.88 kB / 0.6562 GB, free: 123.8 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001878/1.022, allocations: 1.998 MB / 0.6581 GB, free: 122.7 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009279/1.023, allocations: 0.5764 MB / 0.6587 GB, free: 122.4 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/1.024, allocations: 74.25 kB / 0.6588 GB, free: 122.4 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002754/1.024, allocations: 480.5 kB / 0.6592 GB, free: 122.1 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002237/1.026, allocations: 1.195 MB / 0.6604 GB, free: 122.1 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003412/1.03, allocations: 3.215 MB / 0.6635 GB, free: 119.5 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003409/1.033, allocations: 2.008 MB / 0.6655 GB, free: 119.5 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.642e-05/1.033, allocations: 20.47 kB / 0.6655 GB, free: 119.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=496) (initialization): time 0.007246/1.04, allocations: 4.651 MB / 0.67 GB, free: 119.1 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.723e-05/1.04, allocations: 43.44 kB / 0.6701 GB, free: 119.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-05/1.04, allocations: 72.16 kB / 0.6702 GB, free: 119.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007674/1.041, allocations: 362.3 kB / 0.6705 GB, free: 119 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002138/1.043, allocations: 0.8123 MB / 0.6713 GB, free: 119 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004354/1.048, allocations: 4.705 MB / 0.6759 GB, free: 116 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002765/1.05, allocations: 171.9 kB / 0.6761 GB, free: 116 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000304/1.051, allocations: 222.2 kB / 0.6763 GB, free: 115.9 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 324 * Number of states: 0 () * Number of discrete variables: 9 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (449): * Single equations (assignments): 443 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,56.0%) 14,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000475/1.051, allocations: 370 kB / 0.6766 GB, free: 115.6 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002822/1.052, allocations: 214.2 kB / 0.6768 GB, free: 115.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003125/1.055, allocations: 2.053 MB / 0.6788 GB, free: 114.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.941e-05/1.055, allocations: 27.05 kB / 0.6789 GB, free: 114.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/1.055, allocations: 3.812 kB / 0.6789 GB, free: 114.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/1.055, allocations: 7.359 kB / 0.6789 GB, free: 114.7 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008922/1.064, allocations: 5.775 MB / 0.6845 GB, free: 112.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/1.064, allocations: 3.25 kB / 0.6845 GB, free: 112.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007899/1.065, allocations: 200.7 kB / 0.6847 GB, free: 112.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005571/1.065, allocations: 223.8 kB / 0.6849 GB, free: 112.3 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.26e-05/1.065, allocations: 34.61 kB / 0.6849 GB, free: 112.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003419/1.069, allocations: 3.897 MB / 0.6888 GB, free: 109.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/1.069, allocations: 3.938 kB / 0.6888 GB, free: 109.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004029/1.073, allocations: 3.194 MB / 0.6919 GB, free: 107.6 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008654/1.074, allocations: 306.1 kB / 0.6922 GB, free: 107.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002371/1.074, allocations: 27.02 kB / 0.6922 GB, free: 107.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008022/1.075, allocations: 52.41 kB / 0.6922 GB, free: 107.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001826/1.075, allocations: 93.56 kB / 0.6923 GB, free: 107.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001417/1.075, allocations: 54.84 kB / 0.6924 GB, free: 107.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002245/1.077, allocations: 1.552 MB / 0.6939 GB, free: 106.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.077, allocations: 0 / 0.6939 GB, free: 106.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003471/1.081, allocations: 0.6767 MB / 0.6946 GB, free: 106.6 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (prismatic.s,revolute.phi,revolute.w,engineTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 109 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,56.0%) 12,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004055/1.085, allocations: 4.411 MB / 0.6989 GB, free: 104 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004875/1.09, allocations: 3.177 MB / 0.702 GB, free: 102.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.09, allocations: 0 / 0.702 GB, free: 102.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001481/1.091, allocations: 1.178 MB / 0.7031 GB, free: 102.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001833/1.093, allocations: 336.9 kB / 0.7034 GB, free: 102.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01328/1.106, allocations: 6.19 MB / 0.7095 GB, free: 99.66 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002115/1.109, allocations: 2.595 MB / 0.712 GB, free: 97.67 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002589/1.111, allocations: 1.11 MB / 0.7131 GB, free: 96.96 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001328/1.113, allocations: 1.241 MB / 0.7143 GB, free: 95.82 MB / 458.7 MB Notification: Performance of SimCode: time 1.172e-06/1.113, allocations: 0 / 0.7143 GB, free: 95.82 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07148/1.184, allocations: 52.3 MB / 0.7654 GB, free: 50.74 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000156/1.184, allocations: 180.3 kB / 0.7656 GB, free: 50.52 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.264/4.448, allocations: 0 / 0.7656 GB, free: 50.52 MB / 458.7 MB (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestIdealWheel_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestIdealWheel.fmu > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe 2>&1)