Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.072/2.072, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.016e-05/5.028e-05, allocations: 4 kB / 284.4 MB, free: 8.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1088, allocations: 50.37 MB / 334.8 MB, free: 6.121 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4767/0.5856, allocations: 79.99 MB / 414.8 MB, free: 13.91 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003954/0.5861, allocations: 78.33 kB / 414.8 MB, free: 13.86 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02477/0.6109, allocations: 4.595 MB / 419.4 MB, free: 9.934 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.6109, allocations: 4 kB / 419.4 MB, free: 9.93 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.6109, allocations: 0 / 419.4 MB, free: 9.93 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007666/0.6117, allocations: 446.6 kB / 419.9 MB, free: 9.457 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.6118, allocations: 8.031 kB / 419.9 MB, free: 9.449 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.561e-05/0.6118, allocations: 42.05 kB / 419.9 MB, free: 9.402 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.674e-05/0.6119, allocations: 22.69 kB / 419.9 MB, free: 9.383 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004196/0.6124, allocations: 239.6 kB / 420.2 MB, free: 9.121 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.6124, allocations: 8 kB / 420.2 MB, free: 9.117 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.6124, allocations: 7.375 kB / 420.2 MB, free: 9.113 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007161/0.6132, allocations: 293.4 kB / 420.5 MB, free: 8.867 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.6132, allocations: 0 / 420.5 MB, free: 8.867 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/0.6132, allocations: 7.484 kB / 420.5 MB, free: 8.863 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.6132, allocations: 8 kB / 420.5 MB, free: 8.855 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001773/0.6134, allocations: 59.73 kB / 420.5 MB, free: 8.816 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005731/0.614, allocations: 346.1 kB / 420.9 MB, free: 8.461 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004482/0.6145, allocations: 227.8 kB / 421.1 MB, free: 8.238 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/0.6147, allocations: 93.38 kB / 421.2 MB, free: 8.168 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008127/0.6155, allocations: 0.5773 MB / 421.8 MB, free: 7.465 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.6156, allocations: 34.56 kB / 421.8 MB, free: 7.422 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 2.244e-06/0.6156, allocations: 4 kB / 421.8 MB, free: 7.418 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004371/0.616, allocations: 153.5 kB / 422 MB, free: 7.293 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.6162, allocations: 113.9 kB / 422.1 MB, free: 7.16 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.6164, allocations: 174.1 kB / 422.2 MB, free: 7.008 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.6165, allocations: 25.7 kB / 422.3 MB, free: 6.977 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.079e-05/0.6166, allocations: 169 kB / 422.4 MB, free: 6.82 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.6166, allocations: 18.89 kB / 422.5 MB, free: 6.809 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.257e-06/0.6166, allocations: 4.031 kB / 422.5 MB, free: 6.805 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.6168, allocations: 325.6 kB / 422.8 MB, free: 6.484 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.877e-05/0.6169, allocations: 27.31 kB / 422.8 MB, free: 6.465 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/0.6171, allocations: 160.7 kB / 423 MB, free: 6.266 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.6173, allocations: 63.7 kB / 423 MB, free: 6.219 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.6173, allocations: 4 kB / 423 MB, free: 6.215 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004187/0.6177, allocations: 186.7 kB / 423.2 MB, free: 6.055 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.6178, allocations: 4 kB / 423.2 MB, free: 6.051 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.6178, allocations: 8 kB / 423.2 MB, free: 6.043 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.6178, allocations: 7.953 kB / 423.2 MB, free: 6.035 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002743/0.6181, allocations: 39.92 kB / 423.3 MB, free: 5.996 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.002e-05/0.6181, allocations: 15.92 kB / 423.3 MB, free: 5.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.6183, allocations: 19.23 kB / 423.3 MB, free: 5.965 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.6184, allocations: 12 kB / 423.3 MB, free: 5.953 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 6 (sample.noise.seedState[3],$CLKPRE.sample.noise.seedState[3],sample.noise.seedState[2],$CLKPRE.sample.noise.seedState[2],sample.noise.seedState[1],$CLKPRE.sample.noise.seedState[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001416/0.6185, allocations: 131.7 kB / 423.4 MB, free: 5.824 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003281/0.6189, allocations: 135.8 kB / 423.6 MB, free: 5.715 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004044/0.6193, allocations: 164.4 kB / 423.7 MB, free: 5.594 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.6193, allocations: 7.953 kB / 423.7 MB, free: 5.586 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.6193, allocations: 0 / 423.7 MB, free: 5.586 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.6193, allocations: 0 / 423.7 MB, free: 5.586 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003158/0.6197, allocations: 229.1 kB / 424 MB, free: 5.336 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.6197, allocations: 0 / 424 MB, free: 5.336 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000282/0.62, allocations: 47.36 kB / 424 MB, free: 5.293 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-06/0.62, allocations: 0 / 424 MB, free: 5.293 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/0.62, allocations: 7.984 kB / 424 MB, free: 5.285 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.62, allocations: 0 / 424 MB, free: 5.285 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.62, allocations: 3.953 kB / 424 MB, free: 5.281 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004378/0.6205, allocations: 274.1 kB / 424.3 MB, free: 5.027 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.6207, allocations: 112.3 kB / 424.4 MB, free: 4.906 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.964e-05/0.6207, allocations: 7.438 kB / 424.4 MB, free: 4.902 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002338/0.621, allocations: 15.23 kB / 424.4 MB, free: 4.891 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.759e-05/0.621, allocations: 3.938 kB / 424.4 MB, free: 4.887 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-05/0.6211, allocations: 8 kB / 424.4 MB, free: 4.879 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001858/0.6213, allocations: 144.5 kB / 424.6 MB, free: 4.758 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6213, allocations: 0 / 424.6 MB, free: 4.758 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004836/0.6218, allocations: 35.44 kB / 424.6 MB, free: 4.727 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: 3 (sample.noise.seedState[1],sample.noise.seedState[2],sample.noise.seedState[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001104/0.6229, allocations: 0.9583 MB / 425.6 MB, free: 3.805 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003681/0.6233, allocations: 119.4 kB / 425.7 MB, free: 3.715 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.6233, allocations: 0 / 425.7 MB, free: 3.715 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.82e-05/0.6233, allocations: 4 kB / 425.7 MB, free: 3.711 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006875/0.624, allocations: 129 kB / 425.8 MB, free: 3.605 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.6252, allocations: 310.2 kB / 426.1 MB, free: 3.293 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/0.6256, allocations: 0.7476 MB / 426.9 MB, free: 2.52 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.6258, allocations: 40.92 kB / 426.9 MB, free: 2.5 MB / 346.7 MB Notification: Performance of SimCode: time 1.152e-06/0.6258, allocations: 3.938 kB / 426.9 MB, free: 2.496 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.521/3.146, allocations: 2.847 MB / 429.8 MB, free: 15.69 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat does not exist to compare? outputFormat=mat