Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.VectorDelay,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Digital_Examples_VectorDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.625/1.625, allocations: 171.2 MB / 178.8 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.429e-05/2.428e-05, allocations: 4 kB / 219.6 MB, free: 7.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2491, allocations: 38.77 MB / 258.3 MB, free: 12.05 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1209/0.37, allocations: 70.53 MB / 328.8 MB, free: 7.301 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/0.3703, allocations: 67.97 kB / 328.9 MB, free: 7.234 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04567/0.416, allocations: 13.23 MB / 342.1 MB, free: 9.988 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.416, allocations: 0 / 342.1 MB, free: 9.988 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.731e-05/0.416, allocations: 12 kB / 342.2 MB, free: 9.977 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001412/0.4175, allocations: 1.022 MB / 343.2 MB, free: 8.871 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.4175, allocations: 12.03 kB / 343.2 MB, free: 8.859 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001922/0.4177, allocations: 98.81 kB / 343.3 MB, free: 8.762 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007459/0.4185, allocations: 420.8 kB / 343.7 MB, free: 8.297 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.491e-05/0.4186, allocations: 8 kB / 343.7 MB, free: 8.289 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.304e-05/0.4186, allocations: 20 kB / 343.7 MB, free: 8.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004859/0.4191, allocations: 179.9 kB / 343.9 MB, free: 8.094 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000744/0.4199, allocations: 327.9 kB / 344.2 MB, free: 7.758 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.4199, allocations: 0 / 344.2 MB, free: 7.758 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.8e-05/0.42, allocations: 4 kB / 344.2 MB, free: 7.754 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.42, allocations: 4 kB / 344.2 MB, free: 7.75 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001861/0.4219, allocations: 0.9314 MB / 345.2 MB, free: 6.773 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005935/0.4225, allocations: 295.8 kB / 345.4 MB, free: 6.457 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005011/0.423, allocations: 250.5 kB / 345.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.4231, allocations: 0 / 345.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009857/0.424, allocations: 0.609 MB / 346.3 MB, free: 5.535 MB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 2.465e-06/0.4241, allocations: 0 / 346.3 MB, free: 5.535 MB / 298.7 MB Notification: Performance of matching and sorting (n=30): time 0.001837/0.4259, allocations: 0.6761 MB / 347 MB, free: 4.852 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001621/0.4261, allocations: 277 kB / 347.2 MB, free: 4.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002765/0.4289, allocations: 1.227 MB / 348.5 MB, free: 3.273 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001413/0.429, allocations: 33.7 kB / 348.5 MB, free: 3.234 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.4292, allocations: 184.9 kB / 348.7 MB, free: 3.051 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001538/0.4293, allocations: 71.19 kB / 348.8 MB, free: 2.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.965e-05/0.4294, allocations: 4 kB / 348.8 MB, free: 2.977 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.4295, allocations: 324.4 kB / 349.1 MB, free: 2.652 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004622/0.43, allocations: 195.8 kB / 349.3 MB, free: 2.461 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004824/0.4305, allocations: 226.3 kB / 349.5 MB, free: 2.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003716/0.4309, allocations: 151.8 kB / 349.6 MB, free: 2.082 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.4309, allocations: 4 kB / 349.6 MB, free: 2.078 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001606/0.4325, allocations: 0.6102 MB / 350.2 MB, free: 1.461 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00017/0.4327, allocations: 194.1 kB / 350.4 MB, free: 1.234 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.4327, allocations: 0 / 350.4 MB, free: 1.234 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.4328, allocations: 3.953 kB / 350.4 MB, free: 1.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.595e-05/0.4328, allocations: 11.92 kB / 350.5 MB, free: 1.219 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.4328, allocations: 0 / 350.5 MB, free: 1.219 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005481/0.4334, allocations: 31.89 kB / 350.5 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001608/0.4336, allocations: 95.92 kB / 350.6 MB, free: 1.094 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition5,$whenCondition6,$PRE.delay.inertialDelaySensitive[3].x,delay.inertialDelaySensitive[3].x,$PRE.delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].delayTime,delay.inertialDelaySensitive[3].y_auxiliary,delay.inertialDelaySensitive[3].y_old,delay.inertialDelaySensitive[3].lh,delay.inertialDelaySensitive[3].t_next,table2.y,$whenCondition3,$whenCondition4,$PRE.delay.inertialDelaySensitive[2].x,delay.inertialDelaySensitive[2].x,$PRE.delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].delayTime,delay.inertialDelaySensitive[2].y_auxiliary,delay.inertialDelaySensitive[2].y_old,delay.inertialDelaySensitive[2].lh,delay.inertialDelaySensitive[2].t_next,table1.y,$whenCondition1,$whenCondition2,$PRE.delay.inertialDelaySensitive[1].x,delay.inertialDelaySensitive[1].x,$PRE.delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].delayTime,delay.inertialDelaySensitive[1].y_auxiliary,delay.inertialDelaySensitive[1].y_old,delay.inertialDelaySensitive[1].lh,delay.inertialDelaySensitive[1].t_next,table.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003933/0.434, allocations: 346.1 kB / 350.9 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001914/0.4359, allocations: 0.7657 MB / 351.7 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/0.4361, allocations: 102.7 kB / 351.8 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006181/0.4367, allocations: 196 kB / 352 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.4367, allocations: 4 kB / 352 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.4368, allocations: 0 / 352 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.4368, allocations: 3.938 kB / 352 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003092/0.4399, allocations: 1.556 MB / 353.5 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.188e-06/0.4399, allocations: 4 kB / 353.5 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.598e-05/0.4399, allocations: 4 kB / 353.5 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.44, allocations: 3.953 kB / 353.5 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.649e-05/0.44, allocations: 23.98 kB / 353.6 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.44, allocations: 0 / 353.6 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.4401, allocations: 7.938 kB / 353.6 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001985/0.4421, allocations: 1.029 MB / 354.6 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001618/0.4437, allocations: 0.6008 MB / 355.2 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002561/0.444, allocations: 47.97 kB / 355.3 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006312/0.4446, allocations: 31.97 kB / 355.3 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003019/0.4449, allocations: 91.88 kB / 355.4 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001778/0.4451, allocations: 103.8 kB / 355.5 MB, free: 12.04 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002252/0.4474, allocations: 1.024 MB / 356.5 MB, free: 11 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.4474, allocations: 0 / 356.5 MB, free: 11 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007525/0.4482, allocations: 100 kB / 356.6 MB, free: 10.91 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 30 ($whenCondition1,$whenCondition2,delay.inertialDelaySensitive[1].x,delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].delayTime,delay.inertialDelaySensitive[1].y_auxiliary,delay.inertialDelaySensitive[1].y_old,delay.inertialDelaySensitive[1].lh,delay.inertialDelaySensitive[1].t_next,table.y,$whenCondition3,$whenCondition4,delay.inertialDelaySensitive[2].x,delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].delayTime,delay.inertialDelaySensitive[2].y_auxiliary,delay.inertialDelaySensitive[2].y_old,delay.inertialDelaySensitive[2].lh,delay.inertialDelaySensitive[2].t_next,table1.y,$whenCondition5,$whenCondition6,delay.inertialDelaySensitive[3].x,delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].delayTime,delay.inertialDelaySensitive[3].y_auxiliary,delay.inertialDelaySensitive[3].y_old,delay.inertialDelaySensitive[3].lh,delay.inertialDelaySensitive[3].t_next,table2.y) * Number of discrete states: 30 (table2.y,delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].y_auxiliary,delay.inertialDelaySensitive[3].t_next,delay.inertialDelaySensitive[3].delayTime,delay.inertialDelaySensitive[3].lh,delay.inertialDelaySensitive[3].y_old,$whenCondition6,$whenCondition5,delay.inertialDelaySensitive[3].x,table1.y,delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].y_auxiliary,delay.inertialDelaySensitive[2].t_next,delay.inertialDelaySensitive[2].delayTime,delay.inertialDelaySensitive[2].lh,delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,delay.inertialDelaySensitive[2].x,table.y,delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].y_auxiliary,delay.inertialDelaySensitive[1].t_next,delay.inertialDelaySensitive[1].delayTime,delay.inertialDelaySensitive[1].lh,delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,delay.inertialDelaySensitive[1].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002552/0.4508, allocations: 1.798 MB / 358.4 MB, free: 9.074 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001564/0.4524, allocations: 0.9532 MB / 359.4 MB, free: 8.047 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.4524, allocations: 0 / 359.4 MB, free: 8.047 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00107/0.4535, allocations: 0.7776 MB / 360.1 MB, free: 7.195 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/0.455, allocations: 215.8 kB / 360.3 MB, free: 6.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005183/0.4602, allocations: 2.048 MB / 362.4 MB, free: 4.875 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001262/0.4615, allocations: 1.101 MB / 363.5 MB, free: 3.746 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.4617, allocations: 55.42 kB / 363.5 MB, free: 3.691 MB / 314.7 MB Notification: Performance of SimCode: time 1.032e-06/0.4617, allocations: 0 / 363.5 MB, free: 3.691 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.854/3.316, allocations: 6.12 MB / 369.7 MB, free: 93.84 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Digital.Examples.VectorDelay_res.mat does not exist to compare? outputFormat=mat