Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.VectorDelay,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Digital_Examples_VectorDelay",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.271/2.271, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.724e-05/2.723e-05, allocations: 4.734 kB / 249.8 MB, free: 5.23 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.122, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5043/0.6264, allocations: 75.85 MB / 370.1 MB, free: 7.258 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/0.6267, allocations: 67.69 kB / 370.2 MB, free: 7.258 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04676/0.6735, allocations: 13.26 MB / 383.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.6736, allocations: 0 / 383.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.564e-05/0.6736, allocations: 7.688 kB / 383.5 MB, free: 20.15 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.001309/0.6749, allocations: 1.021 MB / 384.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.675, allocations: 15.62 kB / 384.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002104/0.6752, allocations: 97 kB / 384.6 MB, free: 19.22 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007263/0.676, allocations: 409.5 kB / 385 MB, free: 18.91 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.3e-05/0.676, allocations: 14.94 kB / 385 MB, free: 18.91 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.008e-05/0.6761, allocations: 11.69 kB / 385 MB, free: 18.91 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00049/0.6766, allocations: 190.1 kB / 385.2 MB, free: 18.87 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007221/0.6774, allocations: 325.3 kB / 385.5 MB, free: 18.74 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.6774, allocations: 0 / 385.5 MB, free: 18.74 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.459e-05/0.6775, allocations: 3.875 kB / 385.5 MB, free: 18.74 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.6775, allocations: 3.844 kB / 385.5 MB, free: 18.74 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001827/0.6793, allocations: 0.9377 MB / 386.5 MB, free: 18.12 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005793/0.68, allocations: 285.9 kB / 386.8 MB, free: 18.02 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000487/0.6805, allocations: 253.5 kB / 387 MB, free: 17.97 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.6805, allocations: 3.938 kB / 387 MB, free: 17.97 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009226/0.6814, allocations: 0.6015 MB / 387.6 MB, free: 17.58 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 3.426e-06/0.6815, allocations: 0 / 387.6 MB, free: 17.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=30): time 0.001953/0.6834, allocations: 0.6778 MB / 388.3 MB, free: 17.42 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001624/0.6836, allocations: 280.5 kB / 388.6 MB, free: 17.1 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002748/0.6864, allocations: 1.227 MB / 389.8 MB, free: 16.57 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001672/0.6866, allocations: 35.45 kB / 389.8 MB, free: 16.54 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.6867, allocations: 127.8 kB / 389.9 MB, free: 16.44 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.6869, allocations: 69.16 kB / 390 MB, free: 16.4 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.914e-05/0.687, allocations: 5.125 kB / 390 MB, free: 16.4 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.6871, allocations: 336.3 kB / 390.3 MB, free: 16.08 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004695/0.6876, allocations: 192.8 kB / 390.5 MB, free: 16.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004719/0.6881, allocations: 216.9 kB / 390.7 MB, free: 16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003682/0.6885, allocations: 160.8 kB / 390.9 MB, free: 15.96 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.6885, allocations: 7.938 kB / 390.9 MB, free: 15.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001658/0.6902, allocations: 0.6141 MB / 391.5 MB, free: 15.83 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002197/0.6904, allocations: 192.6 kB / 391.7 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.6905, allocations: 0 / 391.7 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.6905, allocations: 3.875 kB / 391.7 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.346e-05/0.6905, allocations: 0 / 391.7 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.6905, allocations: 3.875 kB / 391.7 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006286/0.6912, allocations: 30.81 kB / 391.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/0.6914, allocations: 98.23 kB / 391.8 MB, free: 15.61 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.0004537/0.6918, allocations: 357.8 kB / 392.2 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002106/0.6939, allocations: 0.7617 MB / 393 MB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/0.6942, allocations: 97.22 kB / 393.1 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006757/0.6948, allocations: 192.4 kB / 393.2 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.984e-06/0.6949, allocations: 3.875 kB / 393.2 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.6949, allocations: 0 / 393.2 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.6949, allocations: 3.984 kB / 393.3 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003592/0.6985, allocations: 1.573 MB / 394.8 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.6986, allocations: 0 / 394.8 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.894e-05/0.6986, allocations: 0 / 394.8 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.749e-06/0.6986, allocations: 3.875 kB / 394.8 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.105e-05/0.6987, allocations: 26.98 kB / 394.9 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.6987, allocations: 3.938 kB / 394.9 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.6988, allocations: 0 / 394.9 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002237/0.701, allocations: 1.036 MB / 395.9 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001968/0.703, allocations: 0.5988 MB / 396.5 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003184/0.7034, allocations: 55.42 kB / 396.5 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007434/0.7042, allocations: 33.84 kB / 396.6 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003419/0.7045, allocations: 90.88 kB / 396.7 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001609/0.7047, allocations: 95.67 kB / 396.8 MB, free: 13.33 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002661/0.7074, allocations: 1.021 MB / 397.8 MB, free: 12.9 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.71e-07/0.7074, allocations: 0 / 397.8 MB, free: 12.9 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009968/0.7084, allocations: 102.4 kB / 397.9 MB, free: 12.9 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.002876/0.7113, allocations: 1.804 MB / 399.7 MB, free: 11.75 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001634/0.713, allocations: 0.9498 MB / 400.6 MB, free: 11.3 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.713, allocations: 0 / 400.6 MB, free: 11.3 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001126/0.7142, allocations: 0.7827 MB / 401.4 MB, free: 10.88 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001865/0.7161, allocations: 210.6 kB / 401.6 MB, free: 10.8 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005814/0.7219, allocations: 1.959 MB / 403.6 MB, free: 10 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001444/0.7234, allocations: 1.101 MB / 404.7 MB, free: 9.117 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002052/0.7237, allocations: 28.89 kB / 404.7 MB, free: 9.102 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.7238, allocations: 61.72 kB / 404.8 MB, free: 9.086 MB / 314.7 MB Notification: Performance of SimCode: time 1.212e-06/0.7238, allocations: 0 / 404.8 MB, free: 9.086 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1157/0.8395, allocations: 9.699 MB / 414.5 MB, free: 1.688 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004114/0.84, allocations: 139.9 kB / 414.6 MB, free: 1.496 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.245/4.085, allocations: 0 / 414.6 MB, free: 1.496 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Digital.Examples.VectorDelay_res.mat does not exist to compare? outputFormat=mat