Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.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.TestDryFrictionWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestDryFrictionWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestDryFrictionWheel",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.001828/0.001828, 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.367/1.367, allocations: 221.4 MB / 234.6 MB, free: 14.4 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.000929/0.000929, allocations: 80.09 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.05456/0.05456, allocations: 8.837 MB / 345.3 MB, free: 1.297 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.893e-05/2.897e-05, allocations: 7.984 kB / 405.7 MB, free: 61.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09375/0.09379, allocations: 52.38 MB / 458 MB, free: 8.969 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3688/0.4626, allocations: 90.25 MB / 0.5354 GB, free: 11.57 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001836/0.4629, allocations: 83.33 kB / 0.5355 GB, free: 11.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1583/0.6212, allocations: 63.41 MB / 0.5975 GB, free: 2.145 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.6213, allocations: 0 / 0.5975 GB, free: 2.145 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001201/0.6214, allocations: 52 kB / 0.5975 GB, free: 2.094 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: 1163 * Number of variables: 1163 Notification: Performance of Generate backend data structure: time 0.01866/0.6401, allocations: 3.535 MB / 0.601 GB, free: 14.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.593e-05/0.6402, allocations: 16.03 kB / 0.601 GB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002709/0.6429, allocations: 0.5818 MB / 0.6015 GB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009592/0.6525, allocations: 1.934 MB / 0.6034 GB, free: 11.95 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005502/0.658, allocations: 1.766 MB / 0.6052 GB, free: 10.13 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002892/0.6584, allocations: 221.7 kB / 0.6054 GB, free: 9.914 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002258/0.6606, allocations: 291.8 kB / 0.6056 GB, free: 9.629 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02064/0.6813, allocations: 7.977 MB / 0.6134 GB, free: 1.258 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001129/0.6814, allocations: 23.81 kB / 0.6135 GB, free: 1.234 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007133/0.6822, allocations: 131.8 kB / 0.6136 GB, free: 1.105 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001498/0.6837, allocations: 0.9039 MB / 0.6145 GB, free: 204 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02007/0.7038, allocations: 7.911 MB / 0.6222 GB, free: 8.277 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.322/1.026, allocations: 25.88 MB / 0.6475 GB, free: 116.4 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01021/1.036, allocations: 2.73 MB / 0.6501 GB, free: 115.8 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001835/1.038, allocations: 0.9923 MB / 0.6511 GB, free: 115.8 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007339/1.045, allocations: 4.976 MB / 0.656 GB, free: 113.1 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/1.045, allocations: 44.81 kB / 0.656 GB, free: 113.1 MB / 458.7 MB Notification: Performance of pre-optimization done (n=151): time 4.789e-06/1.045, allocations: 0 / 0.656 GB, free: 113.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=165): time 0.01343/1.059, allocations: 6.22 MB / 0.6621 GB, free: 112 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/1.059, allocations: 71.27 kB / 0.6621 GB, free: 111.9 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003764/1.063, allocations: 2.275 MB / 0.6644 GB, free: 111.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001036/1.063, allocations: 49.06 kB / 0.6644 GB, free: 111.6 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001155/1.064, allocations: 2.069 MB / 0.6664 GB, free: 110.5 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000405/1.064, allocations: 0.6054 MB / 0.667 GB, free: 110.2 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/1.065, allocations: 77.44 kB / 0.6671 GB, free: 110.2 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001755/1.065, allocations: 478.9 kB / 0.6676 GB, free: 109.9 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001814/1.067, allocations: 1.247 MB / 0.6688 GB, free: 109.9 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003568/1.07, allocations: 3.381 MB / 0.6721 GB, free: 107.1 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002763/1.073, allocations: 2.109 MB / 0.6741 GB, free: 107.1 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.998e-05/1.073, allocations: 21.53 kB / 0.6742 GB, free: 107.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=523) (initialization): time 0.006355/1.079, allocations: 4.797 MB / 0.6788 GB, free: 106.8 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.753e-05/1.079, allocations: 34.5 kB / 0.6789 GB, free: 106.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-05/1.079, allocations: 76.88 kB / 0.6789 GB, free: 106.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006446/1.08, allocations: 292.5 kB / 0.6792 GB, free: 106.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002307/1.082, allocations: 0.8762 MB / 0.6801 GB, free: 106.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002544/1.085, allocations: 2.624 MB / 0.6826 GB, free: 105.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002735/1.088, allocations: 190.7 kB / 0.6828 GB, free: 105.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002689/1.088, allocations: 235.6 kB / 0.683 GB, free: 105.3 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 342 * 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 (484): * Single equations (assignments): 478 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004154/1.088, allocations: 388.5 kB / 0.6834 GB, free: 105 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000245/1.089, allocations: 223.5 kB / 0.6836 GB, free: 104.9 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002962/1.092, allocations: 2.082 MB / 0.6857 GB, free: 104.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.94e-05/1.092, allocations: 29.94 kB / 0.6857 GB, free: 104.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/1.092, allocations: 6.469 kB / 0.6857 GB, free: 104.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/1.092, allocations: 7.359 kB / 0.6857 GB, free: 104.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008394/1.1, allocations: 6.008 MB / 0.6916 GB, free: 102 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.777e-06/1.1, allocations: 7.375 kB / 0.6916 GB, free: 102 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008994/1.101, allocations: 232.9 kB / 0.6918 GB, free: 102 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004321/1.102, allocations: 173.5 kB / 0.692 GB, free: 102 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.204e-05/1.102, allocations: 33.38 kB / 0.692 GB, free: 101.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001929/1.104, allocations: 2.22 MB / 0.6942 GB, free: 100.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.104, allocations: 3.938 kB / 0.6942 GB, free: 100.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004112/1.108, allocations: 3.398 MB / 0.6975 GB, free: 98.6 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006467/1.108, allocations: 311 kB / 0.6978 GB, free: 98.36 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002413/1.109, allocations: 27.12 kB / 0.6978 GB, free: 98.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008211/1.109, allocations: 60.81 kB / 0.6979 GB, free: 98.32 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/1.11, allocations: 94.62 kB / 0.698 GB, free: 98.31 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.737e-05/1.11, allocations: 49.33 kB / 0.698 GB, free: 98.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002034/1.112, allocations: 1.612 MB / 0.6996 GB, free: 97.66 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.9e-07/1.112, allocations: 2.844 kB / 0.6996 GB, free: 97.66 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002718/1.114, allocations: 0.7071 MB / 0.7003 GB, free: 97.57 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (prismatic.s,prismatic.v,revolute.phi,revolute.w,engineTorque.phi,inertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 125 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004019/1.119, allocations: 4.754 MB / 0.7049 GB, free: 94.71 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004156/1.123, allocations: 3.203 MB / 0.708 GB, free: 93.47 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.123, allocations: 0 / 0.708 GB, free: 93.47 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001204/1.124, allocations: 1.117 MB / 0.7091 GB, free: 92.93 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/1.126, allocations: 346.6 kB / 0.7095 GB, free: 92.81 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/1.136, allocations: 6.521 MB / 0.7158 GB, free: 90.21 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00206/1.138, allocations: 2.651 MB / 0.7184 GB, free: 88.13 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002568/1.141, allocations: 1.165 MB / 0.7196 GB, free: 87.39 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001369/1.142, allocations: 1.322 MB / 0.7209 GB, free: 86.17 MB / 458.7 MB Notification: Performance of SimCode: time 1.653e-06/1.142, allocations: 0 / 0.7209 GB, free: 86.17 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06938/1.212, allocations: 53.83 MB / 0.7734 GB, free: 39.45 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/1.212, allocations: 195.7 kB / 0.7736 GB, free: 39.22 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.404/4.616, allocations: 0 / 0.7736 GB, free: 39.22 MB / 458.7 MB (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestDryFrictionWheel_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestDryFrictionWheel.fmu > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe 2>&1)