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.001296/0.001296, allocations: 115.5 kB / 16.37 MB, free: 6.012 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.001305/0.001305, allocations: 192.6 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.246/1.246, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.03985/0.03985, allocations: 7.998 MB / 299.2 MB, free: 7.145 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 59.91 kB / 362 MB, free: 8.207 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1906, allocations: 51.21 MB / 413.3 MB, free: 26.6 MB / 302.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.PowerSplitHybrid): time 0.01699/0.2077, allocations: 24.01 MB / 437.3 MB, free: 2.504 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01169/0.2194, allocations: 6.267 MB / 443.5 MB, free: 12.22 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004137/0.2235, allocations: 191.4 kB / 443.7 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002541/0.2261, allocations: 0.9926 MB / 444.7 MB, free: 11.04 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002983/0.2291, allocations: 0.7862 MB / 445.5 MB, free: 10.24 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008034/0.2372, allocations: 4.665 MB / 450.2 MB, free: 5.566 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004778/0.242, allocations: 3.823 MB / 454 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005822/0.2478, allocations: 4.724 MB / 458.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001956/0.2498, allocations: 1.557 MB / 460.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002044/0.2518, allocations: 1.743 MB / 462 MB, free: 9.617 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005144/0.2524, allocations: 436 kB / 462.4 MB, free: 9.191 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006547/0.253, allocations: 495.9 kB / 462.9 MB, free: 8.707 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000649/0.2537, allocations: 0.9308 MB / 463.9 MB, free: 7.773 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001542/0.2552, allocations: 1.858 MB / 465.7 MB, free: 5.906 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004069/0.2593, allocations: 4.735 MB / 470.4 MB, free: 1.156 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.2593, allocations: 0 / 470.4 MB, free: 1.156 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2594, allocations: 4 kB / 470.4 MB, free: 1.152 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.247e-05/0.2594, allocations: 0 / 470.4 MB, free: 1.152 MB / 334.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.006127/0.2656, allocations: 3.588 MB / 474 MB, free: 13.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.2656, allocations: 8.031 kB / 474 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004642/0.2661, allocations: 371.4 kB / 474.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002791/0.2689, allocations: 1.907 MB / 476.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001435/0.269, allocations: 229.8 kB / 476.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003777/0.2694, allocations: 303.8 kB / 476.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004643/0.2741, allocations: 3.121 MB / 480 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.445e-05/0.2742, allocations: 35.64 kB / 480 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002139/0.2744, allocations: 120 kB / 480.1 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001264/0.2745, allocations: 131.9 kB / 480.2 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003905/0.2784, allocations: 2.269 MB / 482.5 MB, free: 4.824 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01363/0.2921, allocations: 11.5 MB / 494 MB, free: 8.949 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001515/0.2936, allocations: 0.9897 MB / 495 MB, free: 7.945 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00103/0.2947, allocations: 0.6723 MB / 495.7 MB, free: 7.266 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.81e-05/0.2948, allocations: 16.94 kB / 495.7 MB, free: 7.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.2948, allocations: 43.56 kB / 495.7 MB, free: 7.199 MB / 366.1 MB Notification: Performance of pre-optimization done (n=119): time 2.665e-06/0.2948, allocations: 0 / 495.7 MB, free: 7.199 MB / 366.1 MB Notification: Performance of matching and sorting (n=140): time 0.01148/0.3063, allocations: 6.459 MB / 0.4904 GB, free: 0.5625 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.3064, allocations: 90.42 kB / 0.4905 GB, free: 468 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002512/0.3089, allocations: 2.123 MB / 0.4926 GB, free: 14.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001116/0.309, allocations: 65.7 kB / 0.4926 GB, free: 14.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001049/0.3101, allocations: 1.568 MB / 0.4942 GB, free: 12.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003643/0.3105, allocations: 493.5 kB / 0.4946 GB, free: 12.17 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005915/0.3111, allocations: 472.3 kB / 0.4951 GB, free: 11.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.722e-05/0.3112, allocations: 309.1 kB / 0.4954 GB, free: 11.4 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001253/0.3124, allocations: 0.7583 MB / 0.4961 GB, free: 10.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001816/0.3142, allocations: 1.728 MB / 0.4978 GB, free: 8.449 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002755/0.317, allocations: 2.388 MB / 0.5001 GB, free: 5.609 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.198e-05/0.317, allocations: 8 kB / 0.5002 GB, free: 5.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=309) (initialization): time 0.004672/0.3217, allocations: 2.95 MB / 0.503 GB, free: 2.637 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.626e-05/0.3218, allocations: 20 kB / 0.5031 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.165e-05/0.3218, allocations: 32 kB / 0.5031 GB, free: 2.586 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001847/0.3236, allocations: 1.296 MB / 0.5043 GB, free: 1.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/0.3251, allocations: 0.4913 MB / 0.5048 GB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1723/0.4974, allocations: 3.004 MB / 0.5078 GB, free: 88.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001963/0.4994, allocations: 220.1 kB / 0.508 GB, free: 88.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/0.4996, allocations: 120.1 kB / 0.5081 GB, free: 88.39 MB / 382.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_4.mode,$PRE.brakes.brake_4.mode,brakes.brake_4.locked,brakes.brake_4.startBackward,$PRE.brakes.brake_4.startBackward,brakes.brake_4.startForward,$PRE.brakes.brake_4.startForward,brakes.brake_4.free,brakes.brake_3.mode,$PRE.brakes.brake_3.mode,brakes.brake_3.locked,brakes.brake_3.startBackward,$PRE.brakes.brake_3.startBackward,brakes.brake_3.startForward,$PRE.brakes.brake_3.startForward,brakes.brake_3.free,brakes.brake_2.mode,$PRE.brakes.brake_2.mode,brakes.brake_2.locked,brakes.brake_2.startBackward,$PRE.brakes.brake_2.startBackward,brakes.brake_2.startForward,$PRE.brakes.brake_2.startForward,brakes.brake_2.free,brakes.brake_1.mode,$PRE.brakes.brake_1.mode,brakes.brake_1.locked,brakes.brake_1.startBackward,$PRE.brakes.brake_1.startBackward,brakes.brake_1.startForward,$PRE.brakes.brake_1.startForward,brakes.brake_1.free,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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,29)} Notification: Performance of prepare postOptimizeDAE: time 0.001051/0.5006, allocations: 0.6977 MB / 0.5088 GB, free: 88.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002827/0.5009, allocations: 243.8 kB / 0.509 GB, free: 88.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002822/0.5037, allocations: 1.836 MB / 0.5108 GB, free: 87.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/0.5038, allocations: 18.78 kB / 0.5108 GB, free: 87.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.5038, allocations: 0 / 0.5108 GB, free: 87.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.5038, allocations: 7.125 kB / 0.5108 GB, free: 87.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006922/0.5107, allocations: 4.745 MB / 0.5154 GB, free: 85.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.657e-06/0.5107, allocations: 2.094 kB / 0.5155 GB, free: 85.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009614/0.5117, allocations: 214.7 kB / 0.5157 GB, free: 85.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001636/0.5134, allocations: 1.181 MB / 0.5168 GB, free: 84.94 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/0.5135, allocations: 47.61 kB / 0.5169 GB, free: 84.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00218/0.5157, allocations: 2.827 MB / 0.5196 GB, free: 82.6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.5157, allocations: 11.78 kB / 0.5196 GB, free: 82.6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003673/0.5194, allocations: 2.739 MB / 0.5223 GB, free: 81.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007369/0.5201, allocations: 466.2 kB / 0.5227 GB, free: 81.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002509/0.5204, allocations: 53.28 kB / 0.5228 GB, free: 81.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009004/0.5213, allocations: 107.3 kB / 0.5229 GB, free: 81.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003641/0.5216, allocations: 201.5 kB / 0.5231 GB, free: 81.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.794e-05/0.5217, allocations: 53.25 kB / 0.5231 GB, free: 81.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001549/0.5233, allocations: 1.369 MB / 0.5245 GB, free: 80.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5233, allocations: 0 / 0.5245 GB, free: 80.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001582/0.5249, allocations: 0.5284 MB / 0.525 GB, free: 80.32 MB / 382.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,24)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002978/0.5252, allocations: 205.5 kB / 0.5252 GB, free: 80.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002782/0.528, allocations: 2.033 MB / 0.5272 GB, free: 78.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.528, allocations: 4 kB / 0.5272 GB, free: 78.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00142/0.5294, allocations: 0.9916 MB / 0.5282 GB, free: 77.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/0.531, allocations: 361.6 kB / 0.5285 GB, free: 76.94 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007106/0.5381, allocations: 5.07 MB / 0.5334 GB, free: 71.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009021/0.539, allocations: 1.731 MB / 0.5351 GB, free: 70.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008909/0.5399, allocations: 354.5 kB / 0.5355 GB, free: 69.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002611/0.5402, allocations: 151.4 kB / 0.5356 GB, free: 69.64 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5402, allocations: 0 / 0.5356 GB, free: 69.64 MB / 382.1 MB Notification: Performance of Templates: time 0.03778/0.578, allocations: 30.43 MB / 0.5653 GB, free: 39.4 MB / 382.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 -s cvode -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Examples.PowerSplitHybrid.pipe 2>&1)