Running command: "" <> buildModelFMU(VehicleInterfaces.Examples.SeriesHybrid,fileNamePrefix="VehicleInterfaces_VehicleInterfaces_Examples_SeriesHybrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(VehicleInterfaces): time 2.106/2.106, allocations: 202.4 MB / 214.5 MB, free: 12.97 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.412e-05/4.412e-05, allocations: 4 kB / 263.8 MB, free: 10.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1051, allocations: 46.33 MB / 310.2 MB, free: 11.89 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4412/0.5463, allocations: 100 MB / 410.2 MB, free: 6.113 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/0.5467, allocations: 88.39 kB / 410.3 MB, free: 6.102 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.861/2.408, allocations: 279.4 MB / 0.6735 GB, free: 99.19 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.605e-06/2.408, allocations: 0 / 0.6735 GB, free: 99.19 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003842/2.408, allocations: 82.47 kB / 0.6736 GB, free: 99.18 MB / 410.7 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.01025/2.418, allocations: 2.529 MB / 0.676 GB, free: 98.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.852e-05/2.419, allocations: 13.25 kB / 0.676 GB, free: 98.05 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001474/2.42, allocations: 371.7 kB / 0.6764 GB, free: 98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002023/2.422, allocations: 379.4 kB / 0.6768 GB, free: 97.83 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006568/2.429, allocations: 1.774 MB / 0.6785 GB, free: 97.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003289/2.429, allocations: 198.2 kB / 0.6787 GB, free: 97.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001323/2.43, allocations: 281.3 kB / 0.6789 GB, free: 97.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01074/2.441, allocations: 2.957 MB / 0.6818 GB, free: 96.69 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002764/2.441, allocations: 33.95 kB / 0.6819 GB, free: 96.67 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006992/2.442, allocations: 115.4 kB / 0.682 GB, free: 96.67 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001822/2.442, allocations: 101.3 kB / 0.6821 GB, free: 96.67 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007545/2.45, allocations: 1.898 MB / 0.6839 GB, free: 96.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02629/2.476, allocations: 11.68 MB / 0.6953 GB, free: 91.87 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002843/2.479, allocations: 1.008 MB / 0.6963 GB, free: 91.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001928/2.481, allocations: 0.6852 MB / 0.697 GB, free: 91.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001863/2.481, allocations: 21.73 kB / 0.697 GB, free: 91.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.768e-05/2.481, allocations: 47.62 kB / 0.697 GB, free: 91.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 4.649e-06/2.481, allocations: 2.719 kB / 0.697 GB, free: 91.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=150): time 0.01562/2.497, allocations: 4.856 MB / 0.7018 GB, free: 90.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/2.497, allocations: 101.5 kB / 0.7019 GB, free: 90.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003805/2.501, allocations: 1.638 MB / 0.7035 GB, free: 89.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005044/2.502, allocations: 72.83 kB / 0.7036 GB, free: 89.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001285/2.503, allocations: 1.264 MB / 0.7048 GB, free: 89.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000847/2.504, allocations: 0.4981 MB / 0.7053 GB, free: 89.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/2.504, allocations: 35.53 kB / 0.7053 GB, free: 89.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/2.504, allocations: 384 kB / 0.7057 GB, free: 88.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001776/2.506, allocations: 0.6101 MB / 0.7063 GB, free: 88.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002065/2.508, allocations: 1.14 MB / 0.7074 GB, free: 87.72 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001894/2.51, allocations: 0.6685 MB / 0.708 GB, free: 87.44 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.618e-05/2.51, allocations: 7.75 kB / 0.708 GB, free: 87.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=243) (initialization): time 0.006673/2.517, allocations: 2.254 MB / 0.7102 GB, free: 86.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.722e-05/2.517, allocations: 12.88 kB / 0.7103 GB, free: 86.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.409e-05/2.517, allocations: 23.12 kB / 0.7103 GB, free: 86.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003043/2.52, allocations: 1.052 MB / 0.7113 GB, free: 86.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002422/2.522, allocations: 350.5 kB / 0.7116 GB, free: 86.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004608/2.527, allocations: 2.981 MB / 0.7146 GB, free: 83.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003564/2.531, allocations: 242.8 kB / 0.7148 GB, free: 83.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005209/2.531, allocations: 94.69 kB / 0.7149 GB, free: 83.65 MB / 410.7 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.0006442/2.532, allocations: 261.5 kB / 0.7151 GB, free: 83.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007301/2.533, allocations: 229.2 kB / 0.7153 GB, free: 83.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005988/2.539, allocations: 1.974 MB / 0.7173 GB, free: 82.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-05/2.539, allocations: 14.03 kB / 0.7173 GB, free: 82.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/2.539, allocations: 3.438 kB / 0.7173 GB, free: 82.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.558e-05/2.539, allocations: 6.188 kB / 0.7173 GB, free: 82.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01417/2.553, allocations: 4.695 MB / 0.7219 GB, free: 80.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.641e-05/2.553, allocations: 3.812 kB / 0.7219 GB, free: 80.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001738/2.555, allocations: 210.8 kB / 0.7221 GB, free: 80.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002848/2.558, allocations: 0.9657 MB / 0.723 GB, free: 79.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003199/2.558, allocations: 47.17 kB / 0.7231 GB, free: 79.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004278/2.562, allocations: 2.839 MB / 0.7258 GB, free: 77.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/2.562, allocations: 0 / 0.7258 GB, free: 77.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006818/2.569, allocations: 2.749 MB / 0.7285 GB, free: 75.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00159/2.571, allocations: 455.7 kB / 0.729 GB, free: 75.65 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006508/2.571, allocations: 56.06 kB / 0.729 GB, free: 75.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002443/2.574, allocations: 164.3 kB / 0.7292 GB, free: 75.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008051/2.575, allocations: 258.4 kB / 0.7294 GB, free: 75.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001867/2.575, allocations: 56.47 kB / 0.7295 GB, free: 75.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00301/2.578, allocations: 1.24 MB / 0.7307 GB, free: 75.01 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.21e-07/2.578, allocations: 0 / 0.7307 GB, free: 75.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00317/2.581, allocations: 499.2 kB / 0.7312 GB, free: 74.96 MB / 410.7 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.008027/2.589, allocations: 3.967 MB / 0.735 GB, free: 72.28 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005219/2.594, allocations: 1.778 MB / 0.7368 GB, free: 71.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/2.595, allocations: 0 / 0.7368 GB, free: 71.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003184/2.598, allocations: 0.9796 MB / 0.7377 GB, free: 70.44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003369/2.601, allocations: 337.8 kB / 0.7381 GB, free: 70.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01579/2.617, allocations: 4.19 MB / 0.7421 GB, free: 66.44 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001557/2.619, allocations: 1.702 MB / 0.7438 GB, free: 65.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001671/2.62, allocations: 289.2 kB / 0.7441 GB, free: 64.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001913/2.622, allocations: 1.026 MB / 0.7451 GB, free: 63.96 MB / 410.7 MB Notification: Performance of SimCode: time 1.864e-06/2.622, allocations: 0 / 0.7451 GB, free: 63.96 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1188/2.741, allocations: 47.84 MB / 0.7918 GB, free: 24.99 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002599/2.741, allocations: 168.6 kB / 0.792 GB, free: 24.77 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.293/7.034, allocations: 0 / 0.792 GB, free: 24.77 MB / 410.7 MB