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.004095/0.004095, allocations: 170.8 kB / 15.11 MB, free: 5.984 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.246/1.246, allocations: 223.2 MB / 239 MB, free: 1.793 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.0008809/0.0008808, allocations: 101.6 kB / 290.2 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.03902/0.03902, allocations: 8.931 MB / 350.2 MB, free: 2.059 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002961/0.0002961, allocations: 14.62 kB / 413.2 MB, free: 88.6 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08119/0.08151, allocations: 52.39 MB / 465.6 MB, free: 41.6 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2993/0.3809, allocations: 90.84 MB / 0.5434 GB, free: 16.25 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/0.3811, allocations: 88.31 kB / 0.5435 GB, free: 16.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1434/0.5246, allocations: 64.27 MB / 0.6062 GB, free: 9.652 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5246, allocations: 4 kB / 0.6063 GB, free: 9.648 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001099/0.5247, allocations: 52 kB / 0.6063 GB, free: 9.598 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: 1168 * Number of variables: 1168 Notification: Performance of Generate backend data structure: time 0.01689/0.5416, allocations: 3.639 MB / 0.6099 GB, free: 6.145 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.5417, allocations: 16.03 kB / 0.6099 GB, free: 6.129 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002416/0.5441, allocations: 0.5839 MB / 0.6104 GB, free: 5.746 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008887/0.553, allocations: 1.933 MB / 0.6123 GB, free: 3.809 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005134/0.5582, allocations: 1.779 MB / 0.6141 GB, free: 2.453 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001998/0.5584, allocations: 222.9 kB / 0.6143 GB, free: 2.305 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00143/0.5599, allocations: 290 kB / 0.6146 GB, free: 2.094 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01511/0.575, allocations: 8.067 MB / 0.6224 GB, free: 11.74 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.918e-05/0.5751, allocations: 23.72 kB / 0.6225 GB, free: 11.72 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004783/0.5756, allocations: 135.9 kB / 0.6226 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001297/0.5769, allocations: 0.9038 MB / 0.6235 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01572/0.5926, allocations: 8.05 MB / 0.6313 GB, free: 2.617 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0337/0.6264, allocations: 25.96 MB / 0.6567 GB, free: 8.125 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009313/0.6357, allocations: 2.857 MB / 0.6595 GB, free: 5.156 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007101/0.6429, allocations: 5.008 MB / 0.6644 GB, free: 15.66 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.6429, allocations: 51.88 kB / 0.6644 GB, free: 15.6 MB / 442.7 MB Notification: Performance of pre-optimization done (n=153): time 4.018e-06/0.6429, allocations: 0 / 0.6644 GB, free: 15.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=167): time 0.01401/0.657, allocations: 7.602 MB / 0.6718 GB, free: 7.812 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.657, allocations: 68.72 kB / 0.6719 GB, free: 7.73 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003169/0.6602, allocations: 2.315 MB / 0.6742 GB, free: 5.391 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001121/0.6603, allocations: 53.7 kB / 0.6742 GB, free: 5.332 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001148/0.6615, allocations: 2.07 MB / 0.6762 GB, free: 3.23 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00046/0.662, allocations: 0.6245 MB / 0.6768 GB, free: 2.598 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/0.6621, allocations: 76 kB / 0.6769 GB, free: 2.523 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000234/0.6624, allocations: 478.8 kB / 0.6774 GB, free: 2.047 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001946/0.6643, allocations: 1.3 MB / 0.6786 GB, free: 0.7422 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003006/0.6673, allocations: 3.446 MB / 0.682 GB, free: 12.23 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002785/0.6701, allocations: 2.136 MB / 0.6841 GB, free: 10.09 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.748e-05/0.6702, allocations: 20 kB / 0.6841 GB, free: 10.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=526) (initialization): time 0.007094/0.6773, allocations: 4.919 MB / 0.6889 GB, free: 5.141 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.928e-05/0.6774, allocations: 37.88 kB / 0.6889 GB, free: 5.105 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-05/0.6774, allocations: 76.09 kB / 0.689 GB, free: 5.031 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006276/0.6781, allocations: 289.5 kB / 0.6893 GB, free: 4.742 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002606/0.6807, allocations: 0.8851 MB / 0.6902 GB, free: 3.855 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002886/0.6836, allocations: 2.679 MB / 0.6928 GB, free: 1.035 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003163/0.6868, allocations: 183.9 kB / 0.693 GB, free: 0.8555 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006582/0.6875, allocations: 236 kB / 0.6932 GB, free: 0.625 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 () * Number of clocked 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.1652/0.8526, allocations: 1.566 MB / 0.6947 GB, free: 114.1 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000392/0.853, allocations: 226.3 kB / 0.6949 GB, free: 114.1 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00356/0.8566, allocations: 2.148 MB / 0.697 GB, free: 114 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001084/0.8567, allocations: 28.47 kB / 0.697 GB, free: 114 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.8567, allocations: 7.922 kB / 0.6971 GB, free: 114 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/0.8568, allocations: 9.453 kB / 0.6971 GB, free: 114 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008812/0.8656, allocations: 5.888 MB / 0.7028 GB, free: 113.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.353e-06/0.8656, allocations: 7.531 kB / 0.7028 GB, free: 113.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008956/0.8665, allocations: 237 kB / 0.703 GB, free: 113.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004254/0.867, allocations: 165.1 kB / 0.7032 GB, free: 113.3 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.994e-05/0.867, allocations: 36.06 kB / 0.7032 GB, free: 113.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001724/0.8688, allocations: 2.271 MB / 0.7055 GB, free: 112 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.8688, allocations: 7.281 kB / 0.7055 GB, free: 112 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003942/0.8727, allocations: 3.477 MB / 0.7089 GB, free: 111.4 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004907/0.8732, allocations: 321.6 kB / 0.7092 GB, free: 111.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002269/0.8735, allocations: 31.28 kB / 0.7092 GB, free: 111.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007831/0.8743, allocations: 54.09 kB / 0.7092 GB, free: 111.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/0.8744, allocations: 93.44 kB / 0.7093 GB, free: 111.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.682e-05/0.8745, allocations: 52.09 kB / 0.7094 GB, free: 111.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002264/0.8768, allocations: 1.663 MB / 0.711 GB, free: 111.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.8768, allocations: 0 / 0.711 GB, free: 111.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00275/0.8796, allocations: 0.7037 MB / 0.7117 GB, free: 111.2 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 () * Number of clocked 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.004462/0.8841, allocations: 4.841 MB / 0.7164 GB, free: 109.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004426/0.8885, allocations: 3.299 MB / 0.7196 GB, free: 109.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.8885, allocations: 3.469 kB / 0.7197 GB, free: 109.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001276/0.8898, allocations: 1.154 MB / 0.7208 GB, free: 108.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/0.8912, allocations: 347.7 kB / 0.7211 GB, free: 108.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03391/0.9252, allocations: 72.76 MB / 0.7922 GB, free: 45.35 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002146/0.9273, allocations: 2.656 MB / 0.7948 GB, free: 44.16 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002587/0.9299, allocations: 1.201 MB / 0.7959 GB, free: 44.07 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0013/0.9312, allocations: 1.332 MB / 0.7972 GB, free: 43 MB / 458.7 MB Notification: Performance of SimCode: time 7.01e-07/0.9313, allocations: 4 kB / 0.7972 GB, free: 43 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06176/0.993, allocations: 53.67 MB / 0.8497 GB, free: 6.152 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/0.9932, allocations: 222.6 kB / 0.8499 GB, free: 5.902 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.847/3.84, allocations: 4 kB / 0.8499 GB, free: 5.898 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)