Running command: translateModel(VehicleInterfaces.Examples.SeriesHybrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="VehicleInterfaces_VehicleInterfaces.Examples.SeriesHybrid") Notification: Performance of loadModel(VehicleInterfaces): time 2.018/2.018, allocations: 202.4 MB / 214.5 MB, free: 12.91 MB / 186.8 MB Notification: Performance of FrontEnd - loaded program: time 3.655e-05/3.665e-05, allocations: 4 kB / 263.7 MB, free: 10.44 MB / 218.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08287/0.08293, allocations: 46.33 MB / 310.1 MB, free: 12.02 MB / 266.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3619/0.4449, allocations: 99.99 MB / 410.1 MB, free: 6.488 MB / 314.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/0.4452, allocations: 87.5 kB / 410.2 MB, free: 6.477 MB / 314.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.416/1.861, allocations: 279.4 MB / 0.6734 GB, free: 99.54 MB / 410.8 MB Notification: Performance of FrontEnd: time 3.715e-06/1.861, allocations: 0 / 0.6734 GB, free: 99.54 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.000503/1.862, allocations: 87.52 kB / 0.6735 GB, free: 99.53 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.01325/1.875, allocations: 2.521 MB / 0.6759 GB, free: 98.41 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.788e-05/1.875, allocations: 13.66 kB / 0.6759 GB, free: 98.41 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002985/1.878, allocations: 376.8 kB / 0.6763 GB, free: 98.23 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009125/1.887, allocations: 1.777 MB / 0.678 GB, free: 97.77 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004659/1.888, allocations: 199.1 kB / 0.6782 GB, free: 97.77 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001669/1.889, allocations: 280 kB / 0.6785 GB, free: 97.76 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01525/1.905, allocations: 2.955 MB / 0.6814 GB, free: 97.09 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003599/1.905, allocations: 30.7 kB / 0.6814 GB, free: 97.08 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009315/1.906, allocations: 124.2 kB / 0.6815 GB, free: 97.08 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002626/1.906, allocations: 97.42 kB / 0.6816 GB, free: 97.08 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01202/1.918, allocations: 1.893 MB / 0.6835 GB, free: 97.06 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03257/1.951, allocations: 11.68 MB / 0.6949 GB, free: 92.27 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002426/1.954, allocations: 1.014 MB / 0.6959 GB, free: 92.21 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001696/1.955, allocations: 0.6796 MB / 0.6965 GB, free: 92.18 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000134/1.955, allocations: 15.95 kB / 0.6965 GB, free: 92.18 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/1.956, allocations: 56 kB / 0.6966 GB, free: 92.14 MB / 410.8 MB Notification: Performance of pre-optimization done (n=130): time 5.18e-06/1.956, allocations: 0 / 0.6966 GB, free: 92.14 MB / 410.8 MB Notification: Performance of matching and sorting (n=150): time 0.0128/1.968, allocations: 4.857 MB / 0.7013 GB, free: 90.65 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/1.968, allocations: 94.14 kB / 0.7014 GB, free: 90.56 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003323/1.972, allocations: 1.642 MB / 0.703 GB, free: 90.32 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003659/1.972, allocations: 74.39 kB / 0.7031 GB, free: 90.29 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001168/1.973, allocations: 1.261 MB / 0.7043 GB, free: 89.78 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006417/1.974, allocations: 0.4987 MB / 0.7048 GB, free: 89.48 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/1.974, allocations: 45.19 kB / 0.7049 GB, free: 89.48 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001248/1.974, allocations: 375.2 kB / 0.7052 GB, free: 89.17 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/1.976, allocations: 0.6073 MB / 0.7058 GB, free: 88.98 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001683/1.977, allocations: 1.15 MB / 0.7069 GB, free: 88.03 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00147/1.979, allocations: 0.6651 MB / 0.7076 GB, free: 87.75 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.436e-05/1.979, allocations: 6.938 kB / 0.7076 GB, free: 87.75 MB / 410.8 MB Notification: Performance of matching and sorting (n=243) (initialization): time 0.008643/1.988, allocations: 2.252 MB / 0.7098 GB, free: 86.8 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.347e-05/1.988, allocations: 11.06 kB / 0.7098 GB, free: 86.8 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.082e-05/1.988, allocations: 25.97 kB / 0.7098 GB, free: 86.8 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003915/1.992, allocations: 1.054 MB / 0.7109 GB, free: 86.49 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/1.994, allocations: 351.4 kB / 0.7112 GB, free: 86.45 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004094/1.998, allocations: 2.987 MB / 0.7141 GB, free: 84.02 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002612/2, allocations: 238.1 kB / 0.7143 GB, free: 83.98 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002462/2.001, allocations: 91.8 kB / 0.7144 GB, free: 83.96 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 54 (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.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 (200): * Single equations (assignments): 194 * 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.00049/2.001, allocations: 260.9 kB / 0.7147 GB, free: 83.75 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004151/2.002, allocations: 229.3 kB / 0.7149 GB, free: 83.63 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004722/2.006, allocations: 1.975 MB / 0.7168 GB, free: 82.75 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/2.006, allocations: 14.59 kB / 0.7168 GB, free: 82.75 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.061e-06/2.006, allocations: 3.844 kB / 0.7168 GB, free: 82.75 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.727e-05/2.006, allocations: 7.547 kB / 0.7168 GB, free: 82.75 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01061/2.017, allocations: 4.686 MB / 0.7214 GB, free: 80.54 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/2.017, allocations: 4.062 kB / 0.7214 GB, free: 80.54 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/2.018, allocations: 206 kB / 0.7216 GB, free: 80.52 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002227/2.02, allocations: 0.9709 MB / 0.7226 GB, free: 80.25 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001599/2.021, allocations: 47.75 kB / 0.7226 GB, free: 80.23 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003598/2.024, allocations: 2.842 MB / 0.7254 GB, free: 77.87 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.291e-06/2.024, allocations: 7.594 kB / 0.7254 GB, free: 77.86 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005659/2.03, allocations: 2.738 MB / 0.7281 GB, free: 76.3 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001194/2.031, allocations: 461.8 kB / 0.7285 GB, free: 75.96 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004502/2.032, allocations: 57.22 kB / 0.7286 GB, free: 75.93 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001612/2.033, allocations: 161.1 kB / 0.7287 GB, free: 75.9 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005592/2.034, allocations: 255.6 kB / 0.729 GB, free: 75.86 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001772/2.034, allocations: 59.22 kB / 0.729 GB, free: 75.85 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.002312/2.036, allocations: 1.236 MB / 0.7302 GB, free: 75.33 MB / 410.8 MB Notification: Performance of sort global known variables: time 9.54e-07/2.036, allocations: 0 / 0.7302 GB, free: 75.33 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.002419/2.039, allocations: 0.4907 MB / 0.7307 GB, free: 75.28 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (chassis.body.s,chassis.dragForces.v_rel,engine.end_2.zeroTorque1D.phi,accessories.inertia.w,generator.inductor.i,driveMotor.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_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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 106 * 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.0004218/2.039, allocations: 202.3 kB / 0.7309 GB, free: 75.13 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.00371/2.043, allocations: 1.781 MB / 0.7326 GB, free: 74.3 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 5.266e-06/2.043, allocations: 3.062 kB / 0.7326 GB, free: 74.3 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002638/2.046, allocations: 0.9698 MB / 0.7336 GB, free: 73.84 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002184/2.048, allocations: 346.5 kB / 0.7339 GB, free: 73.72 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009492/2.057, allocations: 3.782 MB / 0.7376 GB, free: 70.96 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00152/2.059, allocations: 1.705 MB / 0.7393 GB, free: 69.62 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.001382/2.06, allocations: 283.5 kB / 0.7396 GB, free: 69.43 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004142/2.061, allocations: 119 kB / 0.7397 GB, free: 69.32 MB / 410.8 MB Notification: Performance of SimCode: time 1.645e-06/2.061, allocations: 0 / 0.7397 GB, free: 69.32 MB / 410.8 MB Notification: Performance of Templates: time 0.06365/2.124, allocations: 27.5 MB / 0.7665 GB, free: 51.39 MB / 410.8 MB