Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.249/2.249, allocations: 218.4 MB / 231.1 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.848e-05/3.84e-05, allocations: 4 kB / 284.4 MB, free: 8.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1421, allocations: 50.37 MB / 334.8 MB, free: 5.621 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4922/0.6344, allocations: 79.74 MB / 414.5 MB, free: 14.58 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003663/0.6348, allocations: 74.14 kB / 414.6 MB, free: 14.54 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01249/0.6474, allocations: 2.325 MB / 416.9 MB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.6474, allocations: 0 / 416.9 MB, free: 12.54 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.653e-05/0.6475, allocations: 12 kB / 417 MB, free: 12.52 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.0008117/0.6483, allocations: 413.7 kB / 417.4 MB, free: 12.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.787e-05/0.6484, allocations: 12.03 kB / 417.4 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.128e-05/0.6485, allocations: 34.5 kB / 417.4 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.083e-05/0.6486, allocations: 19.75 kB / 417.4 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005394/0.6491, allocations: 242.7 kB / 417.7 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.6492, allocations: 12.14 kB / 417.7 MB, free: 11.74 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.544e-05/0.6492, allocations: 7.938 kB / 417.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008016/0.65, allocations: 254.9 kB / 417.9 MB, free: 11.51 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.6501, allocations: 0 / 417.9 MB, free: 11.51 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.558e-05/0.6501, allocations: 11.61 kB / 417.9 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.6501, allocations: 0 / 417.9 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002111/0.6504, allocations: 46.94 kB / 418 MB, free: 11.47 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009493/0.6513, allocations: 438.3 kB / 418.4 MB, free: 11.01 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006286/0.652, allocations: 259.2 kB / 418.7 MB, free: 10.72 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002789/0.6523, allocations: 96.16 kB / 418.8 MB, free: 10.64 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.95e-05/0.6524, allocations: 15.86 kB / 418.8 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.484e-05/0.6524, allocations: 42.31 kB / 418.8 MB, free: 10.57 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 3.657e-06/0.6524, allocations: 0 / 418.8 MB, free: 10.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.000601/0.6531, allocations: 134.8 kB / 419 MB, free: 10.46 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001713/0.6532, allocations: 195.2 kB / 419.1 MB, free: 10.23 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003114/0.6536, allocations: 156.4 kB / 419.3 MB, free: 10.09 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.104e-05/0.6536, allocations: 33.27 kB / 419.3 MB, free: 10.05 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.056e-05/0.6537, allocations: 98.55 kB / 419.4 MB, free: 9.965 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.068e-05/0.6538, allocations: 21.95 kB / 419.4 MB, free: 9.949 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.05e-05/0.6538, allocations: 0 / 419.4 MB, free: 9.949 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.654, allocations: 330.2 kB / 419.8 MB, free: 9.625 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.161e-05/0.6541, allocations: 15.31 kB / 419.8 MB, free: 9.613 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/0.6544, allocations: 121.2 kB / 419.9 MB, free: 9.453 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.6545, allocations: 41.83 kB / 419.9 MB, free: 9.422 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.6545, allocations: 4 kB / 419.9 MB, free: 9.418 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004773/0.655, allocations: 138.2 kB / 420.1 MB, free: 9.293 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/0.6551, allocations: 8 kB / 420.1 MB, free: 9.285 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.6551, allocations: 4.5 kB / 420.1 MB, free: 9.281 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.911e-05/0.6552, allocations: 8 kB / 420.1 MB, free: 9.273 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003176/0.6555, allocations: 35.92 kB / 420.1 MB, free: 9.238 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.44e-05/0.6555, allocations: 7.938 kB / 420.1 MB, free: 9.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000256/0.6558, allocations: 18.89 kB / 420.2 MB, free: 9.215 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/0.6558, allocations: 8 kB / 420.2 MB, free: 9.207 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.0001496/0.656, allocations: 122.5 kB / 420.3 MB, free: 9.086 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004302/0.6565, allocations: 125.7 kB / 420.4 MB, free: 8.977 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.024e-05/0.6566, allocations: 28.06 kB / 420.4 MB, free: 8.961 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.6566, allocations: 0 / 420.4 MB, free: 8.961 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/0.6566, allocations: 4 kB / 420.4 MB, free: 8.957 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.6566, allocations: 3.984 kB / 420.4 MB, free: 8.953 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005541/0.6572, allocations: 217.6 kB / 420.7 MB, free: 8.711 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.6572, allocations: 0 / 420.7 MB, free: 8.711 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003686/0.6576, allocations: 43.34 kB / 420.7 MB, free: 8.672 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.6576, allocations: 0 / 420.7 MB, free: 8.672 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.6577, allocations: 8 kB / 420.7 MB, free: 8.664 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.594e-06/0.6577, allocations: 7.938 kB / 420.7 MB, free: 8.656 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.009e-05/0.6577, allocations: 4 kB / 420.7 MB, free: 8.652 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005969/0.6583, allocations: 375.5 kB / 421.1 MB, free: 8.27 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001732/0.6585, allocations: 107.7 kB / 421.2 MB, free: 8.152 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.507e-05/0.6586, allocations: 15.44 kB / 421.2 MB, free: 8.141 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00037/0.659, allocations: 8 kB / 421.2 MB, free: 8.133 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.971e-05/0.6591, allocations: 7.984 kB / 421.2 MB, free: 8.125 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/0.6591, allocations: 11.56 kB / 421.2 MB, free: 8.117 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002164/0.6593, allocations: 134.9 kB / 421.4 MB, free: 8 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.6593, allocations: 0 / 421.4 MB, free: 8 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008257/0.6602, allocations: 26.41 kB / 421.4 MB, free: 7.98 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.001169/0.6614, allocations: 1.182 MB / 422.6 MB, free: 6.785 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003838/0.6618, allocations: 89.02 kB / 422.7 MB, free: 6.719 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.6618, allocations: 4.062 kB / 422.7 MB, free: 6.715 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.022e-05/0.6619, allocations: 8 kB / 422.7 MB, free: 6.707 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009531/0.6628, allocations: 80.89 kB / 422.8 MB, free: 6.648 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002706/0.6656, allocations: 375.5 kB / 423.1 MB, free: 6.266 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005005/0.6661, allocations: 0.728 MB / 423.8 MB, free: 5.512 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001383/0.6663, allocations: 21.27 kB / 423.9 MB, free: 5.492 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.6664, allocations: 39.17 kB / 423.9 MB, free: 5.473 MB / 346.7 MB Notification: Performance of SimCode: time 1.433e-06/0.6664, allocations: 0 / 423.9 MB, free: 5.473 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02957/0.696, allocations: 2.97 MB / 426.9 MB, free: 2.574 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003062/0.6964, allocations: 183.8 kB / 427.1 MB, free: 2.348 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.412/3.109, allocations: 0 / 427.1 MB, free: 2.348 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat does not exist to compare? outputFormat=mat