Running command: "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestBackSample,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_WorkInProgress_Tests_TestBackSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.074/2.074, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.303e-05/5.309e-05, allocations: 8 kB / 284.4 MB, free: 8.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.111, allocations: 50.35 MB / 334.8 MB, free: 6.141 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4514/0.5624, allocations: 78.45 MB / 413.2 MB, free: 15.77 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.5627, allocations: 62.78 kB / 413.3 MB, free: 15.73 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006324/0.5691, allocations: 1.448 MB / 414.7 MB, free: 14.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5691, allocations: 0 / 414.7 MB, free: 14.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.468e-05/0.5692, allocations: 4 kB / 414.7 MB, free: 14.47 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005756/0.5698, allocations: 376 kB / 415.1 MB, free: 14.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.5698, allocations: 12.02 kB / 415.1 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.075e-05/0.5699, allocations: 37.69 kB / 415.1 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.121e-05/0.5699, allocations: 7.906 kB / 415.1 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.5702, allocations: 197.3 kB / 415.3 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.5703, allocations: 7.953 kB / 415.3 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.5703, allocations: 7.188 kB / 415.3 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004583/0.5708, allocations: 172.3 kB / 415.5 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.5708, allocations: 0 / 415.5 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.5708, allocations: 4 kB / 415.5 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.954e-06/0.5708, allocations: 0 / 415.5 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.571, allocations: 26.56 kB / 415.5 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006693/0.5716, allocations: 309.2 kB / 415.8 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004917/0.5722, allocations: 202 kB / 416 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.5724, allocations: 60.64 kB / 416.1 MB, free: 12.94 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.365e-05/0.5724, allocations: 0 / 416.1 MB, free: 12.94 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/0.5725, allocations: 38.5 kB / 416.1 MB, free: 12.89 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 3.306e-06/0.5725, allocations: 3.938 kB / 416.1 MB, free: 12.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004799/0.573, allocations: 100.6 kB / 416.2 MB, free: 12.8 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001719/0.5732, allocations: 142.6 kB / 416.4 MB, free: 12.64 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/0.5735, allocations: 115.3 kB / 416.5 MB, free: 12.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.5735, allocations: 29.7 kB / 416.5 MB, free: 12.49 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.5737, allocations: 156.4 kB / 416.7 MB, free: 12.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.213e-05/0.5737, allocations: 15.7 kB / 416.7 MB, free: 12.33 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.146e-05/0.5737, allocations: 4.062 kB / 416.7 MB, free: 12.32 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.574, allocations: 317.9 kB / 417 MB, free: 12.01 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.276e-05/0.574, allocations: 11.66 kB / 417 MB, free: 12 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.5742, allocations: 83.92 kB / 417.1 MB, free: 11.89 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.577e-05/0.5743, allocations: 22.81 kB / 417.1 MB, free: 11.88 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.5743, allocations: 4 kB / 417.1 MB, free: 11.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002509/0.5745, allocations: 95.48 kB / 417.2 MB, free: 11.78 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.5746, allocations: 8 kB / 417.2 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.5746, allocations: 0 / 417.2 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.5746, allocations: 4 kB / 417.2 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.5748, allocations: 28.27 kB / 417.3 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.5749, allocations: 8 kB / 417.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.575, allocations: 11.92 kB / 417.3 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.575, allocations: 4 kB / 417.3 MB, free: 11.72 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001098/0.5751, allocations: 123.5 kB / 417.4 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000216/0.5754, allocations: 94.69 kB / 417.5 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.014e-05/0.5754, allocations: 11.83 kB / 417.5 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.565e-06/0.5755, allocations: 4 kB / 417.5 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/0.5755, allocations: 4.031 kB / 417.5 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.5755, allocations: 0 / 417.5 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.5758, allocations: 181.5 kB / 417.7 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5758, allocations: 4 kB / 417.7 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000196/0.576, allocations: 19.98 kB / 417.7 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.051e-05/0.576, allocations: 4 kB / 417.7 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.576, allocations: 7.172 kB / 417.7 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.5761, allocations: 0 / 417.7 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/0.5761, allocations: 4 kB / 417.7 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.5764, allocations: 245.8 kB / 418 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.925e-05/0.5765, allocations: 92.94 kB / 418.1 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.5765, allocations: 7.125 kB / 418.1 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.5767, allocations: 8 kB / 418.1 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.5767, allocations: 0 / 418.1 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.5768, allocations: 12.05 kB / 418.1 MB, free: 10.85 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.618e-05/0.5769, allocations: 107.2 kB / 418.2 MB, free: 10.76 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5769, allocations: 0 / 418.2 MB, free: 10.76 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004077/0.5773, allocations: 11.94 kB / 418.2 MB, free: 10.75 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (11): * Single equations (assignments): 11 * 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.0007715/0.5781, allocations: 0.996 MB / 419.2 MB, free: 9.727 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002123/0.5783, allocations: 57.94 kB / 419.3 MB, free: 9.684 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5783, allocations: 4.062 kB / 419.3 MB, free: 9.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.312e-05/0.5784, allocations: 0 / 419.3 MB, free: 9.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004712/0.5789, allocations: 50.91 kB / 419.3 MB, free: 9.641 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006749/0.5795, allocations: 202.8 kB / 419.5 MB, free: 9.406 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.5799, allocations: 0.7045 MB / 420.2 MB, free: 8.676 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.821e-05/0.58, allocations: 26.48 kB / 420.2 MB, free: 8.664 MB / 346.7 MB Notification: Performance of SimCode: time 1.232e-06/0.58, allocations: 0 / 420.2 MB, free: 8.664 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.357/2.937, allocations: 1.596 MB / 421.8 MB, free: 7.086 MB / 346.7 MB