Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.VectorDelay,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Digital_Examples_VectorDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.829/1.829, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.825e-05/2.828e-05, allocations: 4 kB / 255.4 MB, free: 3.105 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09103/0.09108, allocations: 44.51 MB / 299.9 MB, free: 6.539 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3935/0.4846, allocations: 76.51 MB / 376.4 MB, free: 12.73 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/0.4849, allocations: 68.75 kB / 376.5 MB, free: 12.73 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04187/0.5268, allocations: 13.34 MB / 389.8 MB, free: 11.31 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.5269, allocations: 4 kB / 389.9 MB, free: 11.31 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.052e-05/0.5269, allocations: 11.62 kB / 389.9 MB, free: 11.31 MB / 314.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.001122/0.528, allocations: 1.022 MB / 390.9 MB, free: 10.51 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.5281, allocations: 11.66 kB / 390.9 MB, free: 10.51 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.33e-05/0.5282, allocations: 44.97 kB / 390.9 MB, free: 10.47 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.5283, allocations: 97.41 kB / 391 MB, free: 10.42 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006065/0.5289, allocations: 409.6 kB / 391.4 MB, free: 10.12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.037e-05/0.529, allocations: 15.47 kB / 391.4 MB, free: 10.12 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.605e-05/0.5291, allocations: 19.38 kB / 391.5 MB, free: 10.12 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007159/0.5298, allocations: 347 kB / 391.8 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.5298, allocations: 0 / 391.8 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.622e-05/0.5299, allocations: 15.11 kB / 391.8 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.5299, allocations: 0 / 391.8 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00044/0.5304, allocations: 191.6 kB / 392 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.5319, allocations: 0.9639 MB / 393 MB, free: 9.531 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005098/0.5325, allocations: 305.5 kB / 393.3 MB, free: 9.453 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004604/0.5329, allocations: 262.6 kB / 393.5 MB, free: 9.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.533, allocations: 6.453 kB / 393.5 MB, free: 9.43 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007826/0.5338, allocations: 0.5687 MB / 394.1 MB, free: 9.16 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 2.314e-06/0.5338, allocations: 0 / 394.1 MB, free: 9.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=30): time 0.001763/0.5355, allocations: 0.8897 MB / 395 MB, free: 8.883 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.631e-05/0.5357, allocations: 278.4 kB / 395.3 MB, free: 8.57 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002334/0.538, allocations: 1.27 MB / 396.5 MB, free: 8.199 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.502e-05/0.5381, allocations: 40.47 kB / 396.6 MB, free: 8.168 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.548e-05/0.5382, allocations: 181.2 kB / 396.8 MB, free: 8.008 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.5383, allocations: 73.75 kB / 396.8 MB, free: 7.969 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.655e-05/0.5384, allocations: 11.2 kB / 396.8 MB, free: 7.969 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.859e-05/0.5384, allocations: 328.8 kB / 397.2 MB, free: 7.652 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004337/0.5389, allocations: 196.9 kB / 397.3 MB, free: 7.652 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004455/0.5393, allocations: 234.8 kB / 397.6 MB, free: 7.625 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004394/0.5398, allocations: 355.4 kB / 397.9 MB, free: 7.426 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.5398, allocations: 0 / 397.9 MB, free: 7.426 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001522/0.5413, allocations: 0.8127 MB / 398.7 MB, free: 7.191 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001167/0.5415, allocations: 192.1 kB / 398.9 MB, free: 7.004 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.5415, allocations: 0 / 398.9 MB, free: 7.004 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.5415, allocations: 0 / 398.9 MB, free: 7.004 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.004e-05/0.5416, allocations: 7.312 kB / 398.9 MB, free: 7.004 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.5416, allocations: 0 / 398.9 MB, free: 7.004 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005402/0.5421, allocations: 38.16 kB / 399 MB, free: 7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.5423, allocations: 85.47 kB / 399.1 MB, free: 6.996 MB / 314.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.0002908/0.5426, allocations: 366.5 kB / 399.4 MB, free: 6.676 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/0.5427, allocations: 100.9 kB / 399.5 MB, free: 6.629 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004708/0.5432, allocations: 195.4 kB / 399.7 MB, free: 6.543 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.5432, allocations: 0 / 399.7 MB, free: 6.543 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.5432, allocations: 3.875 kB / 399.7 MB, free: 6.543 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.5432, allocations: 0 / 399.7 MB, free: 6.543 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002829/0.5461, allocations: 1.844 MB / 401.5 MB, free: 5.773 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.5461, allocations: 0 / 401.5 MB, free: 5.773 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.189e-05/0.5461, allocations: 7.594 kB / 401.6 MB, free: 5.773 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.5461, allocations: 0 / 401.6 MB, free: 5.773 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-05/0.5462, allocations: 26.97 kB / 401.6 MB, free: 5.773 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.5462, allocations: 3.984 kB / 401.6 MB, free: 5.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.5462, allocations: 3.875 kB / 401.6 MB, free: 5.77 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/0.5481, allocations: 1.27 MB / 402.9 MB, free: 5.207 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001294/0.5494, allocations: 0.5964 MB / 403.5 MB, free: 4.98 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002083/0.5496, allocations: 55.38 kB / 403.5 MB, free: 4.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006118/0.5503, allocations: 36.67 kB / 403.5 MB, free: 4.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002597/0.5505, allocations: 83.64 kB / 403.6 MB, free: 4.977 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001303/0.5507, allocations: 94.98 kB / 403.7 MB, free: 4.973 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001931/0.5526, allocations: 1.071 MB / 404.8 MB, free: 4.668 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5526, allocations: 0 / 404.8 MB, free: 4.668 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000632/0.5533, allocations: 108 kB / 404.9 MB, free: 4.668 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.002615/0.5559, allocations: 2.025 MB / 406.9 MB, free: 19.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001427/0.5574, allocations: 0.9827 MB / 407.9 MB, free: 19.05 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.5574, allocations: 0 / 407.9 MB, free: 19.05 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009555/0.5583, allocations: 0.7929 MB / 408.7 MB, free: 18.67 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001411/0.5598, allocations: 220.7 kB / 408.9 MB, free: 18.64 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00451/0.5643, allocations: 2.065 MB / 411 MB, free: 18.01 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001088/0.5654, allocations: 1.095 MB / 412.1 MB, free: 17.24 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.414e-05/0.5655, allocations: 56.95 kB / 412.1 MB, free: 17.23 MB / 330.7 MB Notification: Performance of SimCode: time 1.172e-06/0.5655, allocations: 4 kB / 412.1 MB, free: 17.23 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.524/3.09, allocations: 6.15 MB / 418.3 MB, free: 14.21 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Digital.Examples.VectorDelay_res.mat does not exist to compare? outputFormat=mat