Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.142/2.142, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.174e-05/4.19e-05, allocations: 4 kB / 284.4 MB, free: 8.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1153, allocations: 50.36 MB / 334.8 MB, free: 6.125 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4553/0.5707, allocations: 78.71 MB / 413.5 MB, free: 15.21 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/0.571, allocations: 72.77 kB / 413.6 MB, free: 15.17 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006374/0.5774, allocations: 1.543 MB / 415.1 MB, free: 13.83 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5775, allocations: 0 / 415.1 MB, free: 13.83 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.61e-05/0.5775, allocations: 4 kB / 415.1 MB, free: 13.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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004935/0.578, allocations: 368.8 kB / 415.5 MB, free: 13.43 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.5781, allocations: 8.031 kB / 415.5 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.15e-05/0.5781, allocations: 41.62 kB / 415.5 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.754e-05/0.5782, allocations: 7.906 kB / 415.5 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.5785, allocations: 198.5 kB / 415.7 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.5785, allocations: 6.828 kB / 415.7 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.5785, allocations: 7.984 kB / 415.7 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003246/0.5788, allocations: 119 kB / 415.8 MB, free: 12.99 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.5789, allocations: 0 / 415.8 MB, free: 12.99 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.5789, allocations: 6.875 kB / 415.8 MB, free: 12.99 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.5789, allocations: 0 / 415.8 MB, free: 12.99 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.145e-05/0.579, allocations: 18.69 kB / 415.9 MB, free: 12.97 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005577/0.5796, allocations: 375.6 kB / 416.2 MB, free: 12.56 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.5797, allocations: 82.44 kB / 416.3 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.816e-05/0.5798, allocations: 38 kB / 416.3 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.525e-05/0.5799, allocations: 11.98 kB / 416.4 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.5799, allocations: 38.11 kB / 416.4 MB, free: 12.36 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.903e-06/0.5799, allocations: 0 / 416.4 MB, free: 12.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.000264/0.5802, allocations: 72.72 kB / 416.5 MB, free: 12.29 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.566e-05/0.5803, allocations: 136.6 kB / 416.6 MB, free: 12.12 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.5805, allocations: 128.4 kB / 416.7 MB, free: 12 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.5805, allocations: 33.64 kB / 416.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.721e-05/0.5806, allocations: 154.6 kB / 416.9 MB, free: 11.82 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.5806, allocations: 11.64 kB / 416.9 MB, free: 11.81 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/0.5806, allocations: 3.938 kB / 416.9 MB, free: 11.8 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.5808, allocations: 318.8 kB / 417.2 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.279e-05/0.5808, allocations: 7.875 kB / 417.2 MB, free: 11.48 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.074e-05/0.5809, allocations: 40.17 kB / 417.3 MB, free: 11.43 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.157e-05/0.581, allocations: 19.86 kB / 417.3 MB, free: 11.41 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.581, allocations: 0 / 417.3 MB, free: 11.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001608/0.5812, allocations: 65.28 kB / 417.4 MB, free: 11.35 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.5812, allocations: 8 kB / 417.4 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.5812, allocations: 0 / 417.4 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.5812, allocations: 4 kB / 417.4 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.5814, allocations: 12.11 kB / 417.4 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.308e-05/0.5814, allocations: 4 kB / 417.4 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.18e-05/0.5815, allocations: 11.62 kB / 417.4 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.5816, allocations: 0 / 417.4 MB, free: 11.31 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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 9.459e-05/0.5817, allocations: 124.8 kB / 417.5 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.5818, allocations: 57.09 kB / 417.6 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.075e-05/0.5819, allocations: 10.91 kB / 417.6 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.5819, allocations: 4 kB / 417.6 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.5819, allocations: 3.984 kB / 417.6 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.5819, allocations: 0 / 417.6 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003199/0.5823, allocations: 172.9 kB / 417.8 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.5823, allocations: 4 kB / 417.8 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.5824, allocations: 23.23 kB / 417.8 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-05/0.5824, allocations: 4 kB / 417.8 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.5824, allocations: 0 / 417.8 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.171e-06/0.5825, allocations: 4 kB / 417.8 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5825, allocations: 0 / 417.8 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.5828, allocations: 294 kB / 418.1 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.652e-05/0.5829, allocations: 96.56 kB / 418.2 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.5829, allocations: 0 / 418.2 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.5831, allocations: 7.938 kB / 418.2 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.5831, allocations: 7.984 kB / 418.2 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.5832, allocations: 3.953 kB / 418.2 MB, free: 10.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001189/0.5833, allocations: 118 kB / 418.3 MB, free: 10.32 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5833, allocations: 0 / 418.3 MB, free: 10.32 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005297/0.5838, allocations: 8 kB / 418.3 MB, free: 10.32 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.001068/0.5849, allocations: 1.031 MB / 419.4 MB, free: 9.262 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002213/0.5852, allocations: 27.44 kB / 419.4 MB, free: 9.242 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.5852, allocations: 0 / 419.4 MB, free: 9.242 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.942e-05/0.5853, allocations: 7.938 kB / 419.4 MB, free: 9.234 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007372/0.586, allocations: 32.38 kB / 419.4 MB, free: 9.211 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.5872, allocations: 196.9 kB / 419.6 MB, free: 8.977 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004876/0.5877, allocations: 0.7004 MB / 420.3 MB, free: 8.25 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.284e-05/0.5878, allocations: 18.44 kB / 420.3 MB, free: 8.238 MB / 346.7 MB Notification: Performance of SimCode: time 1.773e-06/0.5878, allocations: 0 / 420.3 MB, free: 8.238 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.515/3.103, allocations: 1.261 MB / 421.6 MB, free: 6.992 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold_res.mat does not exist to compare? outputFormat=mat