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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(VehicleInterfaces.Examples.PowerSplitHybrid,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Examples_PowerSplitHybrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(VehicleInterfaces.Examples.PowerSplitHybrid,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Examples_PowerSplitHybrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004943/0.004943, allocations: 169.3 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 223.2 MB / 239 MB, free: 1.785 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 96.86 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.04193/0.04193, allocations: 7.997 MB / 349.3 MB, free: 3.094 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003225/0.0003225, allocations: 7.469 kB / 412.1 MB, free: 88.96 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09699/0.09733, allocations: 52.21 MB / 464.3 MB, free: 43.1 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3726/0.47, allocations: 109.8 MB / 0.5606 GB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/0.4703, allocations: 97.77 kB / 0.5607 GB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.004/1.475, allocations: 304.6 MB / 0.8582 GB, free: 13.32 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.306e-06/1.475, allocations: 0 / 0.8582 GB, free: 13.32 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002903/1.475, allocations: 95.97 kB / 0.8583 GB, free: 13.23 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 769 * Number of variables: 769 Notification: Performance of Generate backend data structure: time 0.007358/1.482, allocations: 3.022 MB / 0.8612 GB, free: 10.17 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.184e-05/1.483, allocations: 8.031 kB / 0.8612 GB, free: 10.16 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001233/1.484, allocations: 417.6 kB / 0.8616 GB, free: 9.742 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/1.485, allocations: 407.4 kB / 0.862 GB, free: 9.34 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003969/1.489, allocations: 1.956 MB / 0.8639 GB, free: 7.406 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/1.489, allocations: 221.9 kB / 0.8641 GB, free: 7.188 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004665/1.489, allocations: 307.8 kB / 0.8644 GB, free: 6.887 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005249/1.495, allocations: 3.328 MB / 0.8677 GB, free: 3.324 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001125/1.495, allocations: 34.3 kB / 0.8677 GB, free: 3.297 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002519/1.495, allocations: 132 kB / 0.8678 GB, free: 3.168 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000102/1.495, allocations: 119.6 kB / 0.8679 GB, free: 3.055 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00419/1.499, allocations: 2.182 MB / 0.8701 GB, free: 0.8906 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2853/1.785, allocations: 12.61 MB / 0.8824 GB, free: 104.2 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002188/1.787, allocations: 1.159 MB / 0.8835 GB, free: 104.1 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000115/1.787, allocations: 20.78 kB / 0.8835 GB, free: 104.1 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/1.787, allocations: 46.19 kB / 0.8836 GB, free: 104.1 MB / 458.7 MB Notification: Performance of pre-optimization done (n=139): time 3.747e-06/1.787, allocations: 0.9688 kB / 0.8836 GB, free: 104.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=160): time 0.0137/1.801, allocations: 6.764 MB / 0.8902 GB, free: 102.2 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/1.801, allocations: 98.19 kB / 0.8903 GB, free: 102.1 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003533/1.805, allocations: 1.808 MB / 0.892 GB, free: 101.9 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004993/1.805, allocations: 72.05 kB / 0.8921 GB, free: 101.8 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00173/1.807, allocations: 1.391 MB / 0.8935 GB, free: 101.4 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006706/1.807, allocations: 0.5361 MB / 0.894 GB, free: 101.1 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/1.808, allocations: 44.34 kB / 0.894 GB, free: 101.1 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/1.808, allocations: 386 kB / 0.8944 GB, free: 100.8 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001616/1.809, allocations: 0.6795 MB / 0.8951 GB, free: 100.8 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001758/1.811, allocations: 1.267 MB / 0.8963 GB, free: 100.1 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/1.813, allocations: 0.7408 MB / 0.897 GB, free: 100.1 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-05/1.813, allocations: 9.516 kB / 0.897 GB, free: 100.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.004928/1.817, allocations: 2.517 MB / 0.8995 GB, free: 99.86 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.706e-05/1.818, allocations: 13.75 kB / 0.8995 GB, free: 99.86 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.045e-05/1.818, allocations: 20.16 kB / 0.8995 GB, free: 99.86 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002326/1.82, allocations: 1.097 MB / 0.9006 GB, free: 99.84 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/1.821, allocations: 392.4 kB / 0.901 GB, free: 99.82 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003114/1.825, allocations: 3.005 MB / 0.9039 GB, free: 97.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002231/1.827, allocations: 231.7 kB / 0.9041 GB, free: 97.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002047/1.827, allocations: 98.16 kB / 0.9042 GB, free: 97.91 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 57 (driverEnvironment.ignition.y,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 (217): * Single equations (assignments): 211 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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%) 3} * Non-linear torn systems: 1 {4 37} Notification: Performance of prepare postOptimizeDAE: time 0.001689/1.829, allocations: 0.6538 MB / 0.9049 GB, free: 97.75 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005785/1.829, allocations: 252.9 kB / 0.9051 GB, free: 97.61 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004026/1.833, allocations: 2.104 MB / 0.9072 GB, free: 97.45 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/1.833, allocations: 17.78 kB / 0.9072 GB, free: 97.45 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/1.833, allocations: 7.375 kB / 0.9072 GB, free: 97.44 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.846e-05/1.833, allocations: 11.12 kB / 0.9072 GB, free: 97.44 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009972/1.843, allocations: 4.982 MB / 0.9121 GB, free: 96.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/1.843, allocations: 3.938 kB / 0.9121 GB, free: 96.73 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009264/1.844, allocations: 233.4 kB / 0.9123 GB, free: 96.72 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001705/1.846, allocations: 0.9916 MB / 0.9132 GB, free: 96.68 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001436/1.846, allocations: 53.41 kB / 0.9133 GB, free: 96.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002855/1.849, allocations: 2.846 MB / 0.9161 GB, free: 94.34 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.849, allocations: 6.625 kB / 0.9161 GB, free: 94.34 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004487/1.854, allocations: 2.861 MB / 0.9189 GB, free: 92.79 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/1.855, allocations: 494 kB / 0.9194 GB, free: 92.43 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007033/1.856, allocations: 50.56 kB / 0.9194 GB, free: 92.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001409/1.857, allocations: 143.2 kB / 0.9195 GB, free: 92.38 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004286/1.858, allocations: 255.6 kB / 0.9198 GB, free: 92.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/1.858, allocations: 71.36 kB / 0.9198 GB, free: 92.32 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002204/1.86, allocations: 1.371 MB / 0.9212 GB, free: 91.79 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.86, allocations: 0 / 0.9212 GB, free: 91.79 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002171/1.862, allocations: 0.5078 MB / 0.9217 GB, free: 91.73 MB / 458.7 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,engine.flywheel.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,driverEnvironment.ignition.y) * Number of discrete states: 12 (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,brakes.brake_4.mode,brakes.brake_4.startForward,brakes.brake_4.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (119): * Single equations (assignments): 117 * 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%) 3} * Non-linear torn systems: 1 {4 32} Notification: Performance of Backend phase and start with SimCode phase: time 0.004567/1.867, allocations: 3.89 MB / 0.9255 GB, free: 89.25 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003537/1.87, allocations: 1.98 MB / 0.9274 GB, free: 88.35 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/1.87, allocations: 0 / 0.9274 GB, free: 88.35 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001757/1.872, allocations: 1.023 MB / 0.9284 GB, free: 87.89 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/1.874, allocations: 319.8 kB / 0.9287 GB, free: 87.75 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0303/1.904, allocations: 29.21 MB / 0.9572 GB, free: 64.72 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001248/1.906, allocations: 1.792 MB / 0.959 GB, free: 63.94 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001119/1.907, allocations: 311.8 kB / 0.9593 GB, free: 63.89 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001084/1.908, allocations: 1.146 MB / 0.9604 GB, free: 62.95 MB / 458.7 MB Notification: Performance of SimCode: time 1.643e-06/1.908, allocations: 5.812 kB / 0.9604 GB, free: 62.95 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08697/1.995, allocations: 50.55 MB / 1.01 GB, free: 26.59 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/1.995, allocations: 207.5 kB / 1.01 GB, free: 26.34 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.59/5.585, allocations: 0 / 1.01 GB, free: 26.34 MB / 458.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_VehicleInterfaces_VehicleInterfaces_Examples_PowerSplitHybrid_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 VehicleInterfaces_VehicleInterfaces_Examples_PowerSplitHybrid.fmu > VehicleInterfaces_VehicleInterfaces.Examples.PowerSplitHybrid.pipe 2>&1)