Running command: "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestBackSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestBackSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.154/2.154, allocations: 218.4 MB / 231.1 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.105e-05/7.111e-05, allocations: 4 kB / 284.4 MB, free: 8.094 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.133, allocations: 50.36 MB / 334.8 MB, free: 5.637 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4381/0.5711, allocations: 78.4 MB / 413.2 MB, free: 15.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/0.5714, allocations: 58.72 kB / 413.3 MB, free: 15.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00588/0.5773, allocations: 1.448 MB / 414.7 MB, free: 14.31 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5773, allocations: 0 / 414.7 MB, free: 14.31 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.566e-05/0.5773, allocations: 4 kB / 414.7 MB, free: 14.3 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.0005433/0.5779, allocations: 377 kB / 415.1 MB, free: 13.9 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.786e-05/0.578, allocations: 8.031 kB / 415.1 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.413e-05/0.578, allocations: 41.73 kB / 415.1 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.111e-05/0.5781, allocations: 7.906 kB / 415.1 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.5784, allocations: 201.1 kB / 415.3 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.5784, allocations: 7.953 kB / 415.3 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.5785, allocations: 7.438 kB / 415.3 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004509/0.5789, allocations: 166.6 kB / 415.5 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.5789, allocations: 3.984 kB / 415.5 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.579, allocations: 4 kB / 415.5 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.579, allocations: 0 / 415.5 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.5791, allocations: 31.25 kB / 415.5 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005627/0.5797, allocations: 300.8 kB / 415.8 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003411/0.58, allocations: 200.8 kB / 416 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.5802, allocations: 60.77 kB / 416.1 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.5803, allocations: 0 / 416.1 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.5803, allocations: 42.42 kB / 416.1 MB, free: 12.73 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 5.34e-06/0.5803, allocations: 7.938 kB / 416.1 MB, free: 12.72 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003111/0.5806, allocations: 97.2 kB / 416.2 MB, free: 12.63 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.678e-05/0.5808, allocations: 136 kB / 416.4 MB, free: 12.47 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.5809, allocations: 120.6 kB / 416.5 MB, free: 12.36 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.5809, allocations: 29.7 kB / 416.5 MB, free: 12.32 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.32e-05/0.581, allocations: 94.75 kB / 416.6 MB, free: 12.23 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.5811, allocations: 7.906 kB / 416.6 MB, free: 12.23 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/0.5811, allocations: 7.062 kB / 416.6 MB, free: 12.22 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.5813, allocations: 326.7 kB / 416.9 MB, free: 11.9 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.124e-05/0.5813, allocations: 11.38 kB / 417 MB, free: 11.89 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.563e-05/0.5814, allocations: 75.52 kB / 417 MB, free: 11.79 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.312e-05/0.5815, allocations: 23.17 kB / 417.1 MB, free: 11.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.5815, allocations: 8 kB / 417.1 MB, free: 11.76 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002259/0.5818, allocations: 99.2 kB / 417.2 MB, free: 11.67 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.5818, allocations: 8 kB / 417.2 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.5818, allocations: 0 / 417.2 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.5818, allocations: 4 kB / 417.2 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.582, allocations: 35.52 kB / 417.2 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.5821, allocations: 4 kB / 417.2 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.5822, allocations: 7.938 kB / 417.2 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.005e-05/0.5823, allocations: 4 kB / 417.2 MB, free: 11.61 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.0001414/0.5824, allocations: 120.1 kB / 417.3 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003404/0.5828, allocations: 90.77 kB / 417.4 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.034e-05/0.5829, allocations: 14.59 kB / 417.4 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.5829, allocations: 4 kB / 417.4 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.5829, allocations: 4.031 kB / 417.4 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/0.583, allocations: 7.984 kB / 417.5 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000393/0.5834, allocations: 185.2 kB / 417.6 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.5834, allocations: 0 / 417.6 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/0.5836, allocations: 19.98 kB / 417.7 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.074e-05/0.5837, allocations: 4 kB / 417.7 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.5837, allocations: 2.812 kB / 417.7 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.147e-06/0.5837, allocations: 4 kB / 417.7 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.5838, allocations: 0 / 417.7 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003911/0.5842, allocations: 246.6 kB / 417.9 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.611e-05/0.5842, allocations: 96.92 kB / 418 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.196e-05/0.5843, allocations: 4 kB / 418 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.5845, allocations: 11.25 kB / 418 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.5846, allocations: 0 / 418 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/0.5846, allocations: 4 kB / 418 MB, free: 10.75 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001369/0.5848, allocations: 113.2 kB / 418.1 MB, free: 10.64 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.82e-07/0.5848, allocations: 0 / 418.1 MB, free: 10.64 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005901/0.5854, allocations: 15.5 kB / 418.1 MB, free: 10.63 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.0007065/0.5861, allocations: 0.9881 MB / 419.1 MB, free: 9.621 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001956/0.5864, allocations: 61.3 kB / 419.2 MB, free: 9.57 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.5864, allocations: 0 / 419.2 MB, free: 9.57 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.752e-05/0.5864, allocations: 7.438 kB / 419.2 MB, free: 9.566 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000434/0.5868, allocations: 45.66 kB / 419.2 MB, free: 9.531 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006075/0.5875, allocations: 173.2 kB / 419.4 MB, free: 9.332 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.5878, allocations: 0.7119 MB / 420.1 MB, free: 8.598 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.523e-05/0.5879, allocations: 8.547 kB / 420.1 MB, free: 8.59 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.106e-05/0.5879, allocations: 21.94 kB / 420.2 MB, free: 8.582 MB / 346.7 MB Notification: Performance of SimCode: time 7.61e-07/0.588, allocations: 0 / 420.2 MB, free: 8.582 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07778/0.6657, allocations: 2.027 MB / 422.2 MB, free: 6.617 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000267/0.6661, allocations: 176.2 kB / 422.4 MB, free: 6.383 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.326/2.993, allocations: 0 / 422.4 MB, free: 6.383 MB / 346.7 MB