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.0009372/0.0009372, allocations: 176.1 kB / 7.643 MB, free: 1.414 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.368/1.368, allocations: 221.5 MB / 229.6 MB, free: 7.57 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.00104/0.00104, allocations: 91.2 kB / 280.5 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.03686/0.03686, allocations: 7.834 MB / 339.1 MB, free: 7.422 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.356e-05/1.357e-05, allocations: 1.125 kB / 397.5 MB, free: 48.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07732/0.07735, allocations: 52.2 MB / 449.7 MB, free: 7.059 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3579/0.4353, allocations: 109 MB / 0.5456 GB, free: 25.89 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/0.4356, allocations: 80.8 kB / 0.5457 GB, free: 25.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.02/1.456, allocations: 304 MB / 0.8426 GB, free: 34.91 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.703e-06/1.456, allocations: 0 / 0.8426 GB, free: 34.91 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002027/1.456, allocations: 91.97 kB / 0.8427 GB, free: 34.82 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.004227/1.46, allocations: 2.724 MB / 0.8453 GB, free: 32.05 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/1.46, allocations: 12.03 kB / 0.8454 GB, free: 32.04 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007519/1.461, allocations: 407.4 kB / 0.8457 GB, free: 31.64 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002679/1.464, allocations: 1.953 MB / 0.8477 GB, free: 29.71 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.143e-05/1.464, allocations: 96 kB / 0.8477 GB, free: 29.61 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003165/1.464, allocations: 187.8 kB / 0.8479 GB, free: 29.43 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003171/1.467, allocations: 1.902 MB / 0.8498 GB, free: 27.52 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003915/1.471, allocations: 2.85 MB / 0.8526 GB, free: 24.45 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000104/1.471, allocations: 32.61 kB / 0.8526 GB, free: 24.42 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002051/1.472, allocations: 8 kB / 0.8526 GB, free: 24.41 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.461e-05/1.472, allocations: 108 kB / 0.8527 GB, free: 24.31 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01407/1.486, allocations: 12.01 MB / 0.8644 GB, free: 12.15 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/1.487, allocations: 1.054 MB / 0.8655 GB, free: 11.09 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008197/1.488, allocations: 0.6806 MB / 0.8661 GB, free: 10.41 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001101/1.488, allocations: 17.31 kB / 0.8661 GB, free: 10.39 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/1.488, allocations: 51.56 kB / 0.8662 GB, free: 10.34 MB / 458.7 MB Notification: Performance of pre-optimization done (n=139): time 3.928e-06/1.488, allocations: 0 / 0.8662 GB, free: 10.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=160): time 0.008478/1.497, allocations: 4.88 MB / 0.871 GB, free: 5.457 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/1.497, allocations: 98.41 kB / 0.8711 GB, free: 5.344 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/1.498, allocations: 1.278 MB / 0.8723 GB, free: 4.027 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001262/1.498, allocations: 41.7 kB / 0.8723 GB, free: 3.98 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009073/1.499, allocations: 1.408 MB / 0.8737 GB, free: 2.555 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003193/1.5, allocations: 0.5123 MB / 0.8742 GB, free: 2.035 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.012e-05/1.5, allocations: 0 / 0.8742 GB, free: 2.035 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/1.5, allocations: 385.9 kB / 0.8746 GB, free: 1.652 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008243/1.501, allocations: 0.6016 MB / 0.8752 GB, free: 1.047 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2961/1.797, allocations: 1.17 MB / 0.8763 GB, free: 110.2 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00194/1.799, allocations: 0.7002 MB / 0.877 GB, free: 110.2 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.532e-05/1.799, allocations: 5.406 kB / 0.877 GB, free: 110.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.005841/1.805, allocations: 2.203 MB / 0.8792 GB, free: 110.2 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.794e-05/1.805, allocations: 13.81 kB / 0.8792 GB, free: 110.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.408e-05/1.805, allocations: 23.39 kB / 0.8792 GB, free: 110.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002116/1.807, allocations: 1.057 MB / 0.8802 GB, free: 110.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/1.808, allocations: 396.5 kB / 0.8806 GB, free: 110.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003489/1.812, allocations: 3.069 MB / 0.8836 GB, free: 108.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001946/1.814, allocations: 183.2 kB / 0.8838 GB, free: 108.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003016/1.814, allocations: 98.3 kB / 0.8839 GB, free: 108.4 MB / 458.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: brakes.brake_3.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real 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_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: 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.0005836/1.815, allocations: 214.2 kB / 0.8841 GB, free: 108.3 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006347/1.815, allocations: 207.8 kB / 0.8843 GB, free: 108.2 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004249/1.82, allocations: 1.914 MB / 0.8861 GB, free: 108.1 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.037e-05/1.82, allocations: 18.78 kB / 0.8862 GB, free: 108.1 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/1.82, allocations: 4.688 kB / 0.8862 GB, free: 108.1 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.2e-05/1.82, allocations: 8.406 kB / 0.8862 GB, free: 108.1 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00996/1.83, allocations: 4.462 MB / 0.8905 GB, free: 107.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/1.83, allocations: 4.938 kB / 0.8905 GB, free: 107.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/1.831, allocations: 235.5 kB / 0.8908 GB, free: 107.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001532/1.832, allocations: 0.961 MB / 0.8917 GB, free: 107.5 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001497/1.833, allocations: 27.42 kB / 0.8917 GB, free: 107.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002913/1.836, allocations: 2.898 MB / 0.8946 GB, free: 105.7 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/1.836, allocations: 6.938 kB / 0.8946 GB, free: 105.7 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003737/1.839, allocations: 2.626 MB / 0.8971 GB, free: 105.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009011/1.84, allocations: 429.5 kB / 0.8975 GB, free: 105 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004814/1.841, allocations: 25.66 kB / 0.8976 GB, free: 105 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/1.842, allocations: 119.6 kB / 0.8977 GB, free: 105 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004287/1.843, allocations: 255.8 kB / 0.8979 GB, free: 105 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001402/1.843, allocations: 58.3 kB / 0.898 GB, free: 105 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001822/1.844, allocations: 0.9291 MB / 0.8989 GB, free: 104.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.51e-07/1.844, allocations: 2.156 kB / 0.8989 GB, free: 104.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002719/1.847, allocations: 448.4 kB / 0.8993 GB, free: 104.9 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.0005518/1.848, allocations: 177.1 kB / 0.8995 GB, free: 104.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004218/1.852, allocations: 1.8 MB / 0.9012 GB, free: 104.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.83e-06/1.852, allocations: 0 / 0.9012 GB, free: 104.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002276/1.854, allocations: 0.9626 MB / 0.9022 GB, free: 104.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002308/1.857, allocations: 250.8 kB / 0.9024 GB, free: 104.4 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01298/1.87, allocations: 3.873 MB / 0.9062 GB, free: 103.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002371/1.872, allocations: 1.798 MB / 0.908 GB, free: 102.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001685/1.874, allocations: 263.7 kB / 0.9082 GB, free: 102.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004848/1.874, allocations: 115.8 kB / 0.9083 GB, free: 102.4 MB / 458.7 MB Notification: Performance of SimCode: time 9.11e-07/1.874, allocations: 3.625 kB / 0.9083 GB, free: 102.4 MB / 458.7 MB Notification: Performance of Templates: time 0.05232/1.927, allocations: 24.18 MB / 0.9319 GB, free: 101 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)