Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.397/2.397, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.205e-05/3.216e-05, allocations: 4 kB / 292.2 MB, free: 8.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1051, allocations: 50.41 MB / 342.7 MB, free: 5.777 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4521/0.5572, allocations: 78.74 MB / 421.4 MB, free: 15.13 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/0.5576, allocations: 78.52 kB / 421.5 MB, free: 15.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009924/0.5675, allocations: 2.401 MB / 423.9 MB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5676, allocations: 0 / 423.9 MB, free: 13.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.412e-05/0.5676, allocations: 8 kB / 423.9 MB, free: 13.01 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006565/0.5683, allocations: 419.9 kB / 424.3 MB, free: 12.56 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.5683, allocations: 12.03 kB / 424.3 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.358e-05/0.5684, allocations: 42.27 kB / 424.3 MB, free: 12.51 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.771e-05/0.5685, allocations: 19.81 kB / 424.4 MB, free: 12.49 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003975/0.5689, allocations: 230.9 kB / 424.6 MB, free: 12.23 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.5689, allocations: 7.375 kB / 424.6 MB, free: 12.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.1e-05/0.569, allocations: 11.44 kB / 424.6 MB, free: 12.22 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005816/0.5696, allocations: 257 kB / 424.9 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.5696, allocations: 0 / 424.9 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.959e-05/0.5696, allocations: 11.95 kB / 424.9 MB, free: 11.97 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.5697, allocations: 0 / 424.9 MB, free: 11.97 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001507/0.5698, allocations: 47.75 kB / 424.9 MB, free: 11.94 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007077/0.5705, allocations: 427.9 kB / 425.3 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004841/0.571, allocations: 255.5 kB / 425.6 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002217/0.5713, allocations: 100.1 kB / 425.7 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.697e-05/0.5713, allocations: 18.98 kB / 425.7 MB, free: 11.11 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.514e-05/0.5714, allocations: 38.5 kB / 425.7 MB, free: 11.06 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 2.214e-06/0.5714, allocations: 0 / 425.7 MB, free: 11.06 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004528/0.5719, allocations: 138.9 kB / 425.9 MB, free: 10.94 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001518/0.572, allocations: 187.6 kB / 426.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.5723, allocations: 161.9 kB / 426.2 MB, free: 10.57 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.5723, allocations: 28.14 kB / 426.2 MB, free: 10.54 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.409e-05/0.5724, allocations: 99.75 kB / 426.3 MB, free: 10.45 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.5725, allocations: 19.08 kB / 426.4 MB, free: 10.44 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.806e-06/0.5725, allocations: 7.406 kB / 426.4 MB, free: 10.43 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.5727, allocations: 322.3 kB / 426.7 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.511e-05/0.5727, allocations: 22.56 kB / 426.7 MB, free: 10.1 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.5729, allocations: 124.5 kB / 426.8 MB, free: 9.938 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.573, allocations: 34.64 kB / 426.9 MB, free: 9.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.5731, allocations: 4 kB / 426.9 MB, free: 9.906 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003353/0.5734, allocations: 146.5 kB / 427 MB, free: 9.773 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.5734, allocations: 7.953 kB / 427 MB, free: 9.766 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.5735, allocations: 4 kB / 427 MB, free: 9.762 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.5735, allocations: 4 kB / 427 MB, free: 9.758 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.5737, allocations: 36.42 kB / 427.1 MB, free: 9.723 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.5738, allocations: 8 kB / 427.1 MB, free: 9.715 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.5739, allocations: 14.92 kB / 427.1 MB, free: 9.703 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.574, allocations: 8 kB / 427.1 MB, free: 9.695 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001125/0.5741, allocations: 123.5 kB / 427.2 MB, free: 9.574 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003019/0.5744, allocations: 113.7 kB / 427.3 MB, free: 9.477 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.678e-05/0.5745, allocations: 27.16 kB / 427.3 MB, free: 9.465 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.5745, allocations: 7.938 kB / 427.3 MB, free: 9.457 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.5745, allocations: 4.031 kB / 427.4 MB, free: 9.453 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.5745, allocations: 192 / 427.4 MB, free: 9.453 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003844/0.5749, allocations: 218.3 kB / 427.6 MB, free: 9.211 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.5749, allocations: 3.938 kB / 427.6 MB, free: 9.207 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002678/0.5752, allocations: 39.97 kB / 427.6 MB, free: 9.168 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/0.5752, allocations: 4 kB / 427.6 MB, free: 9.164 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.5753, allocations: 3.375 kB / 427.6 MB, free: 9.164 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-06/0.5753, allocations: 7.953 kB / 427.6 MB, free: 9.156 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.148e-05/0.5753, allocations: 7.984 kB / 427.6 MB, free: 9.148 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004889/0.5758, allocations: 390.1 kB / 428 MB, free: 8.754 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.5759, allocations: 112 kB / 428.1 MB, free: 8.633 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.281e-05/0.576, allocations: 4 kB / 428.1 MB, free: 8.629 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002507/0.5762, allocations: 19.42 kB / 428.1 MB, free: 8.613 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.5763, allocations: 0 / 428.1 MB, free: 8.613 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.5763, allocations: 7.25 kB / 428.2 MB, free: 8.609 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001559/0.5765, allocations: 136.3 kB / 428.3 MB, free: 8.492 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.5765, allocations: 0 / 428.3 MB, free: 8.492 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004523/0.577, allocations: 23.31 kB / 428.3 MB, free: 8.473 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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 Backend phase and start with SimCode phase: time 0.0008744/0.5779, allocations: 1.192 MB / 429.5 MB, free: 7.262 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002827/0.5782, allocations: 85.61 kB / 429.6 MB, free: 7.195 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.5782, allocations: 1 kB / 429.6 MB, free: 7.195 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.702e-05/0.5782, allocations: 7.938 kB / 429.6 MB, free: 7.191 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006512/0.5789, allocations: 92.62 kB / 429.7 MB, free: 7.125 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.5808, allocations: 364.7 kB / 430 MB, free: 6.75 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/0.5812, allocations: 0.728 MB / 430.8 MB, free: 5.996 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.262e-05/0.5813, allocations: 13.33 kB / 430.8 MB, free: 5.984 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.132e-05/0.5814, allocations: 45.05 kB / 430.8 MB, free: 5.961 MB / 346.7 MB Notification: Performance of SimCode: time 1.333e-06/0.5814, allocations: 0 / 430.8 MB, free: 5.961 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02554/0.607, allocations: 2.953 MB / 433.8 MB, free: 3.113 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003388/0.6074, allocations: 174.6 kB / 433.9 MB, free: 2.887 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.417/3.025, allocations: 4 kB / 433.9 MB, free: 2.883 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat does not exist to compare? outputFormat=mat