Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.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.TestSlipBasedWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestSlipBasedWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel,fileNamePrefix="PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestSlipBasedWheel",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.001255/0.001256, 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.403/1.403, allocations: 221.4 MB / 234.6 MB, free: 14.39 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.000919/0.0009187, allocations: 96.28 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.04015/0.04015, allocations: 8.834 MB / 345.3 MB, free: 1.285 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.659e-05/2.663e-05, allocations: 4 kB / 405.7 MB, free: 61.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09303/0.09307, allocations: 52.39 MB / 458.1 MB, free: 8.934 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3861/0.4792, allocations: 90.78 MB / 0.536 GB, free: 11.04 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001966/0.4794, allocations: 78.34 kB / 0.536 GB, free: 11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1678/0.6472, allocations: 64.31 MB / 0.5988 GB, free: 0.6758 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6473, allocations: 7.938 kB / 0.5989 GB, free: 0.668 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.588e-05/0.6474, allocations: 48 kB / 0.5989 GB, free: 0.6211 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: 1168 * Number of variables: 1168 Notification: Performance of Generate backend data structure: time 0.0158/0.6632, allocations: 3.563 MB / 0.6024 GB, free: 13 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.6632, allocations: 8.031 kB / 0.6024 GB, free: 12.99 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001688/0.6649, allocations: 0.578 MB / 0.603 GB, free: 12.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00871/0.6737, allocations: 1.938 MB / 0.6048 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004487/0.6782, allocations: 1.778 MB / 0.6066 GB, free: 8.629 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002134/0.6784, allocations: 221.7 kB / 0.6068 GB, free: 8.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001311/0.6797, allocations: 295.8 kB / 0.6071 GB, free: 8.121 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01719/0.6969, allocations: 7.993 MB / 0.6149 GB, free: 15.73 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.755e-05/0.6971, allocations: 23.8 kB / 0.6149 GB, free: 15.71 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005685/0.6976, allocations: 135.9 kB / 0.615 GB, free: 15.57 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001394/0.699, allocations: 0.9038 MB / 0.6159 GB, free: 14.67 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01726/0.7163, allocations: 7.923 MB / 0.6237 GB, free: 6.738 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.322/1.038, allocations: 25.96 MB / 0.649 GB, free: 108.1 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01058/1.049, allocations: 2.821 MB / 0.6518 GB, free: 107.5 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00181/1.051, allocations: 1.01 MB / 0.6527 GB, free: 107.5 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007567/1.058, allocations: 5.008 MB / 0.6576 GB, free: 104.8 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/1.058, allocations: 45.88 kB / 0.6577 GB, free: 104.8 MB / 458.7 MB Notification: Performance of pre-optimization done (n=153): time 4.899e-06/1.058, allocations: 0 / 0.6577 GB, free: 104.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=167): time 0.01469/1.073, allocations: 6.309 MB / 0.6638 GB, free: 103.6 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/1.073, allocations: 69.47 kB / 0.6639 GB, free: 103.6 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004588/1.078, allocations: 2.292 MB / 0.6661 GB, free: 103.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001862/1.078, allocations: 47.67 kB / 0.6662 GB, free: 103.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001275/1.079, allocations: 2.069 MB / 0.6682 GB, free: 102.2 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006277/1.08, allocations: 0.6158 MB / 0.6688 GB, free: 101.8 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/1.08, allocations: 80.81 kB / 0.6689 GB, free: 101.8 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002181/1.08, allocations: 480 kB / 0.6693 GB, free: 101.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001819/1.082, allocations: 1.256 MB / 0.6706 GB, free: 101.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00284/1.085, allocations: 3.399 MB / 0.6739 GB, free: 98.74 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00271/1.088, allocations: 2.114 MB / 0.676 GB, free: 98.72 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.454e-05/1.088, allocations: 23.19 kB / 0.676 GB, free: 98.72 MB / 458.7 MB Notification: Performance of matching and sorting (n=526) (initialization): time 0.007248/1.095, allocations: 4.838 MB / 0.6807 GB, free: 98.46 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.472e-05/1.095, allocations: 38.81 kB / 0.6807 GB, free: 98.46 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.623e-05/1.095, allocations: 76.62 kB / 0.6808 GB, free: 98.46 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006319/1.096, allocations: 287.3 kB / 0.6811 GB, free: 98.44 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002649/1.099, allocations: 0.8851 MB / 0.682 GB, free: 98.37 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002674/1.101, allocations: 2.63 MB / 0.6845 GB, free: 96.94 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003427/1.105, allocations: 183.1 kB / 0.6847 GB, free: 96.94 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006293/1.105, allocations: 236.2 kB / 0.6849 GB, free: 96.94 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 (487): * Single equations (assignments): 481 * 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.0006788/1.106, allocations: 395.7 kB / 0.6853 GB, free: 96.71 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004867/1.107, allocations: 231.1 kB / 0.6855 GB, free: 96.59 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00333/1.11, allocations: 2.119 MB / 0.6876 GB, free: 96.14 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000101/1.11, allocations: 29.44 kB / 0.6876 GB, free: 96.14 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/1.11, allocations: 0 / 0.6876 GB, free: 96.14 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.407e-05/1.11, allocations: 6.797 kB / 0.6876 GB, free: 96.14 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009762/1.12, allocations: 5.846 MB / 0.6933 GB, free: 93.86 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/1.12, allocations: 3.75 kB / 0.6933 GB, free: 93.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009366/1.121, allocations: 234.8 kB / 0.6936 GB, free: 93.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004438/1.121, allocations: 169.1 kB / 0.6937 GB, free: 93.79 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.112e-05/1.121, allocations: 33.66 kB / 0.6937 GB, free: 93.78 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002053/1.123, allocations: 2.223 MB / 0.6959 GB, free: 92.08 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/1.123, allocations: 3.969 kB / 0.6959 GB, free: 92.08 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004383/1.128, allocations: 3.431 MB / 0.6993 GB, free: 90.42 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009375/1.129, allocations: 321.7 kB / 0.6996 GB, free: 90.17 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002422/1.129, allocations: 27.59 kB / 0.6996 GB, free: 90.15 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009352/1.13, allocations: 51.44 kB / 0.6997 GB, free: 90.13 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001741/1.13, allocations: 100.8 kB / 0.6998 GB, free: 90.11 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.556e-05/1.13, allocations: 48.53 kB / 0.6998 GB, free: 90.11 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002382/1.133, allocations: 1.627 MB / 0.7014 GB, free: 89.46 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.653e-06/1.133, allocations: 0 / 0.7014 GB, free: 89.46 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003923/1.137, allocations: 0.7093 MB / 0.7021 GB, free: 89.38 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 (133): * Single equations (assignments): 127 * 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.005248/1.142, allocations: 4.786 MB / 0.7068 GB, free: 86.52 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005613/1.148, allocations: 3.235 MB / 0.7099 GB, free: 85.26 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/1.148, allocations: 3.562 kB / 0.7099 GB, free: 85.26 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001448/1.149, allocations: 1.122 MB / 0.711 GB, free: 84.71 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002409/1.151, allocations: 351.7 kB / 0.7113 GB, free: 84.59 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01752/1.169, allocations: 6.561 MB / 0.7178 GB, free: 81.55 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002693/1.172, allocations: 2.647 MB / 0.7203 GB, free: 79.45 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003244/1.175, allocations: 1.201 MB / 0.7215 GB, free: 78.69 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001863/1.177, allocations: 1.334 MB / 0.7228 GB, free: 77.47 MB / 458.7 MB Notification: Performance of SimCode: time 1.102e-06/1.177, allocations: 0 / 0.7228 GB, free: 77.47 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08171/1.259, allocations: 53.98 MB / 0.7755 GB, free: 30.52 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001812/1.259, allocations: 192.5 kB / 0.7757 GB, free: 30.29 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.339/4.598, allocations: 0 / 0.7757 GB, free: 30.29 MB / 458.7 MB (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestSlipBasedWheel_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 PlanarMechanics_PlanarMechanics_VehicleComponents_Examples_TestSlipBasedWheel.fmu > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe 2>&1)