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.001303/0.001303, allocations: 170.4 kB / 7.645 MB, free: 1.434 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.429/1.429, allocations: 221.5 MB / 229.6 MB, free: 7.594 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.0008393/0.0008392, allocations: 84.36 kB / 280.5 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.03649/0.03649, allocations: 7.842 MB / 339.1 MB, free: 7.43 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.555e-05/1.559e-05, allocations: 4.406 kB / 397.5 MB, free: 48.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07915/0.07919, allocations: 52.2 MB / 449.7 MB, free: 7.066 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3399/0.4191, allocations: 108.5 MB / 0.5451 GB, free: 25.93 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.4194, allocations: 83.05 kB / 0.5452 GB, free: 25.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9056/1.325, allocations: 265.5 MB / 0.8044 GB, free: 72.94 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.284e-06/1.325, allocations: 0 / 0.8044 GB, free: 72.94 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001938/1.325, allocations: 83.97 kB / 0.8045 GB, free: 72.86 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.004269/1.33, allocations: 2.546 MB / 0.807 GB, free: 70.46 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/1.33, allocations: 8.031 kB / 0.807 GB, free: 70.46 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009404/1.331, allocations: 379.6 kB / 0.8074 GB, free: 70.09 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002815/1.333, allocations: 1.795 MB / 0.8091 GB, free: 68.8 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.979e-05/1.334, allocations: 91.81 kB / 0.8092 GB, free: 68.71 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003323/1.334, allocations: 170.9 kB / 0.8094 GB, free: 68.55 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003199/1.337, allocations: 1.769 MB / 0.8111 GB, free: 67.47 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004023/1.341, allocations: 2.622 MB / 0.8137 GB, free: 64.75 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001061/1.341, allocations: 31.36 kB / 0.8137 GB, free: 64.72 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002019/1.341, allocations: 6.234 kB / 0.8137 GB, free: 64.71 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001049/1.342, allocations: 103.1 kB / 0.8138 GB, free: 64.62 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01375/1.355, allocations: 11.2 MB / 0.8247 GB, free: 53.26 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00128/1.357, allocations: 0.9785 MB / 0.8257 GB, free: 52.28 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008013/1.357, allocations: 0.6408 MB / 0.8263 GB, free: 51.64 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/1.358, allocations: 17.3 kB / 0.8263 GB, free: 51.62 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/1.358, allocations: 57.38 kB / 0.8264 GB, free: 51.56 MB / 458.7 MB Notification: Performance of pre-optimization done (n=131): time 3.527e-06/1.358, allocations: 0 / 0.8264 GB, free: 51.56 MB / 458.7 MB Notification: Performance of matching and sorting (n=151): time 0.008207/1.366, allocations: 4.59 MB / 0.8309 GB, free: 46.95 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/1.366, allocations: 99.66 kB / 0.831 GB, free: 46.84 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001584/1.368, allocations: 1.211 MB / 0.8322 GB, free: 45.63 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001414/1.368, allocations: 41.7 kB / 0.8322 GB, free: 45.59 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008669/1.369, allocations: 1.303 MB / 0.8335 GB, free: 44.27 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003133/1.369, allocations: 497 kB / 0.8339 GB, free: 43.77 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.28e-05/1.369, allocations: 0 / 0.8339 GB, free: 43.77 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/1.369, allocations: 381.9 kB / 0.8343 GB, free: 43.39 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008157/1.37, allocations: 0.5807 MB / 0.8349 GB, free: 42.82 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/1.371, allocations: 1.129 MB / 0.836 GB, free: 41.46 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/1.372, allocations: 0.6606 MB / 0.8366 GB, free: 40.81 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.135e-05/1.372, allocations: 4 kB / 0.8366 GB, free: 40.81 MB / 458.7 MB Notification: Performance of matching and sorting (n=247) (initialization): time 0.003749/1.376, allocations: 2.144 MB / 0.8387 GB, free: 38.66 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3e-05/1.376, allocations: 12 kB / 0.8387 GB, free: 38.64 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.545e-05/1.376, allocations: 30.94 kB / 0.8388 GB, free: 38.62 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001533/1.378, allocations: 1.055 MB / 0.8398 GB, free: 37.61 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/1.379, allocations: 371.3 kB / 0.8401 GB, free: 37.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002943/1.382, allocations: 3.069 MB / 0.8431 GB, free: 34.04 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001796/1.384, allocations: 187.8 kB / 0.8433 GB, free: 33.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001644/1.384, allocations: 94.48 kB / 0.8434 GB, free: 33.77 MB / 458.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: brakes.brake_1.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real brakes.brake_2.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real brakes.brake_3.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real brakes.brake_4.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real 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 () * 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.0004425/1.384, allocations: 197.5 kB / 0.8436 GB, free: 33.58 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002938/1.385, allocations: 197.6 kB / 0.8438 GB, free: 33.38 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00321/1.388, allocations: 1.861 MB / 0.8456 GB, free: 31.49 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/1.388, allocations: 19.44 kB / 0.8456 GB, free: 31.47 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.388, allocations: 0 / 0.8456 GB, free: 31.47 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/1.388, allocations: 7.969 kB / 0.8456 GB, free: 31.46 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007674/1.396, allocations: 4.312 MB / 0.8498 GB, free: 27.06 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/1.396, allocations: 0 / 0.8498 GB, free: 27.06 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008201/1.396, allocations: 212 kB / 0.85 GB, free: 26.85 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001382/1.398, allocations: 0.9612 MB / 0.851 GB, free: 25.94 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.65e-05/1.398, allocations: 31.94 kB / 0.851 GB, free: 25.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002699/1.401, allocations: 2.89 MB / 0.8538 GB, free: 22.88 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/1.401, allocations: 0 / 0.8538 GB, free: 22.88 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003774/1.404, allocations: 2.624 MB / 0.8564 GB, free: 20.16 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007925/1.405, allocations: 413.7 kB / 0.8568 GB, free: 19.73 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002508/1.405, allocations: 28 kB / 0.8568 GB, free: 19.71 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/1.406, allocations: 127.8 kB / 0.8569 GB, free: 19.59 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003853/1.407, allocations: 256.7 kB / 0.8572 GB, free: 19.33 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/1.407, allocations: 59.95 kB / 0.8572 GB, free: 19.27 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00128/1.408, allocations: 0.8851 MB / 0.8581 GB, free: 18.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.408, allocations: 0 / 0.8581 GB, free: 18.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001846/1.41, allocations: 427.9 kB / 0.8585 GB, free: 17.98 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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) * 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.0003496/1.411, allocations: 162.7 kB / 0.8587 GB, free: 17.81 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002436/1.413, allocations: 1.728 MB / 0.8604 GB, free: 16.05 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.413, allocations: 0 / 0.8604 GB, free: 16.05 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001578/1.415, allocations: 0.9553 MB / 0.8613 GB, free: 15.09 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/1.416, allocations: 253.6 kB / 0.8615 GB, free: 14.86 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00765/1.424, allocations: 3.703 MB / 0.8652 GB, free: 11.13 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001048/1.425, allocations: 1.697 MB / 0.8668 GB, free: 9.402 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009132/1.426, allocations: 261.8 kB / 0.8671 GB, free: 9.148 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/1.426, allocations: 114.3 kB / 0.8672 GB, free: 9.039 MB / 458.7 MB Notification: Performance of SimCode: time 1.122e-06/1.426, allocations: 3.938 kB / 0.8672 GB, free: 9.035 MB / 458.7 MB Notification: Performance of Templates: time 0.3154/1.742, allocations: 23.6 MB / 0.8902 GB, free: 110.2 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)