Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Examples.SeriesHybrid.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/VehicleInterfaces 2.0.1/package.mo", uses=false) Using package VehicleInterfaces with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.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: translateModel(VehicleInterfaces.Examples.SeriesHybrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Examples.SeriesHybrid") translateModel(VehicleInterfaces.Examples.SeriesHybrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Examples.SeriesHybrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01007/0.01007, allocations: 171.5 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.351/1.351, allocations: 223.2 MB / 239 MB, free: 1.785 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.0009525/0.0009524, allocations: 104.5 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.03883/0.03883, allocations: 7.981 MB / 349.3 MB, free: 3.113 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003318/0.0003318, allocations: 12.56 kB / 412 MB, free: 89.03 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1031, allocations: 52.21 MB / 464.2 MB, free: 43.22 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3908/0.494, allocations: 109.2 MB / 0.56 GB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/0.4943, allocations: 94.45 kB / 0.5601 GB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8308/1.325, allocations: 266 MB / 0.8199 GB, free: 51.85 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.845e-06/1.325, allocations: 0 / 0.8199 GB, free: 51.85 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002024/1.325, allocations: 87.97 kB / 0.82 GB, free: 51.77 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 696 * Number of variables: 696 Notification: Performance of Generate backend data structure: time 0.004665/1.33, allocations: 2.816 MB / 0.8227 GB, free: 49.11 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/1.33, allocations: 10.09 kB / 0.8227 GB, free: 49.11 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007296/1.331, allocations: 380.4 kB / 0.8231 GB, free: 48.73 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002798/1.334, allocations: 1.807 MB / 0.8249 GB, free: 47.44 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001717/1.334, allocations: 205 kB / 0.8251 GB, free: 47.32 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000374/1.334, allocations: 274.9 kB / 0.8253 GB, free: 47.14 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004096/1.338, allocations: 3.067 MB / 0.8283 GB, free: 44.17 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.411e-05/1.338, allocations: 18.53 kB / 0.8283 GB, free: 44.16 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002238/1.339, allocations: 120 kB / 0.8284 GB, free: 44.04 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.138e-05/1.339, allocations: 104.8 kB / 0.8285 GB, free: 43.94 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003287/1.342, allocations: 2.033 MB / 0.8305 GB, free: 41.93 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01264/1.355, allocations: 11.76 MB / 0.842 GB, free: 29.99 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/1.356, allocations: 1.067 MB / 0.8431 GB, free: 28.91 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.4e-05/1.356, allocations: 17.31 kB / 0.8431 GB, free: 28.9 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/1.356, allocations: 59.8 kB / 0.8431 GB, free: 28.83 MB / 458.7 MB Notification: Performance of pre-optimization done (n=131): time 4.849e-06/1.356, allocations: 0 / 0.8431 GB, free: 28.83 MB / 458.7 MB Notification: Performance of matching and sorting (n=151): time 0.01129/1.368, allocations: 6.423 MB / 0.8494 GB, free: 22.27 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/1.368, allocations: 102.4 kB / 0.8495 GB, free: 22.16 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002269/1.37, allocations: 1.68 MB / 0.8511 GB, free: 20.45 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001507/1.37, allocations: 69.7 kB / 0.8512 GB, free: 20.38 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008838/1.371, allocations: 1.283 MB / 0.8525 GB, free: 19.08 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003465/1.371, allocations: 0.5009 MB / 0.8529 GB, free: 18.57 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.061e-05/1.372, allocations: 36 kB / 0.853 GB, free: 18.54 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/1.372, allocations: 381.9 kB / 0.8533 GB, free: 18.16 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001092/1.373, allocations: 0.656 MB / 0.854 GB, free: 17.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001229/1.374, allocations: 1.215 MB / 0.8552 GB, free: 16.04 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/1.375, allocations: 0.7091 MB / 0.8559 GB, free: 15.33 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/1.375, allocations: 8 kB / 0.8559 GB, free: 15.32 MB / 458.7 MB Notification: Performance of matching and sorting (n=247) (initialization): time 0.00394/1.379, allocations: 2.438 MB / 0.8583 GB, free: 12.87 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/1.379, allocations: 20.05 kB / 0.8583 GB, free: 12.85 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.403e-05/1.379, allocations: 20 kB / 0.8583 GB, free: 12.83 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001676/1.381, allocations: 1.097 MB / 0.8594 GB, free: 11.78 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/1.382, allocations: 359.4 kB / 0.8597 GB, free: 11.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002682/1.385, allocations: 2.993 MB / 0.8626 GB, free: 8.277 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001923/1.387, allocations: 227.8 kB / 0.8628 GB, free: 8.055 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000178/1.387, allocations: 99.91 kB / 0.8629 GB, free: 7.957 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * Number of states: 0 () * Number of discrete variables: 57 (driverEnvironment.ignition.y,brakes.brake_1.free,$PRE.brakes.brake_1.startForward,brakes.brake_1.startForward,$PRE.brakes.brake_1.startBackward,brakes.brake_1.startBackward,brakes.brake_1.locked,$PRE.brakes.brake_1.mode,brakes.brake_1.mode,brakes.brake_2.free,$PRE.brakes.brake_2.startForward,brakes.brake_2.startForward,$PRE.brakes.brake_2.startBackward,brakes.brake_2.startBackward,brakes.brake_2.locked,$PRE.brakes.brake_2.mode,brakes.brake_2.mode,brakes.brake_3.free,$PRE.brakes.brake_3.startForward,brakes.brake_3.startForward,$PRE.brakes.brake_3.startBackward,brakes.brake_3.startBackward,brakes.brake_3.locked,$PRE.brakes.brake_3.mode,brakes.brake_3.mode,brakes.brake_4.free,$PRE.brakes.brake_4.startForward,brakes.brake_4.startForward,$PRE.brakes.brake_4.startBackward,brakes.brake_4.startBackward,brakes.brake_4.locked,$PRE.brakes.brake_4.mode,brakes.brake_4.mode,accessories.inertia.cylinderColor[3],accessories.inertia.cylinderColor[2],accessories.inertia.cylinderColor[1],engine.flywheel.cylinderColor[3],engine.flywheel.cylinderColor[2],engine.flywheel.cylinderColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],driveline.leftHalfShaft.cylinderColor[3],driveline.leftHalfShaft.cylinderColor[2],driveline.leftHalfShaft.cylinderColor[1],driveline.rightHalfShaft.cylinderColor[3],driveline.rightHalfShaft.cylinderColor[2],driveline.rightHalfShaft.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (204): * Single equations (assignments): 198 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {4 37} Notification: Performance of prepare postOptimizeDAE: time 0.001526/1.388, allocations: 0.6206 MB / 0.8635 GB, free: 7.336 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004612/1.389, allocations: 221.2 kB / 0.8638 GB, free: 7.117 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003409/1.392, allocations: 2.051 MB / 0.8658 GB, free: 5.039 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/1.392, allocations: 16 kB / 0.8658 GB, free: 5.023 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/1.392, allocations: 0 / 0.8658 GB, free: 5.023 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/1.392, allocations: 11.92 kB / 0.8658 GB, free: 5.012 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008278/1.401, allocations: 4.78 MB / 0.8705 GB, free: 132 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/1.401, allocations: 7.984 kB / 0.8705 GB, free: 124 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.3188/1.719, allocations: 203.9 kB / 0.8707 GB, free: 109.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002053/1.722, allocations: 0.9911 MB / 0.8716 GB, free: 109.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002582/1.722, allocations: 53.33 kB / 0.8717 GB, free: 109.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00275/1.725, allocations: 2.849 MB / 0.8745 GB, free: 107.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.725, allocations: 3.625 kB / 0.8745 GB, free: 107.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00482/1.729, allocations: 2.844 MB / 0.8772 GB, free: 107.4 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/1.731, allocations: 467.2 kB / 0.8777 GB, free: 107.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002993/1.731, allocations: 53.12 kB / 0.8777 GB, free: 107.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/1.732, allocations: 145.2 kB / 0.8779 GB, free: 107.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004939/1.732, allocations: 252.8 kB / 0.8781 GB, free: 107.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001441/1.733, allocations: 61.66 kB / 0.8782 GB, free: 107.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002367/1.735, allocations: 1.271 MB / 0.8794 GB, free: 107.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.735, allocations: 0 / 0.8794 GB, free: 107.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002327/1.737, allocations: 491.5 kB / 0.8799 GB, free: 107.1 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 6 (chassis.body.s,chassis.dragForces.v_rel,engine.end_1.zeroTorque1D.phi,accessories.inertia.w,generator.inductor.i,driveMotor.inductor.i) * Number of discrete variables: 21 (brakes.brake_1.free,brakes.brake_1.startForward,brakes.brake_1.startBackward,brakes.brake_1.locked,brakes.brake_1.mode,brakes.brake_2.free,brakes.brake_2.startForward,brakes.brake_2.startBackward,brakes.brake_2.locked,brakes.brake_2.mode,brakes.brake_3.free,brakes.brake_3.startForward,brakes.brake_3.startBackward,brakes.brake_3.locked,brakes.brake_3.mode,brakes.brake_4.free,brakes.brake_4.startForward,brakes.brake_4.startBackward,brakes.brake_4.locked,brakes.brake_4.mode,driverEnvironment.ignition.y) * Number of discrete states: 12 (brakes.brake_1.mode,brakes.brake_1.startForward,brakes.brake_1.startBackward,brakes.brake_2.mode,brakes.brake_2.startForward,brakes.brake_2.startBackward,brakes.brake_3.mode,brakes.brake_3.startForward,brakes.brake_3.startBackward,brakes.brake_4.mode,brakes.brake_4.startForward,brakes.brake_4.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 108 * Array equations: 0 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {4 32} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003931/1.738, allocations: 212.9 kB / 0.8801 GB, free: 107 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003385/1.741, allocations: 1.905 MB / 0.8819 GB, free: 106.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/1.741, allocations: 1 kB / 0.8819 GB, free: 106.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001701/1.743, allocations: 1.012 MB / 0.8829 GB, free: 106.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/1.744, allocations: 307.2 kB / 0.8832 GB, free: 106.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/1.755, allocations: 5.86 MB / 0.889 GB, free: 104 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001686/1.757, allocations: 1.705 MB / 0.8906 GB, free: 103.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001378/1.758, allocations: 300.9 kB / 0.8909 GB, free: 103.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000291/1.758, allocations: 128.8 kB / 0.891 GB, free: 103.1 MB / 458.7 MB Notification: Performance of SimCode: time 1.192e-06/1.758, allocations: 0 / 0.891 GB, free: 103.1 MB / 458.7 MB Notification: Performance of Templates: time 0.0468/1.805, allocations: 26.97 MB / 0.9174 GB, free: 101.8 MB / 458.7 MB make -j1 -f VehicleInterfaces_VehicleInterfaces.Examples.SeriesHybrid.makefile (rm -f VehicleInterfaces_VehicleInterfaces.Examples.SeriesHybrid.pipe ; mkfifo VehicleInterfaces_VehicleInterfaces.Examples.SeriesHybrid.pipe ; head -c 1048576 < VehicleInterfaces_VehicleInterfaces.Examples.SeriesHybrid.pipe >> ../files/VehicleInterfaces_VehicleInterfaces.Examples.SeriesHybrid.sim & ./VehicleInterfaces_VehicleInterfaces.Examples.SeriesHybrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Examples.SeriesHybrid.pipe 2>&1)