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/package.mo", uses=false) Using package VehicleInterfaces with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/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.001154/0.001153, allocations: 100.7 kB / 16.29 MB, free: 5.918 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.001102/0.001102, allocations: 182.1 kB / 17.22 MB, free: 5.555 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.292/1.292, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.04271/0.04271, allocations: 7.96 MB / 299 MB, free: 7.164 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 55.91 kB / 361.3 MB, free: 8.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1959, allocations: 51.22 MB / 412.5 MB, free: 26.73 MB / 302.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.PowerSplitHybrid): time 0.01784/0.2138, allocations: 24 MB / 436.5 MB, free: 2.637 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01254/0.2264, allocations: 6.265 MB / 442.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005894/0.2323, allocations: 195.4 kB / 443 MB, free: 12.16 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003346/0.2357, allocations: 0.9887 MB / 443.9 MB, free: 11.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003664/0.2394, allocations: 0.7901 MB / 444.7 MB, free: 10.36 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008808/0.2483, allocations: 4.665 MB / 449.4 MB, free: 5.688 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005481/0.2538, allocations: 3.792 MB / 453.2 MB, free: 1.871 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006487/0.2603, allocations: 4.724 MB / 457.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002118/0.2624, allocations: 1.553 MB / 459.5 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002018/0.2644, allocations: 1.739 MB / 461.2 MB, free: 9.777 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005538/0.265, allocations: 436 kB / 461.6 MB, free: 9.352 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006694/0.2657, allocations: 499.9 kB / 462.1 MB, free: 8.863 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006963/0.2664, allocations: 0.9269 MB / 463.1 MB, free: 7.934 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001648/0.2681, allocations: 1.858 MB / 464.9 MB, free: 6.066 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004414/0.2725, allocations: 4.735 MB / 469.6 MB, free: 1.316 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.2725, allocations: 0 / 469.6 MB, free: 1.316 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2725, allocations: 0 / 469.6 MB, free: 1.316 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.733e-05/0.2726, allocations: 0 / 469.6 MB, free: 1.316 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.006007/0.2786, allocations: 3.592 MB / 473.2 MB, free: 13.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.2787, allocations: 12.03 kB / 473.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005099/0.2792, allocations: 367.4 kB / 473.6 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002669/0.2819, allocations: 1.848 MB / 475.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001584/0.282, allocations: 225.8 kB / 475.7 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004115/0.2824, allocations: 299.8 kB / 476 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00489/0.2873, allocations: 3.125 MB / 479.1 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001076/0.2875, allocations: 39.64 kB / 479.1 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000234/0.2877, allocations: 123.9 kB / 479.3 MB, free: 7.445 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001322/0.2879, allocations: 128 kB / 479.4 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004019/0.2919, allocations: 2.273 MB / 481.7 MB, free: 5.035 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01439/0.3063, allocations: 11.49 MB / 493.1 MB, free: 9.168 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/0.3079, allocations: 0.9878 MB / 494.1 MB, free: 8.164 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001107/0.3091, allocations: 0.6721 MB / 494.8 MB, free: 7.484 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.819e-05/0.3091, allocations: 9 kB / 494.8 MB, free: 7.477 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.3092, allocations: 51.56 kB / 494.9 MB, free: 7.418 MB / 366.1 MB Notification: Performance of pre-optimization done (n=119): time 3.146e-06/0.3092, allocations: 0 / 494.9 MB, free: 7.418 MB / 366.1 MB Notification: Performance of matching and sorting (n=140): time 0.01276/0.322, allocations: 6.468 MB / 0.4896 GB, free: 0.7734 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.342e-05/0.3221, allocations: 94.36 kB / 0.4897 GB, free: 0.6641 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002993/0.3251, allocations: 2.123 MB / 0.4917 GB, free: 14.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001337/0.3252, allocations: 69.7 kB / 0.4918 GB, free: 14.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001211/0.3264, allocations: 1.556 MB / 0.4933 GB, free: 12.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004103/0.3269, allocations: 497.3 kB / 0.4938 GB, free: 12.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006265/0.3275, allocations: 472.3 kB / 0.4943 GB, free: 11.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.3276, allocations: 309.1 kB / 0.4946 GB, free: 11.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001315/0.3289, allocations: 0.7583 MB / 0.4953 GB, free: 10.85 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002044/0.331, allocations: 1.732 MB / 0.497 GB, free: 8.656 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003088/0.3341, allocations: 2.386 MB / 0.4993 GB, free: 5.816 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.449e-05/0.3341, allocations: 12 kB / 0.4993 GB, free: 5.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=309) (initialization): time 0.004966/0.3391, allocations: 2.942 MB / 0.5022 GB, free: 2.848 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/0.3391, allocations: 20 kB / 0.5022 GB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.226e-05/0.3392, allocations: 32 kB / 0.5022 GB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00195/0.3411, allocations: 1.3 MB / 0.5035 GB, free: 1.492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001506/0.3427, allocations: 0.4913 MB / 0.504 GB, free: 1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1679/0.5106, allocations: 3.004 MB / 0.5069 GB, free: 88.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002226/0.5129, allocations: 221.6 kB / 0.5071 GB, free: 88.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001796/0.5131, allocations: 120.5 kB / 0.5073 GB, free: 88.54 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.001075/0.5142, allocations: 0.6907 MB / 0.5079 GB, free: 88.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002822/0.5144, allocations: 245.7 kB / 0.5082 GB, free: 88.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002998/0.5175, allocations: 1.835 MB / 0.51 GB, free: 87.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.5175, allocations: 15.75 kB / 0.51 GB, free: 87.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.5175, allocations: 0.9375 kB / 0.51 GB, free: 87.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/0.5175, allocations: 5.625 kB / 0.51 GB, free: 87.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007075/0.5246, allocations: 4.774 MB / 0.5146 GB, free: 85.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.5246, allocations: 0 / 0.5146 GB, free: 85.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008167/0.5254, allocations: 211.3 kB / 0.5148 GB, free: 85.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001676/0.5271, allocations: 1.185 MB / 0.516 GB, free: 85.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.065e-05/0.5272, allocations: 46.67 kB / 0.516 GB, free: 85.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002129/0.5294, allocations: 2.824 MB / 0.5188 GB, free: 82.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.5294, allocations: 1.812 kB / 0.5188 GB, free: 82.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003702/0.5331, allocations: 2.745 MB / 0.5215 GB, free: 81.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000615/0.5337, allocations: 460 kB / 0.5219 GB, free: 81.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002677/0.534, allocations: 52.38 kB / 0.522 GB, free: 81.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000931/0.5349, allocations: 109.2 kB / 0.5221 GB, free: 81.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003389/0.5353, allocations: 201.9 kB / 0.5223 GB, free: 81.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.651e-05/0.5354, allocations: 50.12 kB / 0.5223 GB, free: 81.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001511/0.5369, allocations: 1.368 MB / 0.5237 GB, free: 80.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5369, allocations: 3.531 kB / 0.5237 GB, free: 80.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001547/0.5385, allocations: 0.5287 MB / 0.5242 GB, free: 80.41 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.0002965/0.5388, allocations: 201.1 kB / 0.5244 GB, free: 80.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00268/0.5415, allocations: 2.04 MB / 0.5264 GB, free: 78.24 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.5415, allocations: 0 / 0.5264 GB, free: 78.24 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001428/0.5429, allocations: 0.9972 MB / 0.5273 GB, free: 77.24 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001527/0.5444, allocations: 363.9 kB / 0.5277 GB, free: 76.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007845/0.5523, allocations: 5.069 MB / 0.5326 GB, free: 71.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/0.5533, allocations: 1.739 MB / 0.5343 GB, free: 70.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001056/0.5544, allocations: 346.5 kB / 0.5347 GB, free: 69.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004047/0.5548, allocations: 147.4 kB / 0.5348 GB, free: 69.63 MB / 382.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5548, allocations: 0 / 0.5348 GB, free: 69.63 MB / 382.1 MB Notification: Performance of Templates: time 0.04084/0.5957, allocations: 30.42 MB / 0.5645 GB, free: 39.39 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 gbode -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Examples.PowerSplitHybrid.pipe 2>&1)