Running command: "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedRealToSquare",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.134/2.134, allocations: 218.4 MB / 231.1 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.898e-05/3.889e-05, allocations: 8 kB / 284.4 MB, free: 8.102 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1234, allocations: 50.36 MB / 334.8 MB, free: 5.645 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.448/0.5714, allocations: 78.36 MB / 413.1 MB, free: 15.57 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/0.5717, allocations: 58.72 kB / 413.2 MB, free: 15.54 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004752/0.5764, allocations: 1.148 MB / 414.3 MB, free: 14.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.5765, allocations: 3.938 kB / 414.4 MB, free: 14.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.5765, allocations: 1.859 kB / 414.4 MB, free: 14.52 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004345/0.577, allocations: 354.3 kB / 414.7 MB, free: 14.14 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.577, allocations: 12.03 kB / 414.7 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.638e-05/0.5771, allocations: 30.56 kB / 414.7 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.404e-05/0.5771, allocations: 11.16 kB / 414.8 MB, free: 14.08 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.5773, allocations: 171 kB / 414.9 MB, free: 13.87 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.5774, allocations: 11.39 kB / 414.9 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.5774, allocations: 4 kB / 414.9 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003085/0.5777, allocations: 122.8 kB / 415.1 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.5778, allocations: 0 / 415.1 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.5778, allocations: 0 / 415.1 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.5778, allocations: 4 kB / 415.1 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.784e-05/0.5779, allocations: 18.17 kB / 415.1 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005242/0.5784, allocations: 360.3 kB / 415.4 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.5787, allocations: 151.7 kB / 415.6 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.864e-05/0.5788, allocations: 37.83 kB / 415.6 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.5788, allocations: 0 / 415.6 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.5788, allocations: 39.73 kB / 415.7 MB, free: 13.05 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.204e-06/0.5788, allocations: 0 / 415.7 MB, free: 13.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002636/0.5791, allocations: 63.88 kB / 415.7 MB, free: 12.99 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.094e-05/0.5792, allocations: 106.8 kB / 415.8 MB, free: 12.86 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.5793, allocations: 104.4 kB / 415.9 MB, free: 12.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.5794, allocations: 29.2 kB / 415.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.414e-05/0.5794, allocations: 91.58 kB / 416 MB, free: 12.63 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.5795, allocations: 7.891 kB / 416 MB, free: 12.62 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.946e-06/0.5795, allocations: 0 / 416 MB, free: 12.62 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.5796, allocations: 331 kB / 416.4 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.701e-05/0.5797, allocations: 11.31 kB / 416.4 MB, free: 12.29 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.563e-05/0.5798, allocations: 43.84 kB / 416.4 MB, free: 12.23 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.539e-05/0.5798, allocations: 15.61 kB / 416.4 MB, free: 12.22 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.5798, allocations: 4 kB / 416.4 MB, free: 12.22 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001678/0.58, allocations: 71.84 kB / 416.5 MB, free: 12.15 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.5801, allocations: 8.125 kB / 416.5 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.5801, allocations: 7.938 kB / 416.5 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.5801, allocations: 0 / 416.5 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.5802, allocations: 19.92 kB / 416.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.5803, allocations: 0 / 416.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.544e-05/0.5803, allocations: 4 kB / 416.6 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.5804, allocations: 4 kB / 416.6 MB, free: 12.11 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (ClockedRealToSquare.y2,$CLKPRE.ClockedRealToSquare.y2,ClockedRealToSquare.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.188e-05/0.5805, allocations: 112.1 kB / 416.7 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.5806, allocations: 60.66 kB / 416.7 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.216e-05/0.5807, allocations: 7.344 kB / 416.7 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.5807, allocations: 144 / 416.7 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.5807, allocations: 4 kB / 416.7 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.5807, allocations: 7.969 kB / 416.7 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003105/0.581, allocations: 168.1 kB / 416.9 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.5811, allocations: 0 / 416.9 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.535e-05/0.5812, allocations: 8 kB / 416.9 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.5812, allocations: 4 kB / 416.9 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.5812, allocations: 7.234 kB / 416.9 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.5812, allocations: 8 kB / 416.9 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.5812, allocations: 0 / 416.9 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.5815, allocations: 269.6 kB / 417.2 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.305e-05/0.5816, allocations: 81.11 kB / 417.3 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.5816, allocations: 4 kB / 417.3 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.5818, allocations: 7.984 kB / 417.3 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.5818, allocations: 4 kB / 417.3 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.5818, allocations: 0 / 417.3 MB, free: 11.29 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.308e-05/0.5819, allocations: 87.16 kB / 417.4 MB, free: 11.21 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.5819, allocations: 0 / 417.4 MB, free: 11.21 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003623/0.5823, allocations: 11.22 kB / 417.4 MB, free: 11.2 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: 2 (ClockedRealToSquare.y,ClockedRealToSquare.y2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.000762/0.5831, allocations: 0.9573 MB / 418.3 MB, free: 10.22 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001437/0.5832, allocations: 38.17 kB / 418.4 MB, free: 10.19 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5832, allocations: 4.25 kB / 418.4 MB, free: 10.19 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.421e-05/0.5833, allocations: 11.5 kB / 418.4 MB, free: 10.18 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.5836, allocations: 23.33 kB / 418.4 MB, free: 10.16 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000587/0.5842, allocations: 132.2 kB / 418.6 MB, free: 9.996 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.5846, allocations: 0.6926 MB / 419.2 MB, free: 9.277 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.128e-05/0.5846, allocations: 128 / 419.2 MB, free: 9.277 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.685e-05/0.5847, allocations: 25.55 kB / 419.3 MB, free: 9.258 MB / 346.7 MB Notification: Performance of SimCode: time 9.02e-07/0.5847, allocations: 0 / 419.3 MB, free: 9.258 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01997/0.6047, allocations: 1.297 MB / 420.6 MB, free: 8.023 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002908/0.6051, allocations: 185.7 kB / 420.7 MB, free: 7.789 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.334/2.939, allocations: 0 / 420.7 MB, free: 7.789 MB / 346.7 MB