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.001241/0.001241, allocations: 100 kB / 15.05 MB, free: 1.105 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.00155/0.00155, allocations: 177.3 kB / 15.95 MB, free: 216 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.394/1.394, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.243/0.243, allocations: 7.983 MB / 299 MB, free: 3.332 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00035/0.0003503, allocations: 8 kB / 361.7 MB, free: 14.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1418, allocations: 52.21 MB / 413.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.PowerSplitHybrid): time 0.3714/0.5132, allocations: 80.08 MB / 493.9 MB, free: 8.379 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.06172/0.5749, allocations: 18.33 MB / 0.5003 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03017/0.6052, allocations: 453 kB / 0.5007 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02153/0.6268, allocations: 4.081 MB / 0.5047 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.06077/0.6876, allocations: 10.68 MB / 0.5151 GB, free: 4.082 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01051/0.6981, allocations: 0.9161 MB / 0.516 GB, free: 3.387 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0103/0.7085, allocations: 2.482 MB / 0.5184 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009317/0.7178, allocations: 3.468 MB / 0.5218 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003398/0.7212, allocations: 1.19 MB / 0.523 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003219/0.7245, allocations: 1.279 MB / 0.5242 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001138/0.7257, allocations: 140 kB / 0.5244 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001824/0.7275, allocations: 180 kB / 0.5245 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001165/0.7287, allocations: 0.5758 MB / 0.5251 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001736/0.7304, allocations: 0.6444 MB / 0.5257 GB, free: 9.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006017/0.7365, allocations: 3.584 MB / 0.5292 GB, free: 6.227 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.7365, allocations: 0 / 0.5292 GB, free: 6.227 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.7365, allocations: 0 / 0.5292 GB, free: 6.227 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002452/0.7368, allocations: 0 / 0.5292 GB, free: 6.227 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.008727/0.7455, allocations: 3.024 MB / 0.5322 GB, free: 3.137 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.7456, allocations: 8.031 kB / 0.5322 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001413/0.747, allocations: 379.4 kB / 0.5326 GB, free: 2.754 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004064/0.7511, allocations: 1.774 MB / 0.5343 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001931/0.7513, allocations: 225.8 kB / 0.5345 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005209/0.7518, allocations: 299.8 kB / 0.5348 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006489/0.7583, allocations: 3.093 MB / 0.5378 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001273/0.7585, allocations: 27.73 kB / 0.5378 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002557/0.7587, allocations: 124 kB / 0.538 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000168/0.7589, allocations: 128 kB / 0.5381 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00473/0.7637, allocations: 2.261 MB / 0.5403 GB, free: 10.65 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01806/0.7817, allocations: 11.69 MB / 0.5517 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/0.7835, allocations: 0.9917 MB / 0.5527 GB, free: 13.58 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.884e-05/0.7836, allocations: 17 kB / 0.5527 GB, free: 13.56 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.942e-05/0.7836, allocations: 47.56 kB / 0.5527 GB, free: 13.51 MB / 430.1 MB Notification: Performance of pre-optimization done (n=119): time 2.915e-06/0.7837, allocations: 0 / 0.5527 GB, free: 13.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.01347/0.7971, allocations: 6.639 MB / 0.5592 GB, free: 6.691 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.815e-05/0.7972, allocations: 90.42 kB / 0.5593 GB, free: 6.586 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003251/0.8005, allocations: 2.107 MB / 0.5614 GB, free: 4.461 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001776/0.8007, allocations: 73.69 kB / 0.5614 GB, free: 4.383 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0014/0.8021, allocations: 1.552 MB / 0.5629 GB, free: 2.812 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000503/0.8026, allocations: 497.3 kB / 0.5634 GB, free: 2.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.8027, allocations: 48 kB / 0.5635 GB, free: 2.273 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.8029, allocations: 398.8 kB / 0.5638 GB, free: 1.879 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001373/0.8043, allocations: 0.7583 MB / 0.5646 GB, free: 1.117 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002032/0.8063, allocations: 1.72 MB / 0.5663 GB, free: 14.94 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001457/0.8078, allocations: 0.9041 MB / 0.5671 GB, free: 14.03 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.761e-05/0.8078, allocations: 11.95 kB / 0.5672 GB, free: 14.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=309) (initialization): time 0.005141/0.813, allocations: 2.942 MB / 0.57 GB, free: 11.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.998e-05/0.813, allocations: 16 kB / 0.57 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.204e-05/0.8131, allocations: 36 kB / 0.5701 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002024/0.8151, allocations: 1.304 MB / 0.5714 GB, free: 9.703 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/0.8167, allocations: 499.2 kB / 0.5718 GB, free: 9.215 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003194/0.8199, allocations: 2.927 MB / 0.5747 GB, free: 6.129 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002298/0.8222, allocations: 271.5 kB / 0.5749 GB, free: 5.863 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001854/0.8224, allocations: 123.9 kB / 0.5751 GB, free: 5.742 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.001507/0.8239, allocations: 0.6923 MB / 0.5757 GB, free: 5.039 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003952/0.8243, allocations: 237 kB / 0.576 GB, free: 4.805 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003397/0.8277, allocations: 1.84 MB / 0.5778 GB, free: 2.941 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.745e-05/0.8277, allocations: 15.95 kB / 0.5778 GB, free: 2.926 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.8278, allocations: 4 kB / 0.5778 GB, free: 2.922 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/0.8278, allocations: 7.969 kB / 0.5778 GB, free: 2.914 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3015/1.129, allocations: 4.832 MB / 0.5825 GB, free: 125.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/1.129, allocations: 4.688 kB / 0.5825 GB, free: 125.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008715/1.13, allocations: 210.8 kB / 0.5827 GB, free: 125.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001561/1.132, allocations: 1.183 MB / 0.5839 GB, free: 125.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/1.132, allocations: 50.28 kB / 0.5839 GB, free: 125.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002428/1.134, allocations: 2.728 MB / 0.5866 GB, free: 123.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/1.134, allocations: 11.25 kB / 0.5866 GB, free: 123.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004305/1.139, allocations: 2.859 MB / 0.5894 GB, free: 123.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008584/1.14, allocations: 464.9 kB / 0.5898 GB, free: 123.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002685/1.14, allocations: 47.06 kB / 0.5899 GB, free: 123.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009482/1.141, allocations: 144.5 kB / 0.59 GB, free: 123.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004263/1.141, allocations: 248.9 kB / 0.5903 GB, free: 123.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.09e-05/1.141, allocations: 55.52 kB / 0.5903 GB, free: 123.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001938/1.143, allocations: 1.351 MB / 0.5916 GB, free: 122.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/1.143, allocations: 0 / 0.5916 GB, free: 122.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001854/1.145, allocations: 0.5224 MB / 0.5921 GB, free: 122.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.0003463/1.145, allocations: 192.5 kB / 0.5923 GB, free: 122.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003237/1.149, allocations: 2.039 MB / 0.5943 GB, free: 121.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/1.149, allocations: 0 / 0.5943 GB, free: 121.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001556/1.15, allocations: 0.9749 MB / 0.5953 GB, free: 121.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/1.152, allocations: 314.4 kB / 0.5956 GB, free: 121.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009018/1.161, allocations: 6.223 MB / 0.6016 GB, free: 117.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/1.162, allocations: 1.796 MB / 0.6034 GB, free: 117.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00111/1.163, allocations: 345.9 kB / 0.6037 GB, free: 117 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002829/1.163, allocations: 142.6 kB / 0.6039 GB, free: 117 MB / 446.1 MB Notification: Performance of SimCode: time 1.473e-06/1.163, allocations: 0 / 0.6039 GB, free: 117 MB / 446.1 MB Notification: Performance of Templates: time 0.05747/1.221, allocations: 27.93 MB / 0.6311 GB, free: 111.6 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)