Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_HoldWithDAeffects2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.372/2.372, allocations: 218.4 MB / 231.1 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.975e-05/4.985e-05, allocations: 4 kB / 284.4 MB, free: 8.109 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1465, allocations: 50.37 MB / 334.8 MB, free: 5.641 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4458/0.5924, allocations: 79.77 MB / 414.6 MB, free: 14.2 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003023/0.5928, allocations: 74.39 kB / 414.6 MB, free: 14.16 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01036/0.6031, allocations: 2.39 MB / 417 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6032, allocations: 0 / 417 MB, free: 12.11 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.177e-05/0.6032, allocations: 8 kB / 417 MB, free: 12.1 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.0006523/0.6039, allocations: 428.1 kB / 417.5 MB, free: 11.65 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.6039, allocations: 8.031 kB / 417.5 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.456e-05/0.604, allocations: 37.75 kB / 417.5 MB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.495e-05/0.6041, allocations: 15.81 kB / 417.5 MB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003972/0.6045, allocations: 237.2 kB / 417.8 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.6045, allocations: 15.64 kB / 417.8 MB, free: 11.31 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.6046, allocations: 7.625 kB / 417.8 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006036/0.6052, allocations: 260.2 kB / 418 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.6052, allocations: 0 / 418 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.6052, allocations: 2.688 kB / 418 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.567e-06/0.6053, allocations: 4 kB / 418 MB, free: 11.06 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.6054, allocations: 44.42 kB / 418.1 MB, free: 11.03 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007272/0.6062, allocations: 447 kB / 418.5 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004587/0.6066, allocations: 257.5 kB / 418.8 MB, free: 10.28 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/0.6069, allocations: 92.56 kB / 418.9 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.218e-05/0.6069, allocations: 7.938 kB / 418.9 MB, free: 10.19 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.062e-05/0.607, allocations: 45.61 kB / 418.9 MB, free: 10.14 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 2.384e-06/0.607, allocations: 0 / 418.9 MB, free: 10.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004501/0.6074, allocations: 137.1 kB / 419 MB, free: 10.02 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001467/0.6076, allocations: 195 kB / 419.2 MB, free: 9.797 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/0.6078, allocations: 161 kB / 419.4 MB, free: 9.652 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.477e-05/0.6079, allocations: 33.73 kB / 419.4 MB, free: 9.613 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.043e-05/0.608, allocations: 110.2 kB / 419.5 MB, free: 9.512 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.608, allocations: 14.95 kB / 419.5 MB, free: 9.5 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.037e-06/0.608, allocations: 3.188 kB / 419.6 MB, free: 9.5 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.6082, allocations: 325.5 kB / 419.9 MB, free: 9.18 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.528e-05/0.6083, allocations: 17.81 kB / 419.9 MB, free: 9.168 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.6085, allocations: 138.5 kB / 420 MB, free: 8.992 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.6086, allocations: 45.77 kB / 420.1 MB, free: 8.953 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.6086, allocations: 0 / 420.1 MB, free: 8.953 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003441/0.609, allocations: 144.1 kB / 420.2 MB, free: 8.824 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.609, allocations: 12.09 kB / 420.2 MB, free: 8.812 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/0.609, allocations: 7.953 kB / 420.2 MB, free: 8.805 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.6091, allocations: 4 kB / 420.2 MB, free: 8.801 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002582/0.6093, allocations: 39.92 kB / 420.3 MB, free: 8.762 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.013e-05/0.6094, allocations: 11.92 kB / 420.3 MB, free: 8.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001594/0.6095, allocations: 15.41 kB / 420.3 MB, free: 8.738 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.6096, allocations: 11.38 kB / 420.3 MB, free: 8.73 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001139/0.6097, allocations: 116.5 kB / 420.4 MB, free: 8.613 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003115/0.61, allocations: 135.5 kB / 420.6 MB, free: 8.496 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.927e-05/0.6101, allocations: 23.08 kB / 420.6 MB, free: 8.484 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.6101, allocations: 7.953 kB / 420.6 MB, free: 8.477 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.6102, allocations: 0 / 420.6 MB, free: 8.477 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.6102, allocations: 4 kB / 420.6 MB, free: 8.473 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004011/0.6106, allocations: 219.1 kB / 420.8 MB, free: 8.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.6106, allocations: 3.984 kB / 420.8 MB, free: 8.227 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000275/0.6109, allocations: 39.92 kB / 420.8 MB, free: 8.188 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.6109, allocations: 4.031 kB / 420.8 MB, free: 8.184 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.6109, allocations: 11.69 kB / 420.9 MB, free: 8.176 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.611, allocations: 3.984 kB / 420.9 MB, free: 8.172 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.611, allocations: 7.953 kB / 420.9 MB, free: 8.164 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000449/0.6114, allocations: 383 kB / 421.2 MB, free: 7.777 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.6116, allocations: 108.6 kB / 421.4 MB, free: 7.66 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.712e-05/0.6116, allocations: 4 kB / 421.4 MB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/0.6119, allocations: 15.73 kB / 421.4 MB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/0.6119, allocations: 8 kB / 421.4 MB, free: 7.637 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.612, allocations: 4 kB / 421.4 MB, free: 7.633 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001532/0.6121, allocations: 138.5 kB / 421.5 MB, free: 7.516 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.6121, allocations: 0 / 421.5 MB, free: 7.516 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000475/0.6126, allocations: 19.5 kB / 421.5 MB, free: 7.5 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 (18): * Single equations (assignments): 18 * 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.001036/0.6137, allocations: 1.238 MB / 422.8 MB, free: 6.27 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002916/0.614, allocations: 100.3 kB / 422.9 MB, free: 6.191 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.614, allocations: 0 / 422.9 MB, free: 6.191 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.647e-05/0.614, allocations: 7.938 kB / 422.9 MB, free: 6.184 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006878/0.6147, allocations: 92.19 kB / 423 MB, free: 6.117 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009461/0.6157, allocations: 273.9 kB / 423.2 MB, free: 5.836 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/0.6161, allocations: 0.728 MB / 424 MB, free: 5.082 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.915e-05/0.6162, allocations: 13.55 kB / 424 MB, free: 5.07 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.908e-05/0.6163, allocations: 41.23 kB / 424 MB, free: 5.051 MB / 346.7 MB Notification: Performance of SimCode: time 1.001e-06/0.6163, allocations: 4 kB / 424 MB, free: 5.047 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02707/0.6434, allocations: 3.071 MB / 427.1 MB, free: 2.043 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000329/0.6438, allocations: 191.2 kB / 427.3 MB, free: 1.812 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.463/3.107, allocations: 0 / 427.3 MB, free: 1.812 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat does not exist to compare? outputFormat=mat