Running command: "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_WorkInProgress_Tests_TestClockedRealToSquare",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.173/2.173, allocations: 218.4 MB / 231.5 MB, free: 12.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.662e-05/4.659e-05, allocations: 8 kB / 284.4 MB, free: 8.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1123, allocations: 50.36 MB / 334.8 MB, free: 6.125 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4457/0.558, allocations: 78.41 MB / 413.2 MB, free: 15.46 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/0.5583, allocations: 62.64 kB / 413.2 MB, free: 15.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004998/0.5633, allocations: 1.144 MB / 414.4 MB, free: 14.42 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.5634, allocations: 0 / 414.4 MB, free: 14.42 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.663e-05/0.5634, allocations: 0 / 414.4 MB, free: 14.42 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.0004849/0.5639, allocations: 359.1 kB / 414.7 MB, free: 14.03 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/0.564, allocations: 8.031 kB / 414.7 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.019e-05/0.564, allocations: 37.75 kB / 414.8 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/0.5641, allocations: 7.906 kB / 414.8 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.5643, allocations: 170.5 kB / 414.9 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.5644, allocations: 7.953 kB / 415 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.5644, allocations: 0 / 415 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003331/0.5647, allocations: 131.1 kB / 415.1 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.5647, allocations: 0 / 415.1 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.5648, allocations: 1.969 kB / 415.1 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.5648, allocations: 0 / 415.1 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.656e-05/0.5649, allocations: 18.81 kB / 415.1 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005708/0.5654, allocations: 363.6 kB / 415.5 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/0.5658, allocations: 146.4 kB / 415.6 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.832e-05/0.5659, allocations: 41.91 kB / 415.6 MB, free: 12.99 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.354e-05/0.5659, allocations: 2.688 kB / 415.6 MB, free: 12.99 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.566, allocations: 30.56 kB / 415.7 MB, free: 12.95 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.845e-06/0.566, allocations: 0 / 415.7 MB, free: 12.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002703/0.5663, allocations: 63.75 kB / 415.7 MB, free: 12.89 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.407e-05/0.5664, allocations: 109.9 kB / 415.8 MB, free: 12.76 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.5665, allocations: 104.3 kB / 415.9 MB, free: 12.65 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.5665, allocations: 28.83 kB / 416 MB, free: 12.62 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.466e-05/0.5666, allocations: 154.6 kB / 416.1 MB, free: 12.47 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.5667, allocations: 11.09 kB / 416.1 MB, free: 12.46 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/0.5667, allocations: 0 / 416.1 MB, free: 12.46 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.5668, allocations: 322 kB / 416.4 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.569e-05/0.5669, allocations: 19.86 kB / 416.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.564e-05/0.567, allocations: 46.41 kB / 416.5 MB, free: 12.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.979e-05/0.567, allocations: 11.19 kB / 416.5 MB, free: 12.06 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.567, allocations: 0 / 416.5 MB, free: 12.06 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001938/0.5673, allocations: 79.14 kB / 416.6 MB, free: 11.98 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.5673, allocations: 4 kB / 416.6 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.5673, allocations: 4 kB / 416.6 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.5673, allocations: 0 / 416.6 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.5675, allocations: 15.92 kB / 416.6 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.5675, allocations: 4 kB / 416.6 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.109e-05/0.5676, allocations: 5.031 kB / 416.6 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.5676, allocations: 4 kB / 416.6 MB, free: 11.95 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 0.000108/0.5678, allocations: 119.8 kB / 416.8 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.5679, allocations: 52.95 kB / 416.8 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.626e-05/0.568, allocations: 11.41 kB / 416.8 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.568, allocations: 0 / 416.8 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.568, allocations: 4 kB / 416.8 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.568, allocations: 0 / 416.8 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003348/0.5684, allocations: 179.6 kB / 417 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.5684, allocations: 0 / 417 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.5685, allocations: 11.25 kB / 417 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.017e-05/0.5686, allocations: 4 kB / 417 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.5686, allocations: 4 kB / 417 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.5686, allocations: 3.984 kB / 417 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.5686, allocations: 0 / 417 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002777/0.5689, allocations: 263.4 kB / 417.3 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.299e-05/0.569, allocations: 92.08 kB / 417.4 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.569, allocations: 0 / 417.4 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.5692, allocations: 7.984 kB / 417.4 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.5692, allocations: 4 kB / 417.4 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.5692, allocations: 0 / 417.4 MB, free: 11.12 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.548e-05/0.5693, allocations: 89.47 kB / 417.5 MB, free: 11.04 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5693, allocations: 0 / 417.5 MB, free: 11.04 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004318/0.5698, allocations: 8 kB / 417.5 MB, free: 11.04 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.0007849/0.5706, allocations: 0.951 MB / 418.4 MB, free: 10.07 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001704/0.5708, allocations: 38.86 kB / 418.5 MB, free: 10.04 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5708, allocations: 8.25 kB / 418.5 MB, free: 10.03 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.353e-05/0.5708, allocations: 7.125 kB / 418.5 MB, free: 10.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.5712, allocations: 19.42 kB / 418.5 MB, free: 10.01 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006497/0.5718, allocations: 161.4 kB / 418.7 MB, free: 9.809 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.5722, allocations: 0.6887 MB / 419.3 MB, free: 9.094 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.827e-05/0.5723, allocations: 21.8 kB / 419.4 MB, free: 9.078 MB / 346.7 MB Notification: Performance of SimCode: time 1.183e-06/0.5723, allocations: 4.125 kB / 419.4 MB, free: 9.074 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.442/3.014, allocations: 1.051 MB / 420.4 MB, free: 8.031 MB / 346.7 MB