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.0009067/0.0009067, allocations: 172.4 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 221.5 MB / 229.6 MB, free: 7.566 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.0008902/0.0008904, allocations: 83.48 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.03589/0.03589, allocations: 7.834 MB / 339.1 MB, free: 7.422 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.747e-05/1.747e-05, allocations: 2.75 kB / 397.6 MB, free: 48.63 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1119, allocations: 52.21 MB / 449.8 MB, free: 6.945 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4519/0.5639, allocations: 109 MB / 0.5457 GB, free: 25.83 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/0.5642, allocations: 83.34 kB / 0.5458 GB, free: 25.83 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1/1.564, allocations: 304 MB / 0.8427 GB, free: 34.81 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.122e-06/1.564, allocations: 0 / 0.8427 GB, free: 34.81 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002259/1.564, allocations: 95.97 kB / 0.8428 GB, free: 34.71 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.004676/1.569, allocations: 2.72 MB / 0.8455 GB, free: 31.95 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/1.569, allocations: 12.02 kB / 0.8455 GB, free: 31.94 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009696/1.57, allocations: 411.4 kB / 0.8459 GB, free: 31.53 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003097/1.573, allocations: 1.947 MB / 0.8478 GB, free: 29.61 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-05/1.573, allocations: 99.94 kB / 0.8479 GB, free: 29.51 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003255/1.574, allocations: 195.7 kB / 0.848 GB, free: 29.32 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003128/1.577, allocations: 1.901 MB / 0.8499 GB, free: 27.41 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004031/1.581, allocations: 2.856 MB / 0.8527 GB, free: 24.33 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001095/1.581, allocations: 23.47 kB / 0.8527 GB, free: 24.31 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002054/1.581, allocations: 11.84 kB / 0.8527 GB, free: 24.3 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001049/1.581, allocations: 104 kB / 0.8528 GB, free: 24.2 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01316/1.595, allocations: 12.02 MB / 0.8645 GB, free: 12.05 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/1.596, allocations: 1.042 MB / 0.8656 GB, free: 11 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008224/1.597, allocations: 0.6845 MB / 0.8662 GB, free: 10.31 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/1.597, allocations: 21.31 kB / 0.8663 GB, free: 10.29 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/1.597, allocations: 43.88 kB / 0.8663 GB, free: 10.24 MB / 458.7 MB Notification: Performance of pre-optimization done (n=139): time 3.888e-06/1.597, allocations: 0 / 0.8663 GB, free: 10.24 MB / 458.7 MB Notification: Performance of matching and sorting (n=160): time 0.008138/1.605, allocations: 4.883 MB / 0.8711 GB, free: 5.352 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/1.605, allocations: 98.42 kB / 0.8712 GB, free: 5.238 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/1.607, allocations: 1.267 MB / 0.8724 GB, free: 3.934 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001242/1.607, allocations: 49.69 kB / 0.8724 GB, free: 3.879 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009856/1.608, allocations: 1.416 MB / 0.8738 GB, free: 2.445 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003368/1.608, allocations: 0.5084 MB / 0.8743 GB, free: 1.93 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.021e-05/1.608, allocations: 3.984 kB / 0.8743 GB, free: 1.926 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/1.608, allocations: 381.9 kB / 0.8747 GB, free: 1.547 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008196/1.609, allocations: 0.6016 MB / 0.8753 GB, free: 0.9414 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3094/1.919, allocations: 1.17 MB / 0.8764 GB, free: 109.3 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001691/1.92, allocations: 0.6949 MB / 0.8771 GB, free: 109.3 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/1.92, allocations: 5.094 kB / 0.8771 GB, free: 109.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.004912/1.925, allocations: 2.206 MB / 0.8793 GB, free: 109.2 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.315e-05/1.925, allocations: 11.94 kB / 0.8793 GB, free: 109.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.475e-05/1.925, allocations: 21.36 kB / 0.8793 GB, free: 109.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002035/1.927, allocations: 1.064 MB / 0.8803 GB, free: 109.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/1.929, allocations: 388 kB / 0.8807 GB, free: 109.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003638/1.932, allocations: 3.074 MB / 0.8837 GB, free: 107.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001979/1.934, allocations: 184.6 kB / 0.8839 GB, free: 107.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002086/1.935, allocations: 98.64 kB / 0.884 GB, free: 107.4 MB / 458.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: brakes.brake_3.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real brakes.brake_1.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real brakes.brake_2.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real brakes.brake_4.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real 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.0005058/1.935, allocations: 206.7 kB / 0.8842 GB, free: 107.3 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003447/1.939, allocations: 1.6 MB / 0.8857 GB, free: 107.2 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003628/1.939, allocations: 211.8 kB / 0.8859 GB, free: 107.2 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004224/1.943, allocations: 1.92 MB / 0.8878 GB, free: 107 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/1.943, allocations: 15.16 kB / 0.8878 GB, free: 107 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/1.943, allocations: 0 / 0.8878 GB, free: 107 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-05/1.943, allocations: 7.922 kB / 0.8878 GB, free: 107 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007963/1.951, allocations: 4.466 MB / 0.8922 GB, free: 106.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/1.951, allocations: 3.906 kB / 0.8922 GB, free: 106.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008928/1.952, allocations: 232.7 kB / 0.8924 GB, free: 106.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001531/1.954, allocations: 0.9542 MB / 0.8934 GB, free: 106.4 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001225/1.954, allocations: 29.39 kB / 0.8934 GB, free: 106.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002985/1.957, allocations: 2.899 MB / 0.8962 GB, free: 104.7 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/1.957, allocations: 3.938 kB / 0.8962 GB, free: 104.7 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003842/1.961, allocations: 2.623 MB / 0.8988 GB, free: 104.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008101/1.962, allocations: 424.6 kB / 0.8992 GB, free: 103.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002659/1.962, allocations: 32.92 kB / 0.8992 GB, free: 103.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009727/1.963, allocations: 117.1 kB / 0.8993 GB, free: 103.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004194/1.963, allocations: 260.9 kB / 0.8996 GB, free: 103.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/1.963, allocations: 64.36 kB / 0.8996 GB, free: 103.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001358/1.965, allocations: 0.9155 MB / 0.9005 GB, free: 103.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.41e-07/1.965, allocations: 0 / 0.9005 GB, free: 103.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001919/1.967, allocations: 456.9 kB / 0.901 GB, free: 103.7 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.004007/1.971, allocations: 3.711 MB / 0.9046 GB, free: 102.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002993/1.974, allocations: 1.79 MB / 0.9063 GB, free: 101.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/1.974, allocations: 0 / 0.9063 GB, free: 101.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00155/1.975, allocations: 0.9631 MB / 0.9073 GB, free: 101.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/1.977, allocations: 258.3 kB / 0.9075 GB, free: 101.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/1.987, allocations: 4.257 MB / 0.9117 GB, free: 100.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001417/1.988, allocations: 1.792 MB / 0.9134 GB, free: 99.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009709/1.989, allocations: 268.7 kB / 0.9137 GB, free: 99.65 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001162/1.99, allocations: 1.129 MB / 0.9148 GB, free: 99.64 MB / 458.7 MB Notification: Performance of SimCode: time 1.483e-06/1.99, allocations: 0 / 0.9148 GB, free: 99.64 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08155/2.072, allocations: 43.82 MB / 0.9576 GB, free: 87.82 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000135/2.072, allocations: 132.6 kB / 0.9577 GB, free: 87.62 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.161/5.233, allocations: 0 / 0.9577 GB, free: 87.62 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)