Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare") Notification: Performance of loadModel(Modelica_Synchronous): time 2.239/2.239, allocations: 218.4 MB / 231.1 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.289e-05/5.286e-05, allocations: 4 kB / 284.3 MB, free: 8.211 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1047, allocations: 50.37 MB / 334.7 MB, free: 5.746 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.396/0.5008, allocations: 78.33 MB / 413 MB, free: 15.93 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001839/0.501, allocations: 68.89 kB / 413.1 MB, free: 15.89 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004364/0.5054, allocations: 1.138 MB / 414.2 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.135e-06/0.5055, allocations: 3.938 kB / 414.2 MB, free: 14.88 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.423e-05/0.5055, allocations: 4 kB / 414.2 MB, free: 14.88 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.0004592/0.506, allocations: 352.6 kB / 414.6 MB, free: 14.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.506, allocations: 12.95 kB / 414.6 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.582e-05/0.5061, allocations: 7.906 kB / 414.6 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002207/0.5063, allocations: 174.5 kB / 414.8 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.5063, allocations: 7.953 kB / 414.8 MB, free: 14.26 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.5064, allocations: 0 / 414.8 MB, free: 14.26 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002825/0.5067, allocations: 122.8 kB / 414.9 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.971e-06/0.5067, allocations: 0 / 414.9 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.5067, allocations: 3.812 kB / 414.9 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.254e-06/0.5067, allocations: 4 kB / 414.9 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.887e-05/0.5068, allocations: 17.77 kB / 414.9 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005354/0.5073, allocations: 360.5 kB / 415.3 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000349/0.5077, allocations: 147.8 kB / 415.4 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.5079, allocations: 41.39 kB / 415.5 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.5079, allocations: 0 / 415.5 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.821e-05/0.508, allocations: 38.64 kB / 415.5 MB, free: 13.45 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 3.132e-06/0.508, allocations: 0 / 415.5 MB, free: 13.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003782/0.5084, allocations: 62.88 kB / 415.6 MB, free: 13.39 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/0.5086, allocations: 102.8 kB / 415.7 MB, free: 13.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.5087, allocations: 108.9 kB / 415.8 MB, free: 13.16 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.5088, allocations: 28.77 kB / 415.8 MB, free: 13.12 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.045e-05/0.5089, allocations: 88.08 kB / 415.9 MB, free: 13.04 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.538e-05/0.509, allocations: 4.281 kB / 415.9 MB, free: 13.04 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.963e-06/0.509, allocations: 0 / 415.9 MB, free: 13.04 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002227/0.5092, allocations: 326.7 kB / 416.2 MB, free: 12.71 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.521e-05/0.5093, allocations: 7.562 kB / 416.2 MB, free: 12.71 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.5094, allocations: 54.7 kB / 416.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.117e-05/0.5095, allocations: 22.98 kB / 416.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.183e-05/0.5096, allocations: 0 / 416.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002787/0.5099, allocations: 73.22 kB / 416.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.5099, allocations: 8.125 kB / 416.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.51, allocations: 4 kB / 416.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.51, allocations: 0 / 416.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.5102, allocations: 15.92 kB / 416.4 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.092e-05/0.5102, allocations: 4 kB / 416.4 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.759e-05/0.5103, allocations: 4 kB / 416.4 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.5103, allocations: 0 / 416.4 MB, free: 12.52 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.408e-05/0.5105, allocations: 115.8 kB / 416.5 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.5106, allocations: 53.61 kB / 416.6 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.341e-05/0.5107, allocations: 15.41 kB / 416.6 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.63e-06/0.5107, allocations: 0 / 416.6 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.257e-06/0.5107, allocations: 7.922 kB / 416.6 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.472e-06/0.5107, allocations: 4 kB / 416.6 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003114/0.511, allocations: 167.4 kB / 416.8 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.649e-06/0.5111, allocations: 0 / 416.8 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.407e-05/0.5111, allocations: 8 kB / 416.8 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.5112, allocations: 0 / 416.8 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.5112, allocations: 14.61 kB / 416.8 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.783e-06/0.5112, allocations: 0 / 416.8 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.937e-06/0.5112, allocations: 4 kB / 416.8 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.5115, allocations: 264.1 kB / 417 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.321e-05/0.5116, allocations: 85.02 kB / 417.1 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.5116, allocations: 3.188 kB / 417.1 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.5118, allocations: 11.98 kB / 417.1 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.967e-05/0.5118, allocations: 0 / 417.1 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.5118, allocations: 4 kB / 417.1 MB, free: 11.7 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.977e-05/0.5119, allocations: 90.28 kB / 417.2 MB, free: 11.61 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.96e-07/0.5119, allocations: 0 / 417.2 MB, free: 11.61 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003791/0.5123, allocations: 11.69 kB / 417.2 MB, free: 11.6 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.0001367/0.5125, allocations: 99.23 kB / 417.3 MB, free: 11.49 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000132/0.5126, allocations: 34.5 kB / 417.4 MB, free: 11.46 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.536e-06/0.5126, allocations: 0 / 417.4 MB, free: 11.46 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.418e-05/0.5127, allocations: 7.375 kB / 417.4 MB, free: 11.46 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.513, allocations: 35.09 kB / 417.4 MB, free: 11.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002945/0.5133, allocations: 90.77 kB / 417.5 MB, free: 11.32 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.5137, allocations: 0.6925 MB / 418.2 MB, free: 10.6 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.44e-05/0.5137, allocations: 4 kB / 418.2 MB, free: 10.6 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.51e-05/0.5138, allocations: 11.44 kB / 418.2 MB, free: 10.59 MB / 346.7 MB Notification: Performance of SimCode: time 1.435e-06/0.5138, allocations: 0 / 418.2 MB, free: 10.59 MB / 346.7 MB Notification: Performance of Templates: time 0.003003/0.5168, allocations: 439.4 kB / 418.6 MB, free: 10.16 MB / 346.7 MB