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.001225/0.001225, allocations: 109.7 kB / 16.37 MB, free: 6.473 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.001195/0.001195, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.215/1.215, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1-master/package.mo): time 0.04008/0.04008, allocations: 7.997 MB / 299.2 MB, free: 7.145 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 59.91 kB / 362 MB, free: 8.211 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1653, allocations: 51.22 MB / 413.3 MB, free: 26.6 MB / 302.1 MB Notification: Performance of NFInst.instantiate(VehicleInterfaces.Examples.PowerSplitHybrid): time 0.01689/0.1823, allocations: 24.02 MB / 437.3 MB, free: 2.496 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01061/0.1929, allocations: 6.264 MB / 443.5 MB, free: 12.22 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002919/0.1959, allocations: 195.4 kB / 443.7 MB, free: 12.03 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001884/0.1978, allocations: 0.9887 MB / 444.7 MB, free: 11.03 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001765/0.1996, allocations: 0.7969 MB / 445.5 MB, free: 10.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007097/0.2067, allocations: 4.653 MB / 450.2 MB, free: 5.566 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003559/0.2102, allocations: 3.823 MB / 454 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004921/0.2152, allocations: 4.724 MB / 458.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001498/0.2167, allocations: 1.553 MB / 460.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001597/0.2183, allocations: 1.75 MB / 462 MB, free: 9.609 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004173/0.2187, allocations: 432 kB / 462.4 MB, free: 9.188 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005648/0.2193, allocations: 491.9 kB / 462.9 MB, free: 8.707 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000618/0.2199, allocations: 0.9347 MB / 463.9 MB, free: 7.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001375/0.2213, allocations: 1.854 MB / 465.7 MB, free: 5.906 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003469/0.2248, allocations: 4.735 MB / 470.4 MB, free: 1.156 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2248, allocations: 4 kB / 470.4 MB, free: 1.152 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2248, allocations: 0 / 470.4 MB, free: 1.152 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.476e-05/0.2249, 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.00516/0.23, allocations: 3.592 MB / 474 MB, free: 13.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.2301, allocations: 8.031 kB / 474 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004277/0.2305, allocations: 371.4 kB / 474.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002431/0.2329, allocations: 1.911 MB / 476.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/0.2331, allocations: 225.8 kB / 476.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003567/0.2335, allocations: 303.8 kB / 476.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004345/0.2378, allocations: 3.133 MB / 480 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.36e-05/0.2379, allocations: 31.66 kB / 480 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002079/0.2381, allocations: 116 kB / 480.1 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001097/0.2382, allocations: 132 kB / 480.2 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003665/0.2419, allocations: 2.273 MB / 482.5 MB, free: 4.809 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01259/0.2545, allocations: 11.5 MB / 494 MB, free: 8.938 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/0.256, allocations: 0.9955 MB / 495 MB, free: 7.926 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/0.257, allocations: 0.6625 MB / 495.7 MB, free: 7.258 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.193e-05/0.2571, allocations: 16.98 kB / 495.7 MB, free: 7.242 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.2571, allocations: 51.44 kB / 495.7 MB, free: 7.184 MB / 366.1 MB Notification: Performance of pre-optimization done (n=119): time 2.615e-06/0.2571, allocations: 0 / 495.7 MB, free: 7.184 MB / 366.1 MB Notification: Performance of matching and sorting (n=140): time 0.01052/0.2677, allocations: 6.458 MB / 0.4904 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.2677, allocations: 90.42 kB / 0.4905 GB, free: 452 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002288/0.27, allocations: 2.123 MB / 0.4926 GB, free: 14.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000111/0.2701, allocations: 69.69 kB / 0.4927 GB, free: 14.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009713/0.2711, allocations: 1.56 MB / 0.4942 GB, free: 12.65 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003202/0.2714, allocations: 489.4 kB / 0.4946 GB, free: 12.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005686/0.272, allocations: 476.3 kB / 0.4951 GB, free: 11.69 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.294e-05/0.2721, allocations: 309.1 kB / 0.4954 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001215/0.2733, allocations: 0.7583 MB / 0.4961 GB, free: 10.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001709/0.2751, allocations: 1.728 MB / 0.4978 GB, free: 8.438 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002632/0.2777, allocations: 2.394 MB / 0.5002 GB, free: 5.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.459e-05/0.2777, allocations: 12 kB / 0.5002 GB, free: 5.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=309) (initialization): time 0.004314/0.282, allocations: 2.934 MB / 0.503 GB, free: 2.629 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.2821, allocations: 20.94 kB / 0.5031 GB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.275e-05/0.2821, allocations: 32 kB / 0.5031 GB, free: 2.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001751/0.2839, allocations: 1.307 MB / 0.5044 GB, free: 1.266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/0.2853, allocations: 495.2 kB / 0.5048 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1385/0.4238, allocations: 3.006 MB / 0.5078 GB, free: 88.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001879/0.4257, allocations: 225.4 kB / 0.508 GB, free: 88.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001573/0.4259, allocations: 122 kB / 0.5081 GB, free: 88.41 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.0009537/0.4269, allocations: 0.6937 MB / 0.5088 GB, free: 88.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002453/0.4271, allocations: 247.6 kB / 0.509 GB, free: 88.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002736/0.4298, allocations: 1.827 MB / 0.5108 GB, free: 87.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.819e-06/0.4299, allocations: 17.02 kB / 0.5108 GB, free: 87.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4299, allocations: 0.5 kB / 0.5108 GB, free: 87.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.4299, allocations: 9 kB / 0.5108 GB, free: 87.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006432/0.4363, allocations: 4.733 MB / 0.5154 GB, free: 85.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.4364, allocations: 8.297 kB / 0.5155 GB, free: 85.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007677/0.4371, allocations: 210.5 kB / 0.5157 GB, free: 85.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001536/0.4387, allocations: 1.184 MB / 0.5168 GB, free: 84.92 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.77e-05/0.4388, allocations: 48.06 kB / 0.5169 GB, free: 84.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001974/0.4408, allocations: 2.83 MB / 0.5196 GB, free: 82.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.4408, allocations: 5.906 kB / 0.5196 GB, free: 82.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003375/0.4442, allocations: 2.74 MB / 0.5223 GB, free: 81.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005994/0.4448, allocations: 468.8 kB / 0.5227 GB, free: 81.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002381/0.445, allocations: 49.5 kB / 0.5228 GB, free: 81.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008646/0.4459, allocations: 109.3 kB / 0.5229 GB, free: 81.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003408/0.4462, allocations: 207.2 kB / 0.5231 GB, free: 81.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.357e-05/0.4463, allocations: 55.59 kB / 0.5231 GB, free: 81.06 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001338/0.4477, allocations: 1.367 MB / 0.5245 GB, free: 80.37 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4477, allocations: 3.469 kB / 0.5245 GB, free: 80.37 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001377/0.4491, allocations: 0.5301 MB / 0.525 GB, free: 80.31 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.0002501/0.4493, allocations: 192.8 kB / 0.5252 GB, free: 80.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002505/0.4518, allocations: 2.043 MB / 0.5272 GB, free: 78.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.4518, allocations: 3.906 kB / 0.5272 GB, free: 78.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001355/0.4532, allocations: 0.989 MB / 0.5282 GB, free: 77.26 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/0.4546, allocations: 357.8 kB / 0.5285 GB, free: 76.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006457/0.4611, allocations: 5.074 MB / 0.5334 GB, free: 71.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008433/0.4619, allocations: 1.735 MB / 0.5351 GB, free: 70.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007657/0.4627, allocations: 350.5 kB / 0.5355 GB, free: 69.78 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002513/0.4629, allocations: 147.4 kB / 0.5356 GB, free: 69.64 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.463, allocations: 0 / 0.5356 GB, free: 69.64 MB / 382.1 MB Notification: Performance of Templates: time 0.03459/0.4975, allocations: 30.42 MB / 0.5653 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)