Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.307/2.307, allocations: 218.4 MB / 231.5 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.001e-05/4.011e-05, allocations: 4 kB / 284.4 MB, free: 8.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1086, allocations: 50.37 MB / 334.8 MB, free: 6.117 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4266/0.5352, allocations: 78.08 MB / 412.9 MB, free: 15.79 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/0.5356, allocations: 70.52 kB / 412.9 MB, free: 15.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004171/0.5398, allocations: 1.123 MB / 414 MB, free: 14.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5398, allocations: 0 / 414 MB, free: 14.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.5398, allocations: 4 kB / 414 MB, free: 14.75 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004828/0.5403, allocations: 359.5 kB / 414.4 MB, free: 14.36 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.5404, allocations: 11.97 kB / 414.4 MB, free: 14.35 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.641e-05/0.5405, allocations: 34.56 kB / 414.4 MB, free: 14.31 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.5405, allocations: 7.906 kB / 414.5 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.5407, allocations: 190.5 kB / 414.6 MB, free: 14.08 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.5408, allocations: 3.953 kB / 414.6 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.5408, allocations: 7.812 kB / 414.7 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002853/0.5411, allocations: 104.2 kB / 414.8 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.5411, allocations: 7.984 kB / 414.8 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.5412, allocations: 0 / 414.8 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.5412, allocations: 0 / 414.8 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.291e-05/0.5412, allocations: 11.88 kB / 414.8 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004123/0.5417, allocations: 269.6 kB / 415 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/0.5419, allocations: 134.5 kB / 415.2 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.931e-05/0.542, allocations: 25.47 kB / 415.2 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.542, allocations: 0 / 415.2 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.542, allocations: 34.56 kB / 415.2 MB, free: 13.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.823e-06/0.542, allocations: 0 / 415.2 MB, free: 13.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001911/0.5422, allocations: 61.12 kB / 415.3 MB, free: 13.35 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.906e-05/0.5423, allocations: 77.11 kB / 415.4 MB, free: 13.26 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.5425, allocations: 121 kB / 415.5 MB, free: 13.14 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.5425, allocations: 33.55 kB / 415.5 MB, free: 13.1 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.027e-05/0.5426, allocations: 150.6 kB / 415.7 MB, free: 12.95 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.5426, allocations: 7.906 kB / 415.7 MB, free: 12.95 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/0.5426, allocations: 3.688 kB / 415.7 MB, free: 12.95 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.5428, allocations: 314.8 kB / 416 MB, free: 12.63 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.984e-05/0.5428, allocations: 4 kB / 416 MB, free: 12.62 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.457e-05/0.5428, allocations: 27.38 kB / 416 MB, free: 12.59 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.32e-05/0.5429, allocations: 15.92 kB / 416 MB, free: 12.57 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5429, allocations: 0 / 416 MB, free: 12.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001098/0.543, allocations: 49.45 kB / 416.1 MB, free: 12.52 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.5431, allocations: 4 kB / 416.1 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.5431, allocations: 3.984 kB / 416.1 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.5431, allocations: 8.125 kB / 416.1 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.61e-05/0.5432, allocations: 8 kB / 416.1 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.5432, allocations: 0 / 416.1 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.533e-05/0.5433, allocations: 7.938 kB / 416.1 MB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.5433, allocations: 4 kB / 416.1 MB, free: 12.49 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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 7.825e-05/0.5434, allocations: 117.7 kB / 416.2 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.772e-05/0.5435, allocations: 53.28 kB / 416.3 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.151e-05/0.5436, allocations: 8.031 kB / 416.3 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.5436, allocations: 7.984 kB / 416.3 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.5436, allocations: 0 / 416.3 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.5436, allocations: 0 / 416.3 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002224/0.5439, allocations: 173.4 kB / 416.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.5439, allocations: 0 / 416.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.304e-05/0.544, allocations: 12 kB / 416.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.544, allocations: 0 / 416.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.966e-06/0.544, allocations: 3.875 kB / 416.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.544, allocations: 0 / 416.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.544, allocations: 4 kB / 416.5 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.5442, allocations: 173.8 kB / 416.6 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.296e-05/0.5443, allocations: 92.94 kB / 416.7 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.5443, allocations: 7.75 kB / 416.7 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.473e-05/0.5444, allocations: 7.984 kB / 416.8 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/0.5445, allocations: 0 / 416.8 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.5445, allocations: 4 kB / 416.8 MB, free: 11.76 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.049e-05/0.5446, allocations: 107 kB / 416.9 MB, free: 11.66 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5446, allocations: 0 / 416.9 MB, free: 11.66 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003137/0.5449, allocations: 4 kB / 416.9 MB, free: 11.66 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0004873/0.5454, allocations: 0.7676 MB / 417.6 MB, free: 10.87 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001013/0.5455, allocations: 19.81 kB / 417.7 MB, free: 10.86 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5456, allocations: 0 / 417.7 MB, free: 10.86 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.063e-05/0.5456, allocations: 4 kB / 417.7 MB, free: 10.85 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.5459, allocations: 19.95 kB / 417.7 MB, free: 10.84 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004781/0.5464, allocations: 153.6 kB / 417.8 MB, free: 10.65 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.5467, allocations: 0.7044 MB / 418.5 MB, free: 9.922 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.493e-05/0.5468, allocations: 11.38 kB / 418.5 MB, free: 9.918 MB / 346.7 MB Notification: Performance of SimCode: time 1.203e-06/0.5468, allocations: 0 / 418.5 MB, free: 9.918 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.351/2.898, allocations: 0.9574 MB / 419.5 MB, free: 8.969 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2_res.mat does not exist to compare? outputFormat=mat