Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.102/2.102, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.761e-05/3.755e-05, allocations: 4 kB / 284.4 MB, free: 8.578 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1118, allocations: 50.36 MB / 334.8 MB, free: 6.117 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4873/0.5992, allocations: 78.49 MB / 413.2 MB, free: 15.44 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/0.5995, allocations: 77.89 kB / 413.3 MB, free: 15.4 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007715/0.6072, allocations: 1.69 MB / 415 MB, free: 13.92 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.6073, allocations: 0 / 415 MB, free: 13.92 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.6073, allocations: 4 kB / 415 MB, free: 13.92 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.0005489/0.6079, allocations: 362.1 kB / 415.4 MB, free: 13.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/0.6079, allocations: 12.03 kB / 415.4 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.495e-05/0.608, allocations: 34.44 kB / 415.4 MB, free: 13.47 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.6081, allocations: 15.89 kB / 415.4 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.6083, allocations: 198.6 kB / 415.6 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.6084, allocations: 7.953 kB / 415.6 MB, free: 13.22 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.6084, allocations: 11.8 kB / 415.6 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003207/0.6087, allocations: 109.3 kB / 415.8 MB, free: 13.1 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.6088, allocations: 8 kB / 415.8 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.6088, allocations: 0 / 415.8 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.6088, allocations: 0 / 415.8 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.951e-05/0.6089, allocations: 27.55 kB / 415.8 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006406/0.6096, allocations: 389 kB / 416.2 MB, free: 12.65 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.6097, allocations: 64.72 kB / 416.2 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.016e-05/0.6098, allocations: 26.58 kB / 416.3 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.6098, allocations: 4 kB / 416.3 MB, free: 12.53 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.6099, allocations: 38.55 kB / 416.3 MB, free: 12.48 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.854e-06/0.6099, allocations: 0 / 416.3 MB, free: 12.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002867/0.6102, allocations: 72.91 kB / 416.4 MB, free: 12.42 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.947e-05/0.6103, allocations: 106.8 kB / 416.5 MB, free: 12.29 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.6105, allocations: 137.6 kB / 416.6 MB, free: 12.16 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.6105, allocations: 25.7 kB / 416.6 MB, free: 12.13 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.428e-05/0.6106, allocations: 162.1 kB / 416.8 MB, free: 11.98 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.6106, allocations: 7.906 kB / 416.8 MB, free: 11.97 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-06/0.6106, allocations: 0 / 416.8 MB, free: 11.97 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.6108, allocations: 314.8 kB / 417.1 MB, free: 11.65 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.493e-05/0.6108, allocations: 11.86 kB / 417.1 MB, free: 11.64 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.712e-05/0.6109, allocations: 31.25 kB / 417.1 MB, free: 11.61 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.067e-05/0.611, allocations: 23.86 kB / 417.2 MB, free: 11.59 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.611, allocations: 0 / 417.2 MB, free: 11.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001705/0.6112, allocations: 65.44 kB / 417.2 MB, free: 11.52 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.6112, allocations: 11.94 kB / 417.2 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.6112, allocations: 0 / 417.2 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.6112, allocations: 0 / 417.2 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.6114, allocations: 20.11 kB / 417.3 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.6114, allocations: 3.938 kB / 417.3 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.6116, allocations: 11.98 kB / 417.3 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.6116, allocations: 0 / 417.3 MB, free: 11.48 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 8.786e-05/0.6117, allocations: 112.7 kB / 417.4 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.6118, allocations: 49.47 kB / 417.4 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.583e-05/0.6119, allocations: 11.59 kB / 417.5 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.6119, allocations: 4.031 kB / 417.5 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.6119, allocations: 4 kB / 417.5 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.6119, allocations: 0 / 417.5 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003121/0.6122, allocations: 184.9 kB / 417.6 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.6123, allocations: 0 / 417.6 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.6124, allocations: 15.98 kB / 417.7 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.6124, allocations: 3.938 kB / 417.7 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.6125, allocations: 4 kB / 417.7 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.6125, allocations: 3.984 kB / 417.7 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6125, allocations: 0 / 417.7 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/0.6128, allocations: 274.2 kB / 417.9 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.6129, allocations: 104.6 kB / 418 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.6129, allocations: 0 / 418 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.6131, allocations: 12 kB / 418.1 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.561e-05/0.6132, allocations: 3.984 kB / 418.1 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.6132, allocations: 4 kB / 418.1 MB, free: 10.62 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001165/0.6133, allocations: 119.3 kB / 418.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6133, allocations: 0 / 418.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003785/0.6137, allocations: 8 kB / 418.2 MB, free: 10.51 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.000641/0.6144, allocations: 0.9465 MB / 419.1 MB, free: 9.543 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000149/0.6145, allocations: 31.48 kB / 419.2 MB, free: 9.52 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6146, allocations: 0 / 419.2 MB, free: 9.52 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.278e-05/0.6146, allocations: 12.31 kB / 419.2 MB, free: 9.508 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.615, allocations: 31.72 kB / 419.2 MB, free: 9.484 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006743/0.6157, allocations: 198.2 kB / 419.4 MB, free: 9.246 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.6161, allocations: 0.7041 MB / 420.1 MB, free: 8.52 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.853e-05/0.6162, allocations: 23.23 kB / 420.1 MB, free: 8.504 MB / 346.7 MB Notification: Performance of SimCode: time 6.81e-07/0.6162, allocations: 0 / 420.1 MB, free: 8.504 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.438/3.054, allocations: 1.306 MB / 421.4 MB, free: 7.211 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat does not exist to compare? outputFormat=mat