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: 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/Complex 4.0.0+maint.om/package.mo): time 0.007953/0.007953, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.33/1.33, allocations: 223.2 MB / 239 MB, free: 1.793 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.001101/0.001101, allocations: 107.5 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/VehicleInterfaces 2.0.1/package.mo): time 0.03988/0.03988, allocations: 7.986 MB / 349.3 MB, free: 3.121 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003309/0.0003309, allocations: 7.75 kB / 412 MB, free: 89.04 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1076, allocations: 52.22 MB / 464.2 MB, free: 43.22 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3863/0.494, allocations: 109.8 MB / 0.5605 GB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/0.4943, allocations: 95.28 kB / 0.5606 GB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9371/1.431, allocations: 304.6 MB / 0.8581 GB, free: 13.39 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.084e-06/1.431, allocations: 0 / 0.8581 GB, free: 13.39 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002344/1.432, allocations: 95.95 kB / 0.8582 GB, free: 13.3 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.006369/1.438, allocations: 3.021 MB / 0.8611 GB, free: 10.24 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/1.438, allocations: 8.031 kB / 0.8611 GB, free: 10.23 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001342/1.439, allocations: 411.4 kB / 0.8615 GB, free: 9.824 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003788/1.443, allocations: 1.953 MB / 0.8634 GB, free: 7.895 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/1.443, allocations: 225.9 kB / 0.8636 GB, free: 7.672 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005316/1.444, allocations: 307.8 kB / 0.8639 GB, free: 7.371 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005628/1.45, allocations: 3.326 MB / 0.8672 GB, free: 3.809 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001229/1.45, allocations: 34.52 kB / 0.8672 GB, free: 3.777 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002738/1.45, allocations: 135.4 kB / 0.8673 GB, free: 3.652 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001149/1.45, allocations: 104 kB / 0.8674 GB, free: 3.551 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004591/1.455, allocations: 2.192 MB / 0.8696 GB, free: 1.379 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2731/1.728, allocations: 12.62 MB / 0.8819 GB, free: 103.5 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002181/1.73, allocations: 1.148 MB / 0.883 GB, free: 103.4 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/1.73, allocations: 24.28 kB / 0.883 GB, free: 103.4 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.367e-05/1.73, allocations: 50.97 kB / 0.8831 GB, free: 103.4 MB / 458.7 MB Notification: Performance of pre-optimization done (n=139): time 4.479e-06/1.73, allocations: 0 / 0.8831 GB, free: 103.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=160): time 0.01512/1.745, allocations: 6.766 MB / 0.8897 GB, free: 101.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/1.745, allocations: 99.67 kB / 0.8898 GB, free: 101.4 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002929/1.748, allocations: 1.808 MB / 0.8916 GB, free: 101.2 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001935/1.749, allocations: 77.91 kB / 0.8916 GB, free: 101.1 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001216/1.75, allocations: 1.391 MB / 0.893 GB, free: 100.7 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005009/1.75, allocations: 0.5314 MB / 0.8935 GB, free: 100.4 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/1.75, allocations: 39.7 kB / 0.8935 GB, free: 100.4 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001946/1.751, allocations: 387.6 kB / 0.8939 GB, free: 100.1 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001365/1.752, allocations: 0.6822 MB / 0.8946 GB, free: 100.1 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001601/1.754, allocations: 1.261 MB / 0.8958 GB, free: 99.44 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0014/1.755, allocations: 0.7447 MB / 0.8965 GB, free: 99.42 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.354e-05/1.755, allocations: 13.92 kB / 0.8966 GB, free: 99.42 MB / 458.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.005072/1.76, allocations: 2.508 MB / 0.899 GB, free: 99.18 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.987e-05/1.76, allocations: 12.75 kB / 0.899 GB, free: 99.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.252e-05/1.76, allocations: 23.25 kB / 0.899 GB, free: 99.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00252/1.763, allocations: 1.1 MB / 0.9001 GB, free: 99.15 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001634/1.764, allocations: 393.9 kB / 0.9005 GB, free: 99.12 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003922/1.768, allocations: 3.006 MB / 0.9034 GB, free: 97.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002311/1.771, allocations: 220.7 kB / 0.9036 GB, free: 97.22 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002318/1.771, allocations: 95.98 kB / 0.9037 GB, free: 97.22 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.001861/1.773, allocations: 0.6532 MB / 0.9044 GB, free: 97.06 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004709/1.773, allocations: 251.8 kB / 0.9046 GB, free: 96.92 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003481/1.777, allocations: 2.121 MB / 0.9067 GB, free: 96.75 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/1.777, allocations: 17.28 kB / 0.9067 GB, free: 96.75 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.777, allocations: 0 / 0.9067 GB, free: 96.75 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/1.777, allocations: 11.55 kB / 0.9067 GB, free: 96.74 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008287/1.785, allocations: 4.984 MB / 0.9116 GB, free: 96.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/1.785, allocations: 3.625 kB / 0.9116 GB, free: 96.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009212/1.786, allocations: 229.2 kB / 0.9118 GB, free: 96.03 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001548/1.788, allocations: 0.9971 MB / 0.9128 GB, free: 95.98 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001178/1.788, allocations: 53.97 kB / 0.9128 GB, free: 95.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002591/1.79, allocations: 2.844 MB / 0.9156 GB, free: 94.06 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/1.79, allocations: 0 / 0.9156 GB, free: 94.06 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004441/1.795, allocations: 2.872 MB / 0.9184 GB, free: 92.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001223/1.796, allocations: 483.6 kB / 0.9189 GB, free: 92.15 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002929/1.796, allocations: 55.78 kB / 0.9189 GB, free: 92.12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/1.797, allocations: 136.5 kB / 0.919 GB, free: 92.09 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004529/1.798, allocations: 262.6 kB / 0.9193 GB, free: 92.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/1.798, allocations: 69.36 kB / 0.9194 GB, free: 92.04 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002176/1.8, allocations: 1.368 MB / 0.9207 GB, free: 91.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.8, allocations: 0 / 0.9207 GB, free: 91.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002119/1.802, allocations: 0.5091 MB / 0.9212 GB, free: 91.45 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.0004004/1.803, allocations: 214.4 kB / 0.9214 GB, free: 91.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003513/1.806, allocations: 1.981 MB / 0.9233 GB, free: 90.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/1.806, allocations: 0 / 0.9233 GB, free: 90.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001695/1.808, allocations: 1.026 MB / 0.9243 GB, free: 89.94 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001616/1.81, allocations: 311.3 kB / 0.9246 GB, free: 89.81 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/1.82, allocations: 6.2 MB / 0.9307 GB, free: 86.29 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001407/1.821, allocations: 1.792 MB / 0.9324 GB, free: 85.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00119/1.823, allocations: 314.3 kB / 0.9327 GB, free: 85.45 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003027/1.823, allocations: 127.1 kB / 0.9329 GB, free: 85.45 MB / 458.7 MB Notification: Performance of SimCode: time 1.133e-06/1.823, allocations: 0 / 0.9329 GB, free: 85.45 MB / 458.7 MB Notification: Performance of Templates: time 0.04548/1.868, allocations: 27.91 MB / 0.9601 GB, free: 76.13 MB / 458.7 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 -lv LOG_STATS > VehicleInterfaces_VehicleInterfaces.Examples.PowerSplitHybrid.pipe 2>&1)