Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.VectorDelay,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_VectorDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.064/2.064, allocations: 225.8 MB / 239.3 MB, free: 1.246 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.139e-05/3.153e-05, allocations: 4 kB / 292.7 MB, free: 11.38 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.107, allocations: 50.42 MB / 343.2 MB, free: 8.969 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4358/0.5429, allocations: 81.63 MB / 424.8 MB, free: 7.906 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/0.5431, allocations: 75.66 kB / 424.9 MB, free: 7.898 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0421/0.5853, allocations: 13.49 MB / 438.3 MB, free: 3.586 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.5853, allocations: 3.938 kB / 438.3 MB, free: 3.582 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.142e-05/0.5853, allocations: 15.53 kB / 438.4 MB, free: 3.578 MB / 330.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.00126/0.5866, allocations: 1.026 MB / 439.4 MB, free: 2.695 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.5867, allocations: 11.53 kB / 439.4 MB, free: 2.695 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001077/0.5868, allocations: 45.89 kB / 439.4 MB, free: 2.652 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/0.587, allocations: 93.16 kB / 439.5 MB, free: 2.605 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006848/0.5877, allocations: 421.3 kB / 439.9 MB, free: 2.289 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.229e-05/0.5878, allocations: 14.94 kB / 440 MB, free: 2.289 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.5879, allocations: 18.59 kB / 440 MB, free: 2.285 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007474/0.5887, allocations: 340 kB / 440.3 MB, free: 2.148 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.5887, allocations: 0 / 440.3 MB, free: 2.148 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.766e-05/0.5888, allocations: 14.47 kB / 440.3 MB, free: 2.145 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.5888, allocations: 3.844 kB / 440.3 MB, free: 2.145 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004876/0.5893, allocations: 194.1 kB / 440.5 MB, free: 2.113 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/0.591, allocations: 0.971 MB / 441.5 MB, free: 1.465 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005582/0.5916, allocations: 301.9 kB / 441.8 MB, free: 1.359 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004789/0.5921, allocations: 259 kB / 442 MB, free: 1.305 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.5921, allocations: 3.844 kB / 442 MB, free: 1.305 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008946/0.593, allocations: 0.5778 MB / 442.6 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of pre-optimization done (n=30): time 2.685e-06/0.5931, allocations: 0 / 442.6 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of matching and sorting (n=30): time 0.001856/0.5949, allocations: 0.8817 MB / 443.5 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.595, allocations: 279.3 kB / 443.8 MB, free: 248 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002646/0.5977, allocations: 1.272 MB / 445 MB, free: 15.71 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001282/0.5979, allocations: 44.28 kB / 445.1 MB, free: 15.67 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.598, allocations: 121.5 kB / 445.2 MB, free: 15.58 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.5981, allocations: 69.17 kB / 445.3 MB, free: 15.54 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.634e-05/0.5982, allocations: 7.438 kB / 445.3 MB, free: 15.54 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.5983, allocations: 333.6 kB / 445.6 MB, free: 15.22 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004455/0.5988, allocations: 207.2 kB / 445.8 MB, free: 15.19 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004555/0.5993, allocations: 226.6 kB / 446 MB, free: 15.13 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004945/0.5998, allocations: 359.3 kB / 446.4 MB, free: 14.9 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.5998, allocations: 0 / 446.4 MB, free: 14.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00165/0.6014, allocations: 0.8198 MB / 447.2 MB, free: 14.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001585/0.6016, allocations: 192.2 kB / 447.4 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.6016, allocations: 7.828 kB / 447.4 MB, free: 14.37 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.6017, allocations: 3.938 kB / 447.4 MB, free: 14.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.153e-05/0.6017, allocations: 0 / 447.4 MB, free: 14.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.436e-05/0.6017, allocations: 11.8 kB / 447.4 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005863/0.6023, allocations: 38.19 kB / 447.4 MB, free: 14.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/0.6025, allocations: 91.02 kB / 447.5 MB, free: 14.34 MB / 346.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.0003916/0.6029, allocations: 355.2 kB / 447.9 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/0.6031, allocations: 96.88 kB / 448 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000571/0.6036, allocations: 193.6 kB / 448.2 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.6037, allocations: 3.844 kB / 448.2 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.6037, allocations: 0 / 448.2 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.6037, allocations: 3.953 kB / 448.2 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003324/0.607, allocations: 1.831 MB / 450 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.6071, allocations: 7.844 kB / 450 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.599e-05/0.6071, allocations: 0 / 450 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.6071, allocations: 0 / 450 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-05/0.6072, allocations: 31.14 kB / 450 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.798e-06/0.6072, allocations: 7.938 kB / 450.1 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.6072, allocations: 0 / 450.1 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002115/0.6094, allocations: 1.273 MB / 451.3 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001649/0.6111, allocations: 0.5958 MB / 451.9 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002301/0.6113, allocations: 54.89 kB / 452 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000681/0.612, allocations: 34.16 kB / 452 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002896/0.6123, allocations: 77.55 kB / 452.1 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001386/0.6125, allocations: 98.14 kB / 452.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00233/0.6148, allocations: 1.076 MB / 453.3 MB, free: 11.38 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.172e-06/0.6149, allocations: 0 / 453.3 MB, free: 11.38 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008384/0.6157, allocations: 107.9 kB / 453.4 MB, free: 11.38 MB / 346.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.002742/0.6185, allocations: 2.024 MB / 455.4 MB, free: 9.789 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001648/0.6202, allocations: 0.9715 MB / 456.4 MB, free: 9.016 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.6202, allocations: 4 kB / 456.4 MB, free: 9.012 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001081/0.6213, allocations: 0.7982 MB / 457.2 MB, free: 8.375 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001627/0.6229, allocations: 206.8 kB / 457.4 MB, free: 8.211 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005467/0.6284, allocations: 1.992 MB / 459.4 MB, free: 6.355 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001272/0.6298, allocations: 1.101 MB / 460.5 MB, free: 5.262 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001912/0.63, allocations: 29.17 kB / 460.5 MB, free: 5.234 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.6301, allocations: 50.23 kB / 460.5 MB, free: 5.219 MB / 346.7 MB Notification: Performance of SimCode: time 1.263e-06/0.6301, allocations: 4 kB / 460.5 MB, free: 5.215 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04749/0.6776, allocations: 10.41 MB / 470.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002742/0.678, allocations: 157.3 kB / 471.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.708/3.386, allocations: 3.938 kB / 471.1 MB, free: 10.73 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay_res.mat does not exist to compare? outputFormat=mat