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.001201/0.001201, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 221.5 MB / 229.6 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009464/0.0009464, allocations: 97.3 kB / 280.5 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.03835/0.03835, allocations: 8.832 MB / 340.1 MB, free: 6.41 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.566e-05/2.577e-05, allocations: 1.906 kB / 398.8 MB, free: 47.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1078, allocations: 52.4 MB / 451.2 MB, free: 4.48 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3777/0.4855, allocations: 88.25 MB / 0.5268 GB, free: 28.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/0.4858, allocations: 77.83 kB / 0.5269 GB, free: 28.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.134/0.6198, allocations: 58.68 MB / 0.5842 GB, free: 12.99 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.6199, allocations: 0 / 0.5842 GB, free: 12.99 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.262e-05/0.6199, allocations: 46.78 kB / 0.5842 GB, free: 12.99 MB / 362.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.01568/0.6356, allocations: 3.313 MB / 0.5874 GB, free: 11.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.6357, allocations: 11.7 kB / 0.5874 GB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009283/0.645, allocations: 1.917 MB / 0.5893 GB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004483/0.6495, allocations: 1.724 MB / 0.591 GB, free: 9.453 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/0.6497, allocations: 88.22 kB / 0.5911 GB, free: 9.453 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001126/0.6508, allocations: 172 kB / 0.5913 GB, free: 9.445 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007553/0.6583, allocations: 5.353 MB / 0.5965 GB, free: 6.734 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01178/0.6701, allocations: 7.056 MB / 0.6034 GB, free: 0.8867 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.645e-05/0.6703, allocations: 19.81 kB / 0.6034 GB, free: 0.8672 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003968/0.6707, allocations: 12 kB / 0.6034 GB, free: 0.8555 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001194/0.6719, allocations: 0.8608 MB / 0.6042 GB, free: 15.99 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03457/0.7065, allocations: 23.76 MB / 0.6274 GB, free: 7.703 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003866/0.7104, allocations: 3.053 MB / 0.6304 GB, free: 4.375 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001211/0.7116, allocations: 0.8733 MB / 0.6313 GB, free: 3.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00507/0.7167, allocations: 3.143 MB / 0.6343 GB, free: 116 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.7167, allocations: 43.88 kB / 0.6344 GB, free: 64 kB / 394.7 MB Notification: Performance of pre-optimization done (n=129): time 3.627e-06/0.7167, allocations: 0 / 0.6344 GB, free: 64 kB / 394.7 MB Notification: Performance of matching and sorting (n=148): time 0.009286/0.726, allocations: 5.189 MB / 0.6395 GB, free: 10.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.7261, allocations: 68.72 kB / 0.6395 GB, free: 10.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002571/0.7287, allocations: 1.801 MB / 0.6413 GB, free: 8.922 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.508e-05/0.7288, allocations: 25.7 kB / 0.6413 GB, free: 8.891 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001161/0.7299, allocations: 2.076 MB / 0.6433 GB, free: 6.781 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004176/0.7304, allocations: 0.5357 MB / 0.6439 GB, free: 6.238 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.7305, allocations: 3.938 kB / 0.6439 GB, free: 6.234 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002823/0.7308, allocations: 0.5033 MB / 0.6443 GB, free: 5.719 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/0.7324, allocations: 1.187 MB / 0.6455 GB, free: 4.527 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002817/0.7352, allocations: 3.332 MB / 0.6488 GB, free: 120 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002639/0.7379, allocations: 2.02 MB / 0.6507 GB, free: 14.09 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.08e-05/0.7379, allocations: 24 kB / 0.6508 GB, free: 14.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=514) (initialization): time 0.006783/0.7447, allocations: 4.352 MB / 0.655 GB, free: 9.715 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.024e-05/0.7448, allocations: 40 kB / 0.655 GB, free: 9.676 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.425e-05/0.7449, allocations: 76 kB / 0.6551 GB, free: 9.602 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000797/0.7457, allocations: 359.9 kB / 0.6555 GB, free: 9.246 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002558/0.7482, allocations: 0.8461 MB / 0.6563 GB, free: 8.398 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005357/0.7536, allocations: 4.54 MB / 0.6607 GB, free: 3.613 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002578/0.7562, allocations: 104 kB / 0.6608 GB, free: 3.512 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003462/0.7566, allocations: 236 kB / 0.661 GB, free: 3.281 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 346 * 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 (467): * Single equations (assignments): 461 * 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 {(4,81.2%) 15,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004789/0.757, allocations: 290.9 kB / 0.6613 GB, free: 2.988 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002684/0.7597, allocations: 1.702 MB / 0.663 GB, free: 1.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002381/0.76, allocations: 185.9 kB / 0.6632 GB, free: 1.086 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002974/0.763, allocations: 1.854 MB / 0.665 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001118/0.7631, allocations: 31.97 kB / 0.665 GB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.7631, allocations: 4 kB / 0.665 GB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/0.7631, allocations: 3.984 kB / 0.665 GB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008858/0.772, allocations: 4.562 MB / 0.6695 GB, free: 10.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/0.7721, allocations: 4 kB / 0.6695 GB, free: 10.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008493/0.7729, allocations: 179.8 kB / 0.6696 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006227/0.7736, allocations: 223.9 kB / 0.6699 GB, free: 10.12 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-05/0.7736, allocations: 11.98 kB / 0.6699 GB, free: 10.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003793/0.7774, allocations: 3.723 MB / 0.6735 GB, free: 6.152 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.7775, allocations: 0 / 0.6735 GB, free: 6.152 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003968/0.7814, allocations: 2.836 MB / 0.6763 GB, free: 3.254 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005458/0.782, allocations: 258.8 kB / 0.6765 GB, free: 2.98 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002028/0.7822, allocations: 4 kB / 0.6765 GB, free: 2.977 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007101/0.7829, allocations: 31.95 kB / 0.6766 GB, free: 2.945 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.7831, allocations: 77.53 kB / 0.6766 GB, free: 2.871 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-05/0.7832, allocations: 47.94 kB / 0.6767 GB, free: 2.824 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001918/0.7851, allocations: 1.207 MB / 0.6778 GB, free: 1.625 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.7851, allocations: 0 / 0.6778 GB, free: 1.625 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003114/0.7882, allocations: 0.582 MB / 0.6784 GB, free: 1.043 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (106): * Single equations (assignments): 100 * 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 {(4,81.2%) 13,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004804/0.793, allocations: 3.745 MB / 0.6821 GB, free: 13.23 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005752/0.7988, allocations: 3.027 MB / 0.685 GB, free: 10.21 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.7988, allocations: 0 / 0.685 GB, free: 10.21 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001511/0.8004, allocations: 1.073 MB / 0.6861 GB, free: 9.117 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/0.8018, allocations: 200.2 kB / 0.6863 GB, free: 8.922 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01386/0.8157, allocations: 5.914 MB / 0.692 GB, free: 2.941 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002743/0.8185, allocations: 2.584 MB / 0.6946 GB, free: 332 kB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.2628/1.081, allocations: 1.101 MB / 0.6956 GB, free: 129.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002872/1.084, allocations: 1.246 MB / 0.6969 GB, free: 129.3 MB / 458.7 MB Notification: Performance of SimCode: time 1.703e-06/1.084, allocations: 0 / 0.6969 GB, free: 129.3 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08536/1.17, allocations: 45.51 MB / 0.7413 GB, free: 117.8 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002423/1.17, allocations: 155.9 kB / 0.7415 GB, free: 117.6 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.931/4.101, allocations: 4 kB / 0.7415 GB, free: 117.6 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)