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.007368/0.007368, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001368/0.001368, allocations: 194.7 kB / 16.68 MB, free: 5.969 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04339/0.04339, allocations: 7.993 MB / 298.5 MB, free: 7.094 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 59.91 kB / 413.1 MB, free: 22.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08869/0.08986, allocations: 51.22 MB / 464.3 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.PowerSplitHybrid): time 0.02518/0.1151, allocations: 24.01 MB / 488.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01666/0.1318, allocations: 6.275 MB / 494.6 MB, free: 5.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004717/0.1365, allocations: 195.4 kB / 494.8 MB, free: 4.969 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002831/0.1394, allocations: 0.9848 MB / 495.7 MB, free: 3.977 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003284/0.1427, allocations: 0.7939 MB / 496.5 MB, free: 3.176 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008802/0.1516, allocations: 4.653 MB / 0.4894 GB, free: 14.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005098/0.1567, allocations: 3.819 MB / 0.4932 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007485/0.1642, allocations: 4.728 MB / 0.4978 GB, free: 5.875 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002446/0.1666, allocations: 1.561 MB / 0.4993 GB, free: 4.309 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002693/0.1694, allocations: 1.75 MB / 0.501 GB, free: 2.551 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001021/0.1704, allocations: 432 kB / 0.5014 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001359/0.1718, allocations: 495.9 kB / 0.5019 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00119/0.173, allocations: 0.9308 MB / 0.5028 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2326/0.4056, allocations: 1.85 MB / 0.5046 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008325/0.4139, allocations: 4.759 MB / 0.5093 GB, free: 11.58 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.414, allocations: 0.5625 kB / 0.5093 GB, free: 11.58 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.414, allocations: 0 / 0.5093 GB, free: 11.58 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002557/0.4143, allocations: 0 / 0.5093 GB, free: 11.58 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.008903/0.4232, allocations: 3.687 MB / 0.5129 GB, free: 9.973 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.4232, allocations: 9 kB / 0.5129 GB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006849/0.4239, allocations: 396 kB / 0.5133 GB, free: 9.766 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003426/0.4274, allocations: 1.921 MB / 0.5151 GB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001902/0.4276, allocations: 217 kB / 0.5153 GB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004377/0.428, allocations: 310.3 kB / 0.5156 GB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006156/0.4342, allocations: 3.131 MB / 0.5187 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001302/0.4343, allocations: 23.84 kB / 0.5187 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002627/0.4346, allocations: 127.5 kB / 0.5188 GB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000144/0.4347, allocations: 129.7 kB / 0.519 GB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004194/0.4389, allocations: 2.276 MB / 0.5212 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01482/0.4538, allocations: 11.53 MB / 0.5324 GB, free: 1.738 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001468/0.4553, allocations: 0.999 MB / 0.5334 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009595/0.4563, allocations: 0.6606 MB / 0.5341 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.242e-05/0.4564, allocations: 19.42 kB / 0.5341 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.4564, allocations: 45.59 kB / 0.5341 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of pre-optimization done (n=119): time 3.166e-06/0.4564, allocations: 2.625 kB / 0.5341 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of matching and sorting (n=140): time 0.01244/0.4689, allocations: 6.551 MB / 0.5405 GB, free: 12.71 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/0.469, allocations: 94.64 kB / 0.5406 GB, free: 12.62 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003076/0.472, allocations: 2.128 MB / 0.5427 GB, free: 11.46 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000161/0.4722, allocations: 69.7 kB / 0.5428 GB, free: 11.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001337/0.4736, allocations: 1.6 MB / 0.5443 GB, free: 10.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004665/0.474, allocations: 0.5027 MB / 0.5448 GB, free: 9.582 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007245/0.4748, allocations: 476.6 kB / 0.5453 GB, free: 9.297 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.4749, allocations: 301.1 kB / 0.5456 GB, free: 9 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/0.4763, allocations: 0.7651 MB / 0.5463 GB, free: 8.617 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001888/0.4782, allocations: 1.722 MB / 0.548 GB, free: 6.934 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003146/0.4813, allocations: 2.385 MB / 0.5503 GB, free: 4.875 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.47e-05/0.4814, allocations: 8 kB / 0.5503 GB, free: 4.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=309) (initialization): time 0.005439/0.4868, allocations: 2.968 MB / 0.5532 GB, free: 2.086 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.405e-05/0.4869, allocations: 20 kB / 0.5532 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-05/0.4869, allocations: 32.84 kB / 0.5533 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002157/0.4891, allocations: 1.306 MB / 0.5546 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001514/0.4906, allocations: 0.4905 MB / 0.555 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00331/0.4939, allocations: 3.007 MB / 0.558 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002392/0.4964, allocations: 215.7 kB / 0.5582 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001849/0.4965, allocations: 124 kB / 0.5583 GB, free: 12.81 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.001506/0.4981, allocations: 0.6911 MB / 0.559 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000419/0.4985, allocations: 254.3 kB / 0.5592 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003489/0.502, allocations: 1.838 MB / 0.561 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.502, allocations: 12 kB / 0.561 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.502, allocations: 4 kB / 0.561 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/0.502, allocations: 11.97 kB / 0.561 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008494/0.5105, allocations: 4.757 MB / 0.5657 GB, free: 5.219 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.5106, allocations: 0 / 0.5657 GB, free: 5.219 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009133/0.5115, allocations: 208.2 kB / 0.5659 GB, free: 5.027 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001826/0.5133, allocations: 1.183 MB / 0.567 GB, free: 3.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001114/0.5135, allocations: 39.97 kB / 0.5671 GB, free: 3.801 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003164/0.5166, allocations: 2.841 MB / 0.5698 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.5166, allocations: 6.031 kB / 0.5698 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004735/0.5214, allocations: 2.76 MB / 0.5725 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/0.5224, allocations: 475.3 kB / 0.573 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003062/0.5227, allocations: 48 kB / 0.573 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/0.5237, allocations: 99.89 kB / 0.5731 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004625/0.5242, allocations: 216.5 kB / 0.5733 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.5243, allocations: 55.95 kB / 0.5734 GB, free: 13.12 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00221/0.5265, allocations: 1.366 MB / 0.5747 GB, free: 11.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5266, allocations: 0 / 0.5747 GB, free: 11.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002116/0.5287, allocations: 0.5234 MB / 0.5752 GB, free: 11.22 MB / 430.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.0003733/0.5291, allocations: 200.7 kB / 0.5754 GB, free: 11.03 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003654/0.5327, allocations: 2.045 MB / 0.5774 GB, free: 9.078 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.5327, allocations: 1.031 kB / 0.5774 GB, free: 9.078 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001804/0.5346, allocations: 0.9901 MB / 0.5784 GB, free: 8.105 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001854/0.5364, allocations: 365 kB / 0.5787 GB, free: 7.766 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009719/0.5461, allocations: 5.171 MB / 0.5838 GB, free: 2.562 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001417/0.5476, allocations: 1.733 MB / 0.5855 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001199/0.5488, allocations: 350.5 kB / 0.5858 GB, free: 472 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003191/0.5491, allocations: 143.4 kB / 0.586 GB, free: 328 kB / 430.1 MB Notification: Performance of SimCode: time 1.423e-06/0.5491, allocations: 4 kB / 0.586 GB, free: 324 kB / 430.1 MB Notification: Performance of Templates: time 0.05444/0.6036, allocations: 30.97 MB / 0.6162 GB, free: 1.57 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)