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.007125/0.007126, allocations: 173.8 kB / 15.12 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.226/1.226, allocations: 223.2 MB / 239 MB, free: 15.85 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.0008471/0.0008472, allocations: 95.02 kB / 290.2 MB, free: 4.539 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.03862/0.03862, allocations: 8.933 MB / 350.2 MB, free: 4.137 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002854/0.0002855, allocations: 8 kB / 413.2 MB, free: 5.129 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.1992, allocations: 52.4 MB / 465.6 MB, free: 69.22 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09134/0.2906, allocations: 90.31 MB / 0.5429 GB, free: 10.78 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/0.2909, allocations: 83.95 kB / 0.543 GB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.296/0.5869, allocations: 63.34 MB / 0.6048 GB, free: 50.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.587, allocations: 0 / 0.6048 GB, free: 50.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.39e-05/0.5871, allocations: 52 kB / 0.6049 GB, free: 50.86 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: 1163 * Number of variables: 1163 Notification: Performance of Generate backend data structure: time 0.01397/0.601, allocations: 3.636 MB / 0.6084 GB, free: 47.15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.6011, allocations: 12.03 kB / 0.6084 GB, free: 47.14 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00143/0.6025, allocations: 0.5817 MB / 0.609 GB, free: 46.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007355/0.6099, allocations: 1.938 MB / 0.6109 GB, free: 44.6 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003377/0.6133, allocations: 1.77 MB / 0.6126 GB, free: 42.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.6134, allocations: 217.7 kB / 0.6128 GB, free: 42.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005216/0.6139, allocations: 287.9 kB / 0.6131 GB, free: 42.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01284/0.6268, allocations: 8.051 MB / 0.621 GB, free: 33.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.408e-05/0.6269, allocations: 27.72 kB / 0.621 GB, free: 33.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004167/0.6273, allocations: 127.9 kB / 0.6211 GB, free: 33.69 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001093/0.6284, allocations: 0.9037 MB / 0.622 GB, free: 32.79 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01496/0.6434, allocations: 8.035 MB / 0.6298 GB, free: 24.74 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03093/0.6743, allocations: 25.9 MB / 0.6551 GB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009107/0.6835, allocations: 2.769 MB / 0.6578 GB, free: 11.42 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006075/0.6896, allocations: 4.979 MB / 0.6627 GB, free: 5.949 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.6897, allocations: 47.56 kB / 0.6627 GB, free: 5.895 MB / 394.7 MB Notification: Performance of pre-optimization done (n=151): time 3.798e-06/0.6897, allocations: 0 / 0.6627 GB, free: 5.895 MB / 394.7 MB Notification: Performance of matching and sorting (n=165): time 0.01387/0.7036, allocations: 7.494 MB / 0.6701 GB, free: 14.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.7036, allocations: 64.72 kB / 0.6701 GB, free: 14.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003167/0.7068, allocations: 2.302 MB / 0.6724 GB, free: 11.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.575e-05/0.7069, allocations: 49.7 kB / 0.6724 GB, free: 11.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001161/0.7081, allocations: 2.062 MB / 0.6744 GB, free: 9.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000443/0.7085, allocations: 0.6207 MB / 0.675 GB, free: 9.031 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.7087, allocations: 76 kB / 0.6751 GB, free: 8.957 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002372/0.7089, allocations: 482.7 kB / 0.6756 GB, free: 8.477 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001905/0.7108, allocations: 1.284 MB / 0.6768 GB, free: 7.188 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002988/0.7138, allocations: 3.43 MB / 0.6802 GB, free: 2.691 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002792/0.7166, allocations: 2.116 MB / 0.6822 GB, free: 0.5781 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-05/0.7167, allocations: 20 kB / 0.6823 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of matching and sorting (n=523) (initialization): time 0.00749/0.7242, allocations: 4.889 MB / 0.687 GB, free: 11.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.325e-05/0.7243, allocations: 36 kB / 0.6871 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.975e-05/0.7243, allocations: 76 kB / 0.6871 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006528/0.725, allocations: 290.3 kB / 0.6874 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002656/0.7277, allocations: 0.8812 MB / 0.6883 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002837/0.7305, allocations: 2.687 MB / 0.6909 GB, free: 7.547 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002384/0.7329, allocations: 175.9 kB / 0.6911 GB, free: 7.375 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002896/0.7332, allocations: 240 kB / 0.6913 GB, free: 7.141 MB / 426.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 () * Number of clocked 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.002388/0.7356, allocations: 1.558 MB / 0.6928 GB, free: 5.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002907/0.7359, allocations: 221.2 kB / 0.693 GB, free: 5.352 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003313/0.7392, allocations: 2.124 MB / 0.6951 GB, free: 3.211 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000104/0.7394, allocations: 35.97 kB / 0.6951 GB, free: 3.176 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.7394, allocations: 11.94 kB / 0.6952 GB, free: 3.164 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.7394, allocations: 3.984 kB / 0.6952 GB, free: 3.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009465/0.7489, allocations: 6.042 MB / 0.7011 GB, free: 12.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.7489, allocations: 4 kB / 0.7011 GB, free: 12.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000936/0.7498, allocations: 235.6 kB / 0.7013 GB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004634/0.7503, allocations: 169.9 kB / 0.7015 GB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.602e-05/0.7504, allocations: 35.98 kB / 0.7015 GB, free: 12.51 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002288/0.7527, allocations: 2.26 MB / 0.7037 GB, free: 10.12 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.7527, allocations: 0 / 0.7037 GB, free: 10.12 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004518/0.7573, allocations: 3.462 MB / 0.7071 GB, free: 6.512 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007594/0.758, allocations: 318.2 kB / 0.7074 GB, free: 6.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002464/0.7583, allocations: 32.11 kB / 0.7074 GB, free: 6.148 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007724/0.7591, allocations: 55.95 kB / 0.7075 GB, free: 6.094 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/0.7592, allocations: 97.08 kB / 0.7076 GB, free: 5.996 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.211e-05/0.7593, allocations: 43.98 kB / 0.7076 GB, free: 5.953 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002415/0.7618, allocations: 1.645 MB / 0.7092 GB, free: 4.293 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7618, allocations: 0 / 0.7092 GB, free: 4.293 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002706/0.7645, allocations: 0.7071 MB / 0.7099 GB, free: 3.586 MB / 442.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 () * Number of clocked 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.2088/0.9733, allocations: 4.804 MB / 0.7146 GB, free: 113.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004716/0.9781, allocations: 3.279 MB / 0.7178 GB, free: 113 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.9781, allocations: 0 / 0.7178 GB, free: 113 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001294/0.9794, allocations: 1.15 MB / 0.7189 GB, free: 112.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/0.9811, allocations: 333.2 kB / 0.7192 GB, free: 112.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03856/1.02, allocations: 72.66 MB / 0.7902 GB, free: 51.99 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00227/1.022, allocations: 2.651 MB / 0.7928 GB, free: 50.8 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002538/1.025, allocations: 1.17 MB / 0.7939 GB, free: 50.71 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001293/1.026, allocations: 1.324 MB / 0.7952 GB, free: 49.64 MB / 442.7 MB Notification: Performance of SimCode: time 4.81e-07/1.026, allocations: 0 / 0.7952 GB, free: 49.64 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06593/1.092, allocations: 53.53 MB / 0.8475 GB, free: 12.76 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001539/1.092, allocations: 215.2 kB / 0.8477 GB, free: 12.52 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.864/3.956, allocations: 0 / 0.8477 GB, free: 12.52 MB / 442.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)