Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr VehicleInterfaces_VehicleInterfaces.Examples.PowerSplitHybrid.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.PowerSplitHybrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Examples.PowerSplitHybrid") translateModel(VehicleInterfaces.Examples.PowerSplitHybrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Examples.PowerSplitHybrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 174.1 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.257/1.257, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.0008304/0.0008302, allocations: 85.23 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.03952/0.03952, allocations: 7.83 MB / 344.3 MB, free: 2.316 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.009e-05/3.011e-05, allocations: 0 / 404.4 MB, free: 62.67 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1183, allocations: 52.21 MB / 456.6 MB, free: 10.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4128/0.5311, allocations: 110 MB / 0.5533 GB, free: 10.11 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/0.5315, allocations: 89.14 kB / 0.5533 GB, free: 10.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.217/1.749, allocations: 304.5 MB / 0.8508 GB, free: 113.1 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.216e-06/1.749, allocations: 0 / 0.8508 GB, free: 113.1 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002245/1.749, allocations: 102.1 kB / 0.8509 GB, free: 113.1 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: 769 * Number of variables: 769 Notification: Performance of Generate backend data structure: time 0.004743/1.754, allocations: 2.721 MB / 0.8535 GB, free: 111.9 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/1.754, allocations: 11.22 kB / 0.8535 GB, free: 111.9 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008991/1.755, allocations: 411.2 kB / 0.8539 GB, free: 111.8 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003016/1.758, allocations: 1.934 MB / 0.8558 GB, free: 111.3 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/1.758, allocations: 226.7 kB / 0.856 GB, free: 111.3 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000364/1.758, allocations: 307.8 kB / 0.8563 GB, free: 111.3 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004515/1.763, allocations: 3.265 MB / 0.8595 GB, free: 110.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-05/1.763, allocations: 39.14 kB / 0.8595 GB, free: 110.5 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002375/1.763, allocations: 126.5 kB / 0.8597 GB, free: 110.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.826e-05/1.763, allocations: 109.4 kB / 0.8598 GB, free: 110.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003558/1.767, allocations: 2.086 MB / 0.8618 GB, free: 110.5 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01488/1.782, allocations: 12.64 MB / 0.8741 GB, free: 105.4 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/1.784, allocations: 1.104 MB / 0.8752 GB, free: 105 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/1.785, allocations: 0.7295 MB / 0.8759 GB, free: 104.7 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/1.785, allocations: 19.47 kB / 0.876 GB, free: 104.7 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/1.785, allocations: 43.16 kB / 0.876 GB, free: 104.7 MB / 458.7 MB Notification: Performance of pre-optimization done (n=139): time 4.669e-06/1.785, allocations: 0 / 0.876 GB, free: 104.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=160): time 0.009033/1.794, allocations: 5.203 MB / 0.8811 GB, free: 101.9 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/1.794, allocations: 101 kB / 0.8812 GB, free: 101.8 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002364/1.796, allocations: 1.784 MB / 0.8829 GB, free: 101.1 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001455/1.796, allocations: 75.28 kB / 0.883 GB, free: 101 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008899/1.797, allocations: 1.392 MB / 0.8843 GB, free: 99.91 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003427/1.798, allocations: 0.5281 MB / 0.8849 GB, free: 99.51 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.238e-05/1.798, allocations: 39.03 kB / 0.8849 GB, free: 99.48 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/1.798, allocations: 388.9 kB / 0.8853 GB, free: 99.14 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000984/1.799, allocations: 0.6421 MB / 0.8859 GB, free: 98.86 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/1.8, allocations: 1.228 MB / 0.8871 GB, free: 97.82 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/1.801, allocations: 0.7188 MB / 0.8878 GB, free: 97.52 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/1.801, allocations: 7.469 kB / 0.8878 GB, free: 97.52 MB / 458.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003715/1.805, allocations: 2.435 MB / 0.8902 GB, free: 96.48 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/1.805, allocations: 13.78 kB / 0.8902 GB, free: 96.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-05/1.805, allocations: 26.66 kB / 0.8902 GB, free: 96.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00159/1.807, allocations: 1.064 MB / 0.8913 GB, free: 96.17 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/1.808, allocations: 395.3 kB / 0.8916 GB, free: 96.13 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002487/1.81, allocations: 2.985 MB / 0.8946 GB, free: 93.69 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001896/1.812, allocations: 224.8 kB / 0.8948 GB, free: 93.65 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001666/1.812, allocations: 94.66 kB / 0.8949 GB, free: 93.64 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * 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 (217): * Single equations (assignments): 211 * 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.0003724/1.813, allocations: 270 kB / 0.8951 GB, free: 93.41 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003437/1.813, allocations: 244.1 kB / 0.8953 GB, free: 93.29 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003312/1.816, allocations: 2.063 MB / 0.8974 GB, free: 92.36 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/1.816, allocations: 21.64 kB / 0.8974 GB, free: 92.36 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/1.816, allocations: 0 / 0.8974 GB, free: 92.36 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/1.816, allocations: 9.391 kB / 0.8974 GB, free: 92.35 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007374/1.824, allocations: 4.938 MB / 0.9022 GB, free: 90.03 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/1.824, allocations: 0 / 0.9022 GB, free: 90.03 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009117/1.825, allocations: 239.5 kB / 0.9024 GB, free: 90.01 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00139/1.826, allocations: 0.9747 MB / 0.9034 GB, free: 89.73 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/1.826, allocations: 50.58 kB / 0.9034 GB, free: 89.71 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002389/1.829, allocations: 2.826 MB / 0.9062 GB, free: 87.36 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/1.829, allocations: 3.688 kB / 0.9062 GB, free: 87.36 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003527/1.832, allocations: 2.79 MB / 0.9089 GB, free: 84.61 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008677/1.833, allocations: 483.6 kB / 0.9094 GB, free: 84.18 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000269/1.833, allocations: 55.28 kB / 0.9094 GB, free: 84.13 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/1.834, allocations: 139.9 kB / 0.9096 GB, free: 84.02 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004182/1.835, allocations: 260.3 kB / 0.9098 GB, free: 83.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/1.835, allocations: 69.92 kB / 0.9099 GB, free: 83.85 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0017/1.837, allocations: 1.35 MB / 0.9112 GB, free: 82.6 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.837, allocations: 0 / 0.9112 GB, free: 82.6 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001729/1.838, allocations: 0.5078 MB / 0.9117 GB, free: 82.09 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (chassis.body.s,chassis.dragForces.v_rel,engine.end_1.zeroTorque1D.phi,engine.flywheel.w,motor1.inductor.i,motor2.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 (119): * Single equations (assignments): 117 * 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.0004007/1.839, allocations: 203.8 kB / 0.9119 GB, free: 81.88 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002818/1.842, allocations: 1.915 MB / 0.9138 GB, free: 80 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/1.842, allocations: 4.25 kB / 0.9138 GB, free: 80 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001659/1.843, allocations: 1.007 MB / 0.9148 GB, free: 79.03 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00189/1.845, allocations: 313 kB / 0.9151 GB, free: 78.78 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007812/1.853, allocations: 3.986 MB / 0.9189 GB, free: 75.18 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/1.854, allocations: 1.798 MB / 0.9207 GB, free: 73.78 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001097/1.855, allocations: 304.8 kB / 0.921 GB, free: 73.52 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002876/1.856, allocations: 139.4 kB / 0.9211 GB, free: 73.38 MB / 458.7 MB Notification: Performance of SimCode: time 1.212e-06/1.856, allocations: 0 / 0.9211 GB, free: 73.38 MB / 458.7 MB Notification: Performance of Templates: time 0.04331/1.899, allocations: 27.94 MB / 0.9484 GB, free: 45.96 MB / 458.7 MB make -j1 -f VehicleInterfaces_VehicleInterfaces.Examples.PowerSplitHybrid.makefile (rm -f VehicleInterfaces_VehicleInterfaces.Examples.PowerSplitHybrid.pipe ; mkfifo VehicleInterfaces_VehicleInterfaces.Examples.PowerSplitHybrid.pipe ; head -c 1048576 < VehicleInterfaces_VehicleInterfaces.Examples.PowerSplitHybrid.pipe >> ../files/VehicleInterfaces_VehicleInterfaces.Examples.PowerSplitHybrid.sim & ./VehicleInterfaces_VehicleInterfaces.Examples.PowerSplitHybrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Examples.PowerSplitHybrid.pipe 2>&1)