Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.176/2.176, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.234e-05/4.246e-05, allocations: 8 kB / 284.4 MB, free: 8.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1097, allocations: 50.36 MB / 334.8 MB, free: 6.133 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4885/0.5982, allocations: 78.56 MB / 413.3 MB, free: 15.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/0.5986, allocations: 78.33 kB / 413.4 MB, free: 15.29 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008467/0.6071, allocations: 1.996 MB / 415.4 MB, free: 13.61 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6071, allocations: 4 kB / 415.4 MB, free: 13.6 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.6071, allocations: 0 / 415.4 MB, free: 13.6 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004735/0.6076, allocations: 363.7 kB / 415.8 MB, free: 13.21 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.6077, allocations: 12.03 kB / 415.8 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.441e-05/0.6077, allocations: 34.12 kB / 415.8 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.539e-05/0.6078, allocations: 11.81 kB / 415.8 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.6081, allocations: 202.7 kB / 416 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.6081, allocations: 0 / 416 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.6081, allocations: 4 kB / 416 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003034/0.6084, allocations: 109.5 kB / 416.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.6085, allocations: 0 / 416.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.6085, allocations: 0 / 416.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.6085, allocations: 0 / 416.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.888e-05/0.6086, allocations: 15.62 kB / 416.1 MB, free: 12.78 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004561/0.609, allocations: 277.9 kB / 416.4 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.6092, allocations: 71.09 kB / 416.5 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.067e-05/0.6092, allocations: 30.52 kB / 416.5 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.6093, allocations: 4 kB / 416.5 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.6093, allocations: 30.56 kB / 416.5 MB, free: 12.3 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.713e-06/0.6093, allocations: 3.938 kB / 416.5 MB, free: 12.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002161/0.6096, allocations: 61.53 kB / 416.6 MB, free: 12.23 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.411e-05/0.6096, allocations: 110.8 kB / 416.7 MB, free: 12.1 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.6098, allocations: 138 kB / 416.8 MB, free: 11.97 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.6099, allocations: 25.7 kB / 416.9 MB, free: 11.94 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.173e-05/0.6099, allocations: 154.4 kB / 417 MB, free: 11.79 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.61, allocations: 4 kB / 417 MB, free: 11.79 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/0.61, allocations: 0 / 417 MB, free: 11.79 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.6101, allocations: 310.8 kB / 417.3 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.586e-05/0.6102, allocations: 11.59 kB / 417.3 MB, free: 11.47 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.892e-05/0.6102, allocations: 35.28 kB / 417.4 MB, free: 11.43 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.593e-05/0.6103, allocations: 7.938 kB / 417.4 MB, free: 11.42 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.6103, allocations: 4 kB / 417.4 MB, free: 11.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001296/0.6104, allocations: 61.47 kB / 417.4 MB, free: 11.35 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.6105, allocations: 7.938 kB / 417.5 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.6105, allocations: 0 / 417.5 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.6105, allocations: 4 kB / 417.5 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.6106, allocations: 11.94 kB / 417.5 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.6106, allocations: 3.984 kB / 417.5 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.894e-05/0.6107, allocations: 7.938 kB / 417.5 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.6107, allocations: 3.953 kB / 417.5 MB, free: 11.32 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.917e-05/0.6108, allocations: 112.9 kB / 417.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.611, allocations: 53.34 kB / 417.6 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.074e-05/0.611, allocations: 11.53 kB / 417.7 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.611, allocations: 0 / 417.7 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.611, allocations: 8 kB / 417.7 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.6111, allocations: 0 / 417.7 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.6113, allocations: 177 kB / 417.8 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.6113, allocations: 0 / 417.8 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.6114, allocations: 16.05 kB / 417.9 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.6114, allocations: 0 / 417.9 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.6115, allocations: 4 kB / 417.9 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.6115, allocations: 0 / 417.9 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.6115, allocations: 0 / 417.9 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.6117, allocations: 200.2 kB / 418.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.854e-05/0.6118, allocations: 96.81 kB / 418.2 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.6118, allocations: 4 kB / 418.2 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.6119, allocations: 0 / 418.2 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.612, allocations: 7.953 kB / 418.2 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.612, allocations: 0 / 418.2 MB, free: 10.56 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001031/0.6121, allocations: 111.4 kB / 418.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6121, allocations: 0 / 418.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003257/0.6125, allocations: 15.81 kB / 418.3 MB, free: 10.45 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 (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.0005522/0.613, allocations: 0.8622 MB / 419.1 MB, free: 9.555 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001102/0.6132, allocations: 15.88 kB / 419.2 MB, free: 9.543 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.6132, allocations: 0 / 419.2 MB, free: 9.543 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.048e-05/0.6132, allocations: 7.984 kB / 419.2 MB, free: 9.535 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.6136, allocations: 27.41 kB / 419.2 MB, free: 9.516 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005322/0.6141, allocations: 166.5 kB / 419.4 MB, free: 9.312 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.6145, allocations: 0.7008 MB / 420.1 MB, free: 8.59 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.504e-05/0.6145, allocations: 15.38 kB / 420.1 MB, free: 8.582 MB / 346.7 MB Notification: Performance of SimCode: time 7.11e-07/0.6145, allocations: 3.938 kB / 420.1 MB, free: 8.578 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.333/2.948, allocations: 1.12 MB / 421.2 MB, free: 7.469 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample_res.mat does not exist to compare? outputFormat=mat