Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.165/2.165, allocations: 218.4 MB / 231.5 MB, free: 12.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.192e-05/4.199e-05, allocations: 4 kB / 284.4 MB, free: 8.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1098, allocations: 50.36 MB / 334.8 MB, free: 6.129 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4443/0.5542, allocations: 78.41 MB / 413.2 MB, free: 15.48 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/0.5546, allocations: 82.44 kB / 413.3 MB, free: 15.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005677/0.5603, allocations: 1.382 MB / 414.6 MB, free: 14.21 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.5603, allocations: 0 / 414.6 MB, free: 14.21 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.5603, allocations: 0 / 414.6 MB, free: 14.21 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005428/0.5609, allocations: 366.1 kB / 415 MB, free: 13.81 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/0.561, allocations: 12.03 kB / 415 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.808e-05/0.561, allocations: 41.44 kB / 415 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.115e-05/0.5611, allocations: 7.906 kB / 415.1 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.5614, allocations: 202.6 kB / 415.3 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.5614, allocations: 7.953 kB / 415.3 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.5614, allocations: 7.125 kB / 415.3 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004209/0.5619, allocations: 153.8 kB / 415.4 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.5619, allocations: 0 / 415.4 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.222e-05/0.5619, allocations: 0 / 415.4 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.562, allocations: 0 / 415.4 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.624e-05/0.5621, allocations: 24.88 kB / 415.4 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006468/0.5627, allocations: 379.9 kB / 415.8 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002983/0.563, allocations: 105 kB / 415.9 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.5632, allocations: 55.27 kB / 416 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.5632, allocations: 0 / 416 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.5633, allocations: 34.56 kB / 416 MB, free: 12.73 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.934e-06/0.5633, allocations: 0 / 416 MB, free: 12.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003135/0.5636, allocations: 90.53 kB / 416.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.587e-05/0.5637, allocations: 113.9 kB / 416.2 MB, free: 12.51 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.5639, allocations: 125.6 kB / 416.3 MB, free: 12.39 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/0.5639, allocations: 29.7 kB / 416.4 MB, free: 12.36 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.405e-05/0.564, allocations: 154.1 kB / 416.5 MB, free: 12.21 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.5641, allocations: 14.52 kB / 416.5 MB, free: 12.2 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.245e-06/0.5641, allocations: 7.312 kB / 416.5 MB, free: 12.19 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.5643, allocations: 322.7 kB / 416.8 MB, free: 11.87 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.101e-05/0.5643, allocations: 11.12 kB / 416.9 MB, free: 11.86 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.601e-05/0.5644, allocations: 62.17 kB / 416.9 MB, free: 11.78 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.119e-05/0.5645, allocations: 27.48 kB / 416.9 MB, free: 11.75 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5645, allocations: 0 / 416.9 MB, free: 11.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002193/0.5647, allocations: 91.02 kB / 417 MB, free: 11.67 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.5648, allocations: 4 kB / 417 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/0.5648, allocations: 12.27 kB / 417 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.5648, allocations: 0 / 417 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.565, allocations: 24 kB / 417.1 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.565, allocations: 7.922 kB / 417.1 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.065e-05/0.5651, allocations: 8 kB / 417.1 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.5652, allocations: 4 kB / 417.1 MB, free: 11.61 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001122/0.5653, allocations: 115.5 kB / 417.2 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001957/0.5655, allocations: 72.22 kB / 417.3 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.888e-05/0.5656, allocations: 19.38 kB / 417.3 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.5656, allocations: 0 / 417.3 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.5656, allocations: 4 kB / 417.3 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.5656, allocations: 0 / 417.3 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003753/0.566, allocations: 190.8 kB / 417.5 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.597e-06/0.566, allocations: 4 kB / 417.5 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/0.5662, allocations: 12 kB / 417.5 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.5662, allocations: 4 kB / 417.5 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.5662, allocations: 3.984 kB / 417.5 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.5663, allocations: 4 kB / 417.5 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.5663, allocations: 4 kB / 417.5 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004788/0.5668, allocations: 324.7 kB / 417.8 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.5669, allocations: 100.5 kB / 417.9 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.5669, allocations: 6.938 kB / 417.9 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.5671, allocations: 7.984 kB / 417.9 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.5671, allocations: 4 kB / 417.9 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.5672, allocations: 3.375 kB / 418 MB, free: 10.7 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001199/0.5673, allocations: 108.5 kB / 418.1 MB, free: 10.61 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5673, allocations: 0 / 418.1 MB, free: 10.61 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004075/0.5677, allocations: 11.31 kB / 418.1 MB, free: 10.6 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0008867/0.5686, allocations: 1.002 MB / 419.1 MB, free: 9.578 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001942/0.5689, allocations: 58.55 kB / 419.1 MB, free: 9.531 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.5689, allocations: 0 / 419.1 MB, free: 9.531 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.76e-05/0.5689, allocations: 8 kB / 419.1 MB, free: 9.523 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004352/0.5694, allocations: 33.58 kB / 419.2 MB, free: 9.5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007278/0.5701, allocations: 203.2 kB / 419.4 MB, free: 9.273 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.5705, allocations: 0.7082 MB / 420.1 MB, free: 8.539 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.885e-05/0.5706, allocations: 22.67 kB / 420.1 MB, free: 8.523 MB / 346.7 MB Notification: Performance of SimCode: time 1.072e-06/0.5706, allocations: 0 / 420.1 MB, free: 8.523 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.517/3.087, allocations: 1.253 MB / 421.3 MB, free: 7.281 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3_res.mat does not exist to compare? outputFormat=mat