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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/VehicleInterfaces 2.0.1-master/package.mo", uses=false) Using package VehicleInterfaces with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.2067/0.2067, allocations: 7.993 MB / 299.1 MB, free: 3.375 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.000347, allocations: 8 kB / 361.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1353, allocations: 52.22 MB / 414 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.PowerSplitHybrid): time 0.4096/0.545, allocations: 85.18 MB / 499.2 MB, free: 4.699 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.06686/0.6119, allocations: 17.42 MB / 0.5045 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03036/0.6424, allocations: 460.2 kB / 0.5049 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01658/0.659, allocations: 3.287 MB / 0.5081 GB, free: 7.223 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03854/0.6976, allocations: 7.993 MB / 0.5159 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007844/0.7055, allocations: 0.7936 MB / 0.5167 GB, free: 3.004 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007928/0.7134, allocations: 3.346 MB / 0.52 GB, free: 15.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006179/0.7196, allocations: 2.815 MB / 0.5227 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002889/0.7225, allocations: 1.128 MB / 0.5238 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002793/0.7254, allocations: 1.322 MB / 0.5251 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000391/0.7258, allocations: 140 kB / 0.5252 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006506/0.7264, allocations: 187.9 kB / 0.5254 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000561/0.727, allocations: 0.5874 MB / 0.526 GB, free: 9.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008882/0.7279, allocations: 0.6366 MB / 0.5266 GB, free: 9.195 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004028/0.7319, allocations: 3.576 MB / 0.5301 GB, free: 5.609 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.7319, allocations: 0 / 0.5301 GB, free: 5.609 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.732, allocations: 0 / 0.5301 GB, free: 5.609 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001688/0.7321, allocations: 0 / 0.5301 GB, free: 5.609 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 777 * Number of variables: 777 Notification: Performance of Generate backend data structure: time 0.00712/0.7393, allocations: 3.039 MB / 0.5331 GB, free: 2.504 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.253e-05/0.7393, allocations: 8.031 kB / 0.5331 GB, free: 2.496 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008138/0.7402, allocations: 371.4 kB / 0.5334 GB, free: 2.129 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003158/0.7433, allocations: 1.778 MB / 0.5352 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001576/0.7435, allocations: 213.9 kB / 0.5354 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004168/0.7439, allocations: 311.8 kB / 0.5357 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006034/0.75, allocations: 3.108 MB / 0.5387 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001105/0.7501, allocations: 31.73 kB / 0.5387 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002429/0.7503, allocations: 120 kB / 0.5389 GB, free: 12.4 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001462/0.7505, allocations: 131.9 kB / 0.539 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004538/0.755, allocations: 2.265 MB / 0.5412 GB, free: 9.996 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01839/0.7734, allocations: 11.69 MB / 0.5526 GB, free: 13.94 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001774/0.7752, allocations: 0.9874 MB / 0.5536 GB, free: 12.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001141/0.7764, allocations: 0.6669 MB / 0.5542 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.618e-05/0.7765, allocations: 24.92 kB / 0.5542 GB, free: 12.24 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.7766, allocations: 43.56 kB / 0.5543 GB, free: 12.19 MB / 430.1 MB Notification: Performance of pre-optimization done (n=119): time 3.456e-06/0.7766, allocations: 0 / 0.5543 GB, free: 12.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.0126/0.7892, allocations: 6.627 MB / 0.5608 GB, free: 5.383 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.226e-05/0.7893, allocations: 90.42 kB / 0.5608 GB, free: 5.277 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002979/0.7923, allocations: 2.107 MB / 0.5629 GB, free: 3.152 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001531/0.7924, allocations: 69.7 kB / 0.563 GB, free: 3.078 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001323/0.7937, allocations: 1.552 MB / 0.5645 GB, free: 1.508 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004577/0.7942, allocations: 497.3 kB / 0.565 GB, free: 1.016 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.7943, allocations: 48 kB / 0.565 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.7945, allocations: 406.8 kB / 0.5654 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/0.7959, allocations: 0.7544 MB / 0.5661 GB, free: 15.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00198/0.7979, allocations: 1.716 MB / 0.5678 GB, free: 13.63 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/0.7993, allocations: 0.9081 MB / 0.5687 GB, free: 12.72 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-05/0.7994, allocations: 12 kB / 0.5687 GB, free: 12.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=309) (initialization): time 0.005384/0.8048, allocations: 2.938 MB / 0.5716 GB, free: 9.758 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.582e-05/0.8048, allocations: 16 kB / 0.5716 GB, free: 9.742 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.096e-05/0.8049, allocations: 36 kB / 0.5716 GB, free: 9.707 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002054/0.8069, allocations: 1.304 MB / 0.5729 GB, free: 8.398 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/0.8085, allocations: 0.4914 MB / 0.5734 GB, free: 7.906 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003586/0.8121, allocations: 2.919 MB / 0.5762 GB, free: 4.824 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00243/0.8145, allocations: 267.6 kB / 0.5765 GB, free: 4.562 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002132/0.8147, allocations: 124 kB / 0.5766 GB, free: 4.441 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 148 * Number of states: 0 () * Number of discrete variables: 57 (controlBus.driverBus.ignition,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 (275): * Single equations (assignments): 273 * 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%) 2} * Non-linear torn systems: 1 {4 29} Notification: Performance of prepare postOptimizeDAE: time 0.002197/0.8169, allocations: 0.6961 MB / 0.5773 GB, free: 3.734 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005638/0.8175, allocations: 240.9 kB / 0.5775 GB, free: 3.496 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003571/0.8211, allocations: 1.832 MB / 0.5793 GB, free: 1.641 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/0.8211, allocations: 16 kB / 0.5793 GB, free: 1.625 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.8211, allocations: 0 / 0.5793 GB, free: 1.625 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.627e-05/0.8211, allocations: 7.969 kB / 0.5793 GB, free: 1.617 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3543/1.175, allocations: 4.837 MB / 0.584 GB, free: 125.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/1.176, allocations: 6.938 kB / 0.5841 GB, free: 125.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008035/1.176, allocations: 214.7 kB / 0.5843 GB, free: 125.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001654/1.178, allocations: 1.18 MB / 0.5854 GB, free: 125.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/1.178, allocations: 47.98 kB / 0.5855 GB, free: 125.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002415/1.181, allocations: 2.729 MB / 0.5881 GB, free: 123.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/1.181, allocations: 240 / 0.5881 GB, free: 123.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004517/1.185, allocations: 2.75 MB / 0.5908 GB, free: 123.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009466/1.186, allocations: 465.2 kB / 0.5912 GB, free: 123.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002616/1.186, allocations: 56.2 kB / 0.5913 GB, free: 123.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008931/1.187, allocations: 143 kB / 0.5914 GB, free: 123.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004965/1.188, allocations: 245.5 kB / 0.5917 GB, free: 123.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.403e-05/1.188, allocations: 50.81 kB / 0.5917 GB, free: 123.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002009/1.19, allocations: 1.351 MB / 0.593 GB, free: 122.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.053e-06/1.19, allocations: 0 / 0.593 GB, free: 122.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002033/1.192, allocations: 0.5309 MB / 0.5936 GB, free: 122.5 MB / 446.1 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,accessories.inertia.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,controlBus.driverBus.ignition) * Number of discrete states: 12 (brakes.brake_4.mode,brakes.brake_4.startForward,brakes.brake_4.startBackward,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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 110 * 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%) 2} * Non-linear torn systems: 1 {4 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003538/1.192, allocations: 187.5 kB / 0.5937 GB, free: 122.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003387/1.196, allocations: 2.029 MB / 0.5957 GB, free: 121.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.196, allocations: 0 / 0.5957 GB, free: 121.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001579/1.197, allocations: 0.9827 MB / 0.5967 GB, free: 121.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001671/1.199, allocations: 346.5 kB / 0.597 GB, free: 121 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/1.21, allocations: 6.247 MB / 0.6031 GB, free: 117.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001493/1.211, allocations: 1.73 MB / 0.6048 GB, free: 116.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001364/1.213, allocations: 350.6 kB / 0.6051 GB, free: 116.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003522/1.213, allocations: 141.2 kB / 0.6053 GB, free: 116.7 MB / 446.1 MB Notification: Performance of SimCode: time 3.897e-06/1.213, allocations: 0 / 0.6053 GB, free: 116.7 MB / 446.1 MB Notification: Performance of Templates: time 0.05948/1.272, allocations: 27.97 MB / 0.6326 GB, free: 111.1 MB / 446.1 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)