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.001063/0.001068, allocations: 106.3 kB / 16.42 MB, free: 6.477 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.0009992/0.0009993, allocations: 190.7 kB / 17.35 MB, free: 5.707 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.268/1.268, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04311/0.04311, allocations: 8.005 MB / 299.2 MB, free: 7.105 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.91 kB / 413.8 MB, free: 22.83 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07477/0.07598, allocations: 51.21 MB / 465 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.PowerSplitHybrid): time 0.02374/0.09975, allocations: 24.02 MB / 489 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01179/0.1116, allocations: 6.269 MB / 495.3 MB, free: 5.172 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003404/0.115, allocations: 195.4 kB / 495.5 MB, free: 4.98 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002487/0.1175, allocations: 0.9887 MB / 496.4 MB, free: 3.984 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002609/0.1202, allocations: 0.8213 MB / 497.3 MB, free: 3.156 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007989/0.1282, allocations: 4.649 MB / 0.4902 GB, free: 14.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004205/0.1324, allocations: 3.82 MB / 0.4939 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005266/0.1377, allocations: 4.724 MB / 0.4985 GB, free: 5.863 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001618/0.1393, allocations: 1.573 MB / 0.5 GB, free: 4.285 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001696/0.141, allocations: 1.75 MB / 0.5017 GB, free: 2.527 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004348/0.1414, allocations: 432 kB / 0.5022 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005936/0.1421, allocations: 499.9 kB / 0.5026 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006611/0.1427, allocations: 0.9308 MB / 0.5035 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1854/0.3281, allocations: 1.852 MB / 0.5053 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005913/0.3341, allocations: 4.759 MB / 0.51 GB, free: 12.19 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.3341, allocations: 2.625 kB / 0.51 GB, free: 12.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.3341, allocations: 0.6562 kB / 0.51 GB, free: 12.19 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001313/0.3343, allocations: 0 / 0.51 GB, free: 12.19 MB / 382.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.006485/0.3407, allocations: 3.686 MB / 0.5136 GB, free: 10.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.3408, allocations: 8.812 kB / 0.5136 GB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005597/0.3414, allocations: 394.3 kB / 0.514 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002636/0.344, allocations: 1.922 MB / 0.5159 GB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/0.3441, allocations: 217.6 kB / 0.5161 GB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004012/0.3446, allocations: 312.4 kB / 0.5164 GB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004979/0.3495, allocations: 3.13 MB / 0.5194 GB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001015/0.3497, allocations: 24.44 kB / 0.5194 GB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002414/0.3499, allocations: 125.8 kB / 0.5196 GB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000117/0.35, allocations: 126.8 kB / 0.5197 GB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00395/0.354, allocations: 2.283 MB / 0.5219 GB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01223/0.3662, allocations: 11.54 MB / 0.5332 GB, free: 1.996 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/0.3676, allocations: 0.988 MB / 0.5341 GB, free: 1.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009573/0.3686, allocations: 0.6617 MB / 0.5348 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.796e-05/0.3687, allocations: 23.34 kB / 0.5348 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.3687, allocations: 44.97 kB / 0.5349 GB, free: 1.098 MB / 382.1 MB Notification: Performance of pre-optimization done (n=119): time 3.146e-06/0.3687, allocations: 0 / 0.5349 GB, free: 1.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=140): time 0.0119/0.3806, allocations: 6.54 MB / 0.5412 GB, free: 12.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.3807, allocations: 95.7 kB / 0.5413 GB, free: 12.88 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002546/0.3833, allocations: 2.124 MB / 0.5434 GB, free: 11.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001219/0.3834, allocations: 74.69 kB / 0.5435 GB, free: 11.67 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00117/0.3846, allocations: 1.6 MB / 0.545 GB, free: 10.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003766/0.3849, allocations: 0.5065 MB / 0.5455 GB, free: 9.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006178/0.3856, allocations: 468.5 kB / 0.546 GB, free: 9.562 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.153e-05/0.3857, allocations: 304.8 kB / 0.5463 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001235/0.3869, allocations: 0.7591 MB / 0.547 GB, free: 8.883 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001825/0.3887, allocations: 1.734 MB / 0.5487 GB, free: 7.191 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002689/0.3914, allocations: 2.378 MB / 0.551 GB, free: 5.102 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.456e-05/0.3915, allocations: 12 kB / 0.551 GB, free: 5.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=309) (initialization): time 0.005027/0.3965, allocations: 2.966 MB / 0.5539 GB, free: 2.309 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.608e-05/0.3966, allocations: 23.94 kB / 0.554 GB, free: 2.285 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.811e-05/0.3966, allocations: 32 kB / 0.554 GB, free: 2.254 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002027/0.3986, allocations: 1.309 MB / 0.5553 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/0.4002, allocations: 495.4 kB / 0.5557 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003213/0.4034, allocations: 3.008 MB / 0.5587 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002152/0.4056, allocations: 219.6 kB / 0.5589 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001848/0.4058, allocations: 123.4 kB / 0.559 GB, free: 13.03 MB / 414.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.001357/0.4071, allocations: 0.6896 MB / 0.5597 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003896/0.4075, allocations: 257.6 kB / 0.5599 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003448/0.411, allocations: 1.839 MB / 0.5617 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/0.411, allocations: 3.984 kB / 0.5617 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.411, allocations: 0 / 0.5617 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007639/0.4118, allocations: 475.2 kB / 0.5622 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003092/0.4121, allocations: 52 kB / 0.5622 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/0.4133, allocations: 143.8 kB / 0.5624 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004104/0.4138, allocations: 203.6 kB / 0.5626 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004108/0.4179, allocations: 1.881 MB / 0.5644 GB, free: 7.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003664/0.4216, allocations: 2.452 MB / 0.5668 GB, free: 5.059 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001082/0.4227, allocations: 0.6779 MB / 0.5675 GB, free: 4.379 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001938/0.4246, allocations: 1.37 MB / 0.5688 GB, free: 3 MB / 414.1 MB Notification: Performance of Backend: time 3.4e-07/0.4246, allocations: 0 / 0.5688 GB, free: 3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0035/0.4281, allocations: 1.633 MB / 0.5704 GB, free: 1.449 MB / 414.1 MB Notification: Performance of SimCode: time 0.00744/0.4356, allocations: 5.437 MB / 0.5757 GB, free: 11.99 MB / 430.1 MB Notification: Performance of Templates: time 0.06874/0.5043, allocations: 30.97 MB / 0.6059 GB, free: 13.24 MB / 462.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)