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.0-master/package.mo", uses=false) Using package VehicleInterfaces with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.0-master/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.0008841/0.000884, allocations: 177.8 kB / 16.12 MB, free: 5.695 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.175/1.175, allocations: 223.3 MB / 240.1 MB, free: 9.996 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.0007239/0.0007239, allocations: 102.5 kB / 291.3 MB, free: 10.58 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.0-master/package.mo): time 0.0373/0.0373, allocations: 7.998 MB / 350.4 MB, free: 15.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003225/0.0003225, allocations: 12.5 kB / 413.3 MB, free: 58.1 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06628/0.06662, allocations: 52.2 MB / 465.5 MB, free: 5.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2623/0.329, allocations: 109.9 MB / 0.5619 GB, free: 8.656 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001939/0.3292, allocations: 99.83 kB / 0.562 GB, free: 8.605 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9752/1.304, allocations: 304.6 MB / 0.8594 GB, free: 112.1 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.964e-06/1.304, allocations: 0 / 0.8594 GB, free: 112.1 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002616/1.305, allocations: 88.31 kB / 0.8595 GB, free: 112.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.005411/1.31, allocations: 2.99 MB / 0.8624 GB, free: 110.7 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/1.31, allocations: 6 kB / 0.8624 GB, free: 110.7 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007294/1.311, allocations: 416.4 kB / 0.8628 GB, free: 110.6 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002598/1.314, allocations: 2.031 MB / 0.8648 GB, free: 110 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/1.314, allocations: 223.2 kB / 0.865 GB, free: 110 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003225/1.314, allocations: 302.8 kB / 0.8653 GB, free: 110 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004192/1.318, allocations: 3.36 MB / 0.8686 GB, free: 109.2 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.772e-05/1.318, allocations: 31.7 kB / 0.8686 GB, free: 109.2 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002158/1.319, allocations: 136.6 kB / 0.8687 GB, free: 109.2 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.629e-05/1.319, allocations: 105.8 kB / 0.8688 GB, free: 109.2 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003445/1.322, allocations: 2.19 MB / 0.871 GB, free: 109.2 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01326/1.335, allocations: 12.62 MB / 0.8833 GB, free: 103.6 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/1.337, allocations: 1.151 MB / 0.8844 GB, free: 103.1 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001042/1.338, allocations: 0.7589 MB / 0.8852 GB, free: 102.8 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.474e-05/1.338, allocations: 21.08 kB / 0.8852 GB, free: 102.8 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/1.338, allocations: 51.72 kB / 0.8852 GB, free: 102.7 MB / 458.7 MB Notification: Performance of pre-optimization done (n=139): time 3.918e-06/1.338, allocations: 7.938 kB / 0.8853 GB, free: 102.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=160): time 0.01052/1.349, allocations: 6.754 MB / 0.8919 GB, free: 99.05 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/1.349, allocations: 92.45 kB / 0.8919 GB, free: 98.95 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002122/1.351, allocations: 2.083 MB / 0.894 GB, free: 98.14 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001109/1.351, allocations: 71.14 kB / 0.894 GB, free: 98.07 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007547/1.352, allocations: 1.39 MB / 0.8954 GB, free: 97 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002643/1.352, allocations: 0.5321 MB / 0.8959 GB, free: 96.59 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.615e-05/1.352, allocations: 48.73 kB / 0.896 GB, free: 96.56 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.232e-05/1.352, allocations: 379.4 kB / 0.8963 GB, free: 96.22 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009994/1.353, allocations: 0.6794 MB / 0.897 GB, free: 95.88 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/1.354, allocations: 1.27 MB / 0.8982 GB, free: 94.75 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001903/1.356, allocations: 1.815 MB / 0.9 GB, free: 93.35 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/1.356, allocations: 7.188 kB / 0.9 GB, free: 93.35 MB / 458.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003548/1.36, allocations: 2.514 MB / 0.9025 GB, free: 92.05 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/1.36, allocations: 23.25 kB / 0.9025 GB, free: 92.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.722e-05/1.36, allocations: 18.47 kB / 0.9025 GB, free: 92.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001459/1.361, allocations: 1.091 MB / 0.9036 GB, free: 91.57 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/1.363, allocations: 393.7 kB / 0.9039 GB, free: 91.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00239/1.365, allocations: 2.986 MB / 0.9069 GB, free: 88.92 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/1.366, allocations: 229.5 kB / 0.9071 GB, free: 88.83 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/1.367, allocations: 98.81 kB / 0.9072 GB, free: 88.8 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 () * Number of clocked 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.001156/1.368, allocations: 0.652 MB / 0.9078 GB, free: 88.36 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002529/1.368, allocations: 247.3 kB / 0.908 GB, free: 88.23 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002957/1.371, allocations: 2.119 MB / 0.9101 GB, free: 86.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/1.371, allocations: 16 kB / 0.9101 GB, free: 86.79 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/1.371, allocations: 0 / 0.9101 GB, free: 86.79 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/1.371, allocations: 19.22 kB / 0.9102 GB, free: 86.77 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006569/1.378, allocations: 4.98 MB / 0.915 GB, free: 81.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/1.378, allocations: 0 / 0.915 GB, free: 81.73 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008239/1.378, allocations: 239.9 kB / 0.9152 GB, free: 81.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001324/1.38, allocations: 0.9991 MB / 0.9162 GB, free: 80.55 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/1.38, allocations: 47.95 kB / 0.9163 GB, free: 80.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002276/1.382, allocations: 2.842 MB / 0.919 GB, free: 77.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/1.382, allocations: 4.031 kB / 0.919 GB, free: 77.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004155/1.386, allocations: 2.754 MB / 0.9217 GB, free: 74.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/1.387, allocations: 493.8 kB / 0.9222 GB, free: 74.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005273/1.388, allocations: 48 kB / 0.9222 GB, free: 74.15 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/1.389, allocations: 143.9 kB / 0.9224 GB, free: 74.01 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004233/1.39, allocations: 256.8 kB / 0.9226 GB, free: 73.76 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001253/1.39, allocations: 63.95 kB / 0.9227 GB, free: 73.7 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002056/1.392, allocations: 1.369 MB / 0.924 GB, free: 72.32 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.392, allocations: 0 / 0.924 GB, free: 72.32 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001842/1.394, allocations: 0.5184 MB / 0.9245 GB, free: 71.8 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) * Number of clocked states: 0 () * 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.000329/1.394, allocations: 206.4 kB / 0.9247 GB, free: 71.59 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003003/1.397, allocations: 1.973 MB / 0.9267 GB, free: 69.59 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/1.397, allocations: 0 / 0.9267 GB, free: 69.59 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001669/1.399, allocations: 1.054 MB / 0.9277 GB, free: 68.53 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002383/1.401, allocations: 333.2 kB / 0.928 GB, free: 68.21 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008872/1.41, allocations: 6.21 MB / 0.9341 GB, free: 62 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001603/1.412, allocations: 1.73 MB / 0.9358 GB, free: 60.25 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00114/1.413, allocations: 313 kB / 0.9361 GB, free: 59.94 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003673/1.413, allocations: 131.4 kB / 0.9362 GB, free: 59.81 MB / 458.7 MB Notification: Performance of SimCode: time 1.042e-06/1.413, allocations: 0 / 0.9362 GB, free: 59.81 MB / 458.7 MB Notification: Performance of Templates: time 0.0391/1.452, allocations: 28.08 MB / 0.9636 GB, free: 32.2 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)