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.001388/0.001388, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.386/1.386, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009092/0.0009092, allocations: 102.2 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.04227/0.04227, allocations: 7.835 MB / 344.3 MB, free: 2.336 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.551e-05/3.553e-05, allocations: 4 kB / 404.5 MB, free: 62.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1247, allocations: 52.21 MB / 456.7 MB, free: 10.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5161/0.6409, allocations: 110 MB / 0.5534 GB, free: 10.01 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/0.6413, allocations: 86.39 kB / 0.5534 GB, free: 9.977 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.334/1.976, allocations: 304.6 MB / 0.8509 GB, free: 113 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.154e-06/1.976, allocations: 0 / 0.8509 GB, free: 113 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002246/1.976, allocations: 96.66 kB / 0.8509 GB, free: 113 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.004816/1.981, allocations: 2.731 MB / 0.8536 GB, free: 111.8 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/1.981, allocations: 11.19 kB / 0.8536 GB, free: 111.8 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005922/1.982, allocations: 407.1 kB / 0.854 GB, free: 111.8 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/1.983, allocations: 410.2 kB / 0.8544 GB, free: 111.6 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003427/1.986, allocations: 1.938 MB / 0.8563 GB, free: 111.1 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/1.986, allocations: 222.9 kB / 0.8565 GB, free: 111.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000414/1.987, allocations: 310.2 kB / 0.8568 GB, free: 111.1 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0051/1.992, allocations: 3.272 MB / 0.86 GB, free: 110.3 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001359/1.992, allocations: 30.56 kB / 0.86 GB, free: 110.3 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002525/1.992, allocations: 128.1 kB / 0.8601 GB, free: 110.3 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000108/1.992, allocations: 111.3 kB / 0.8603 GB, free: 110.3 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003455/1.996, allocations: 2.087 MB / 0.8623 GB, free: 110.3 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01473/2.01, allocations: 12.64 MB / 0.8746 GB, free: 105.2 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001583/2.012, allocations: 1.096 MB / 0.8757 GB, free: 104.7 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000993/2.013, allocations: 0.7302 MB / 0.8764 GB, free: 104.4 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/2.013, allocations: 21.77 kB / 0.8764 GB, free: 104.4 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/2.013, allocations: 47.69 kB / 0.8765 GB, free: 104.4 MB / 458.7 MB Notification: Performance of pre-optimization done (n=139): time 4.018e-06/2.013, allocations: 0 / 0.8765 GB, free: 104.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=160): time 0.00806/2.021, allocations: 5.202 MB / 0.8816 GB, free: 101.6 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/2.021, allocations: 92.55 kB / 0.8817 GB, free: 101.5 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002237/2.024, allocations: 1.791 MB / 0.8834 GB, free: 100.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001543/2.024, allocations: 70.7 kB / 0.8835 GB, free: 100.7 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000945/2.025, allocations: 1.392 MB / 0.8848 GB, free: 99.61 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003428/2.025, allocations: 0.5296 MB / 0.8853 GB, free: 99.21 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.634e-05/2.025, allocations: 40.94 kB / 0.8854 GB, free: 99.18 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/2.025, allocations: 388.5 kB / 0.8858 GB, free: 98.83 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000937/2.026, allocations: 0.6506 MB / 0.8864 GB, free: 98.55 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/2.028, allocations: 1.222 MB / 0.8876 GB, free: 97.52 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/2.029, allocations: 0.7169 MB / 0.8883 GB, free: 97.21 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.073e-05/2.029, allocations: 7.406 kB / 0.8883 GB, free: 97.21 MB / 458.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003677/2.032, allocations: 2.437 MB / 0.8907 GB, free: 96.17 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/2.032, allocations: 14.69 kB / 0.8907 GB, free: 96.17 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.281e-05/2.032, allocations: 17.69 kB / 0.8907 GB, free: 96.17 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001572/2.034, allocations: 1.067 MB / 0.8917 GB, free: 95.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/2.035, allocations: 386.6 kB / 0.8921 GB, free: 95.82 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002575/2.038, allocations: 2.988 MB / 0.895 GB, free: 93.39 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/2.04, allocations: 222.5 kB / 0.8952 GB, free: 93.35 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001599/2.04, allocations: 96.25 kB / 0.8953 GB, free: 93.33 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 () * 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.0003921/2.04, allocations: 278.1 kB / 0.8956 GB, free: 93.11 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003227/2.04, allocations: 243.3 kB / 0.8958 GB, free: 92.98 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003293/2.044, allocations: 2.052 MB / 0.8978 GB, free: 92.05 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/2.044, allocations: 21.27 kB / 0.8979 GB, free: 92.05 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/2.044, allocations: 7.562 kB / 0.8979 GB, free: 92.05 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/2.044, allocations: 7.406 kB / 0.8979 GB, free: 92.05 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007539/2.051, allocations: 4.946 MB / 0.9027 GB, free: 89.72 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/2.051, allocations: 3.875 kB / 0.9027 GB, free: 89.72 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009567/2.052, allocations: 232.5 kB / 0.9029 GB, free: 89.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001486/2.054, allocations: 0.9737 MB / 0.9039 GB, free: 89.43 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001225/2.054, allocations: 48.38 kB / 0.9039 GB, free: 89.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002609/2.057, allocations: 2.822 MB / 0.9067 GB, free: 87.02 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/2.057, allocations: 7.969 kB / 0.9067 GB, free: 87.02 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003907/2.061, allocations: 2.791 MB / 0.9094 GB, free: 84.26 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001284/2.062, allocations: 486.5 kB / 0.9099 GB, free: 83.83 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003271/2.062, allocations: 55.52 kB / 0.9099 GB, free: 83.78 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/2.063, allocations: 143.3 kB / 0.9101 GB, free: 83.66 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004293/2.064, allocations: 260.5 kB / 0.9103 GB, free: 83.54 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001363/2.064, allocations: 61.83 kB / 0.9104 GB, free: 83.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001844/2.066, allocations: 1.349 MB / 0.9117 GB, free: 82.25 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.71e-07/2.066, allocations: 0 / 0.9117 GB, free: 82.25 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001959/2.068, allocations: 0.5078 MB / 0.9122 GB, free: 81.74 MB / 458.7 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,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) * 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.003972/2.072, allocations: 3.883 MB / 0.916 GB, free: 77.91 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003001/2.075, allocations: 1.916 MB / 0.9179 GB, free: 76.03 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/2.075, allocations: 4.062 kB / 0.9179 GB, free: 76.02 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001575/2.076, allocations: 0.9968 MB / 0.9188 GB, free: 75.06 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00172/2.078, allocations: 321.7 kB / 0.9191 GB, free: 74.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009349/2.087, allocations: 4.439 MB / 0.9235 GB, free: 70.87 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/2.089, allocations: 1.797 MB / 0.9252 GB, free: 69.11 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001022/2.09, allocations: 305.2 kB / 0.9255 GB, free: 68.82 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00112/2.091, allocations: 1.148 MB / 0.9266 GB, free: 67.67 MB / 458.7 MB Notification: Performance of SimCode: time 9.22e-07/2.091, allocations: 0 / 0.9266 GB, free: 67.67 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07531/2.166, allocations: 50.11 MB / 0.9756 GB, free: 18.36 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001481/2.166, allocations: 185.9 kB / 0.9758 GB, free: 18.12 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.672/5.838, allocations: 0 / 0.9758 GB, free: 18.12 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)