Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.048/2.048, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.124e-05/4.131e-05, allocations: 4 kB / 292.8 MB, free: 8.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1115, allocations: 50.41 MB / 343.2 MB, free: 5.832 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4574/0.569, allocations: 78.88 MB / 422 MB, free: 15.35 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/0.5693, allocations: 82.39 kB / 422.1 MB, free: 15.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02263/0.5919, allocations: 4.782 MB / 426.9 MB, free: 11.21 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.592, allocations: 0 / 426.9 MB, free: 11.21 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.206e-05/0.592, allocations: 7.125 kB / 426.9 MB, free: 11.21 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.0008307/0.5929, allocations: 447.2 kB / 427.3 MB, free: 10.73 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.5929, allocations: 8.031 kB / 427.4 MB, free: 10.72 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.395e-05/0.593, allocations: 45.73 kB / 427.4 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.795e-05/0.5931, allocations: 19.72 kB / 427.4 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000442/0.5935, allocations: 232.3 kB / 427.6 MB, free: 10.4 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.5936, allocations: 7.438 kB / 427.6 MB, free: 10.4 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.371e-05/0.5936, allocations: 7.438 kB / 427.7 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007297/0.5944, allocations: 301.3 kB / 428 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.5944, allocations: 0 / 428 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.353e-05/0.5944, allocations: 4 kB / 428 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.5945, allocations: 0 / 428 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002145/0.5947, allocations: 57.86 kB / 428 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006522/0.5954, allocations: 355.1 kB / 428.4 MB, free: 9.742 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004878/0.5959, allocations: 233.1 kB / 428.6 MB, free: 9.516 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.5961, allocations: 85.33 kB / 428.7 MB, free: 9.453 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008661/0.597, allocations: 0.5818 MB / 429.3 MB, free: 8.742 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.597, allocations: 38 kB / 429.3 MB, free: 8.699 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 3.346e-06/0.597, allocations: 0 / 429.3 MB, free: 8.699 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004991/0.5975, allocations: 147.2 kB / 429.4 MB, free: 8.578 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.5977, allocations: 116.7 kB / 429.5 MB, free: 8.445 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002738/0.598, allocations: 177.8 kB / 429.7 MB, free: 8.289 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.598, allocations: 25.7 kB / 429.7 MB, free: 8.258 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.643e-05/0.5981, allocations: 97.95 kB / 429.8 MB, free: 8.172 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.805e-05/0.5982, allocations: 23.03 kB / 429.9 MB, free: 8.156 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.648e-06/0.5982, allocations: 8.031 kB / 429.9 MB, free: 8.148 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.5983, allocations: 336.6 kB / 430.2 MB, free: 7.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.119e-05/0.5984, allocations: 27.62 kB / 430.2 MB, free: 7.801 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002556/0.5987, allocations: 161.3 kB / 430.4 MB, free: 7.602 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.5989, allocations: 62 kB / 430.4 MB, free: 7.555 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/0.5989, allocations: 4 kB / 430.4 MB, free: 7.551 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004499/0.5994, allocations: 189.4 kB / 430.6 MB, free: 7.387 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.5994, allocations: 4 kB / 430.6 MB, free: 7.383 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.5994, allocations: 4 kB / 430.6 MB, free: 7.379 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.586e-05/0.5995, allocations: 8 kB / 430.6 MB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002979/0.5998, allocations: 46.97 kB / 430.7 MB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.045e-05/0.5998, allocations: 11.94 kB / 430.7 MB, free: 7.316 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001883/0.6, allocations: 14.91 kB / 430.7 MB, free: 7.305 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.6, allocations: 8 kB / 430.7 MB, free: 7.297 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.0001733/0.6002, allocations: 139.3 kB / 430.9 MB, free: 7.164 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003767/0.6006, allocations: 142.3 kB / 431 MB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004441/0.6011, allocations: 166.9 kB / 431.2 MB, free: 6.922 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.6011, allocations: 4 kB / 431.2 MB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.6011, allocations: 3.984 kB / 431.2 MB, free: 6.914 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.6011, allocations: 0 / 431.2 MB, free: 6.914 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000306/0.6014, allocations: 229.8 kB / 431.4 MB, free: 6.664 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/0.6015, allocations: 0 / 431.4 MB, free: 6.664 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002826/0.6017, allocations: 35.98 kB / 431.4 MB, free: 6.629 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.256e-05/0.6018, allocations: 3.984 kB / 431.4 MB, free: 6.625 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.6018, allocations: 7 kB / 431.4 MB, free: 6.621 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.6018, allocations: 0 / 431.4 MB, free: 6.621 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.6018, allocations: 0 / 431.4 MB, free: 6.621 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004448/0.6023, allocations: 281 kB / 431.7 MB, free: 6.359 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/0.6025, allocations: 119.2 kB / 431.8 MB, free: 6.234 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.169e-05/0.6025, allocations: 15.58 kB / 431.9 MB, free: 6.223 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/0.6028, allocations: 11.98 kB / 431.9 MB, free: 6.211 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.6029, allocations: 0 / 431.9 MB, free: 6.211 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.778e-05/0.6029, allocations: 4 kB / 431.9 MB, free: 6.207 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001891/0.6031, allocations: 143.7 kB / 432 MB, free: 6.086 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-07/0.6031, allocations: 0 / 432 MB, free: 6.086 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004869/0.6036, allocations: 39.12 kB / 432 MB, free: 6.055 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.00112/0.6047, allocations: 0.9452 MB / 433 MB, free: 5.141 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003745/0.6051, allocations: 124.6 kB / 433.1 MB, free: 5.047 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.6051, allocations: 0 / 433.1 MB, free: 5.047 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.719e-05/0.6052, allocations: 7.938 kB / 433.1 MB, free: 5.039 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006744/0.6059, allocations: 125 kB / 433.2 MB, free: 4.938 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.607, allocations: 294.1 kB / 433.5 MB, free: 4.645 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/0.6074, allocations: 0.7399 MB / 434.3 MB, free: 3.879 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.6075, allocations: 17.33 kB / 434.3 MB, free: 3.859 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.6076, allocations: 42.98 kB / 434.3 MB, free: 3.84 MB / 346.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6076, allocations: 0 / 434.3 MB, free: 3.84 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02675/0.6344, allocations: 3.79 MB / 438.1 MB, free: 164 kB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003572/0.6348, allocations: 175.6 kB / 438.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.396/3.031, allocations: 0 / 438.3 MB, free: 15.93 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat does not exist to compare? outputFormat=mat