Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.123/2.123, allocations: 225.8 MB / 238.8 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.272e-05/5.298e-05, allocations: 8 kB / 292.2 MB, free: 8.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1136, allocations: 50.41 MB / 342.7 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4573/0.571, allocations: 78.89 MB / 421.5 MB, free: 14.96 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004568/0.5715, allocations: 81.27 kB / 421.6 MB, free: 14.92 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03571/0.6073, allocations: 4.79 MB / 426.4 MB, free: 10.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.6073, allocations: 0 / 426.4 MB, free: 10.82 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.95e-05/0.6074, allocations: 7.984 kB / 426.4 MB, free: 10.82 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001026/0.6084, allocations: 445.9 kB / 426.9 MB, free: 10.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/0.6085, allocations: 11.97 kB / 426.9 MB, free: 10.33 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.645e-05/0.6086, allocations: 42.25 kB / 426.9 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.061e-05/0.6087, allocations: 19.72 kB / 426.9 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000607/0.6093, allocations: 230.6 kB / 427.1 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.249e-05/0.6094, allocations: 11.94 kB / 427.2 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.127e-05/0.6094, allocations: 11.81 kB / 427.2 MB, free: 10 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.6105, allocations: 293.1 kB / 427.5 MB, free: 9.754 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.6106, allocations: 0 / 427.5 MB, free: 9.754 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.069e-05/0.6106, allocations: 3.875 kB / 427.5 MB, free: 9.754 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.6106, allocations: 0 / 427.5 MB, free: 9.754 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002723/0.6109, allocations: 59.23 kB / 427.5 MB, free: 9.715 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007897/0.6117, allocations: 360.1 kB / 427.9 MB, free: 9.348 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006942/0.6125, allocations: 232.4 kB / 428.1 MB, free: 9.121 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003209/0.6128, allocations: 81.41 kB / 428.2 MB, free: 9.062 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001204/0.614, allocations: 0.5778 MB / 428.8 MB, free: 8.355 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.502e-05/0.6141, allocations: 37.72 kB / 428.8 MB, free: 8.312 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 3.697e-06/0.6141, allocations: 4 kB / 428.8 MB, free: 8.309 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006675/0.6148, allocations: 149.1 kB / 428.9 MB, free: 8.188 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/0.615, allocations: 114.7 kB / 429.1 MB, free: 8.055 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003486/0.6153, allocations: 172.2 kB / 429.2 MB, free: 7.902 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/0.6154, allocations: 29.33 kB / 429.3 MB, free: 7.871 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.491e-05/0.6155, allocations: 103 kB / 429.4 MB, free: 7.781 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.829e-05/0.6156, allocations: 19.34 kB / 429.4 MB, free: 7.766 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.909e-05/0.6156, allocations: 11.81 kB / 429.4 MB, free: 7.758 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.6158, allocations: 334 kB / 429.7 MB, free: 7.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.616, allocations: 38.86 kB / 429.7 MB, free: 7.402 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002879/0.6163, allocations: 151.7 kB / 429.9 MB, free: 7.211 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002238/0.6165, allocations: 58.38 kB / 430 MB, free: 7.168 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/0.6166, allocations: 8 kB / 430 MB, free: 7.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006897/0.6173, allocations: 189.2 kB / 430.1 MB, free: 6.996 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.6173, allocations: 8.094 kB / 430.2 MB, free: 6.988 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.6174, allocations: 4 kB / 430.2 MB, free: 6.984 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.045e-05/0.6174, allocations: 8 kB / 430.2 MB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004138/0.6179, allocations: 39.92 kB / 430.2 MB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.624e-05/0.6179, allocations: 11.94 kB / 430.2 MB, free: 6.926 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002763/0.6182, allocations: 19.14 kB / 430.2 MB, free: 6.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.443e-05/0.6183, allocations: 11.88 kB / 430.2 MB, free: 6.902 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 6 (sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[1],$CLKPRE.sample1.noise.seedState[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001802/0.6185, allocations: 128.8 kB / 430.4 MB, free: 6.773 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005118/0.619, allocations: 139.9 kB / 430.5 MB, free: 6.66 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006047/0.6196, allocations: 161.5 kB / 430.7 MB, free: 6.539 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.6197, allocations: 0 / 430.7 MB, free: 6.539 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.6197, allocations: 4 kB / 430.7 MB, free: 6.535 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.6197, allocations: 7.922 kB / 430.7 MB, free: 6.527 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004297/0.6202, allocations: 226.3 kB / 430.9 MB, free: 6.281 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.5e-05/0.6202, allocations: 7.922 kB / 430.9 MB, free: 6.273 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004243/0.6206, allocations: 35.98 kB / 430.9 MB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/0.6207, allocations: 4 kB / 430.9 MB, free: 6.234 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.927e-05/0.6207, allocations: 7.812 kB / 431 MB, free: 6.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.6207, allocations: 0 / 431 MB, free: 6.23 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.6208, allocations: 0 / 431 MB, free: 6.23 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006266/0.6214, allocations: 275.2 kB / 431.2 MB, free: 5.973 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002099/0.6216, allocations: 118.8 kB / 431.3 MB, free: 5.848 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.969e-05/0.6218, allocations: 19.81 kB / 431.4 MB, free: 5.832 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003431/0.6221, allocations: 8 kB / 431.4 MB, free: 5.824 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.744e-05/0.6222, allocations: 6.859 kB / 431.4 MB, free: 5.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-05/0.6222, allocations: 4 kB / 431.4 MB, free: 5.816 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00028/0.6225, allocations: 141.6 kB / 431.5 MB, free: 5.695 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.92e-07/0.6226, allocations: 0 / 431.5 MB, free: 5.695 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007407/0.6233, allocations: 34 kB / 431.5 MB, free: 5.668 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.00154/0.6249, allocations: 0.9496 MB / 432.5 MB, free: 4.754 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005676/0.6255, allocations: 119.3 kB / 432.6 MB, free: 4.664 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.6255, allocations: 0 / 432.6 MB, free: 4.664 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.251e-05/0.6256, allocations: 11.92 kB / 432.6 MB, free: 4.652 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.6267, allocations: 133.6 kB / 432.8 MB, free: 4.547 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.6282, allocations: 286.6 kB / 433 MB, free: 4.258 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005147/0.6288, allocations: 0.7441 MB / 433.8 MB, free: 3.488 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001573/0.629, allocations: 13.34 kB / 433.8 MB, free: 3.473 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.6292, allocations: 44.28 kB / 433.8 MB, free: 3.449 MB / 346.7 MB Notification: Performance of SimCode: time 1.894e-06/0.6292, allocations: 0 / 433.8 MB, free: 3.449 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03064/0.6598, allocations: 3.789 MB / 437.6 MB, free: 15.77 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000221/0.6601, allocations: 176.1 kB / 437.8 MB, free: 15.55 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.654/3.314, allocations: 0 / 437.8 MB, free: 15.55 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat does not exist to compare? outputFormat=mat