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_LinearSystems2): time 2.295/2.295, allocations: 251.5 MB / 266 MB, free: 0.6875 MB / 218.7 MB Notification: Performance of loadModel(Modelica_Synchronous): time 0.1121/0.1121, allocations: 12.6 MB / 336.6 MB, free: 14.75 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.13e-05/4.139e-05, allocations: 4 kB / 399.8 MB, free: 15.48 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3972/0.3973, allocations: 59.44 MB / 459.2 MB, free: 28.62 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToSquare): time 0.002141/0.3995, allocations: 1.248 MB / 460.4 MB, free: 27.36 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008103/0.4003, allocations: 444.1 kB / 460.9 MB, free: 26.92 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.371e-05/0.4004, allocations: 4 kB / 460.9 MB, free: 26.92 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.273e-05/0.4004, allocations: 7.922 kB / 460.9 MB, free: 26.91 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.707e-05/0.4005, allocations: 3.984 kB / 460.9 MB, free: 26.91 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002929/0.4008, allocations: 31.91 kB / 460.9 MB, free: 26.88 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 7.084e-05/0.4009, allocations: 23.91 kB / 460.9 MB, free: 26.85 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.087e-05/0.401, allocations: 11.98 kB / 461 MB, free: 26.84 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.3e-05/0.4011, allocations: 12 kB / 461 MB, free: 26.83 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.156e-05/0.4011, allocations: 15.91 kB / 461 MB, free: 26.81 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.444e-05/0.4012, allocations: 4 kB / 461 MB, free: 26.81 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.4012, allocations: 0 / 461 MB, free: 26.81 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.4012, allocations: 11.92 kB / 461 MB, free: 26.8 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.767e-05/0.4012, allocations: 4 kB / 461 MB, free: 26.79 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 6.536e-05/0.4013, allocations: 30.62 kB / 461 MB, free: 26.77 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.4013, allocations: 4 kB / 461 MB, free: 26.76 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4013, allocations: 0 / 461 MB, free: 26.76 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.866e-06/0.4014, allocations: 0 / 461 MB, free: 26.76 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.0003771/0.4017, allocations: 347.2 kB / 461.4 MB, free: 26.38 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.4018, allocations: 8.031 kB / 461.4 MB, free: 26.37 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.505e-05/0.4018, allocations: 7.953 kB / 461.4 MB, free: 26.36 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.402, allocations: 171 kB / 461.6 MB, free: 26.15 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.4021, allocations: 8 kB / 461.6 MB, free: 26.14 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.4021, allocations: 11.94 kB / 461.6 MB, free: 26.13 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003257/0.4024, allocations: 125.8 kB / 461.7 MB, free: 25.99 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.4024, allocations: 0 / 461.7 MB, free: 25.99 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.4025, allocations: 0 / 461.7 MB, free: 25.99 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.4025, allocations: 7.938 kB / 461.7 MB, free: 25.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.4026, allocations: 39.91 kB / 461.8 MB, free: 25.94 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003224/0.403, allocations: 266.7 kB / 462 MB, free: 25.62 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.4032, allocations: 164.9 kB / 462.2 MB, free: 25.42 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.4033, allocations: 0 / 462.2 MB, free: 25.42 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/0.4033, allocations: 34.64 kB / 462.2 MB, free: 25.38 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.4033, allocations: 7.938 kB / 462.2 MB, free: 25.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003738/0.4037, allocations: 101.6 kB / 462.3 MB, free: 25.26 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/0.4037, allocations: 106.8 kB / 462.4 MB, free: 25.13 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.189e-05/0.4038, allocations: 109 kB / 462.5 MB, free: 25.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.4039, allocations: 25.95 kB / 462.6 MB, free: 24.99 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.51e-05/0.4039, allocations: 92.12 kB / 462.6 MB, free: 24.89 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.4039, allocations: 11.84 kB / 462.7 MB, free: 24.88 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-06/0.4039, allocations: 0 / 462.7 MB, free: 24.88 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.677e-05/0.404, allocations: 314.8 kB / 463 MB, free: 24.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.551e-05/0.4041, allocations: 19.98 kB / 463 MB, free: 24.55 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.549e-05/0.4042, allocations: 52.22 kB / 463 MB, free: 24.48 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.699e-05/0.4043, allocations: 19.98 kB / 463 MB, free: 24.46 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.4043, allocations: 0 / 463 MB, free: 24.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002329/0.4045, allocations: 97.45 kB / 463.1 MB, free: 24.36 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.4046, allocations: 4 kB / 463.1 MB, free: 24.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.4046, allocations: 0 / 463.1 MB, free: 24.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.4046, allocations: 4 kB / 463.2 MB, free: 24.35 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.4047, allocations: 11.98 kB / 463.2 MB, free: 24.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.4048, allocations: 3.953 kB / 463.2 MB, free: 24.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.043e-05/0.4048, allocations: 4 kB / 463.2 MB, free: 24.33 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.4049, allocations: 4 kB / 463.2 MB, free: 24.33 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 7.086e-05/0.4049, allocations: 118 kB / 463.3 MB, free: 24.2 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.112e-05/0.405, allocations: 53.91 kB / 463.3 MB, free: 24.14 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.694e-05/0.4051, allocations: 11.91 kB / 463.4 MB, free: 24.13 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.4051, allocations: 0 / 463.4 MB, free: 24.13 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.4051, allocations: 3.938 kB / 463.4 MB, free: 24.12 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.4051, allocations: 15.88 kB / 463.4 MB, free: 24.11 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.4053, allocations: 165.7 kB / 463.5 MB, free: 23.9 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4053, allocations: 0 / 463.5 MB, free: 23.9 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.893e-05/0.4054, allocations: 8 kB / 463.5 MB, free: 23.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.4054, allocations: 0 / 463.5 MB, free: 23.89 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.4055, allocations: 11.98 kB / 463.6 MB, free: 23.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.4055, allocations: 0 / 463.6 MB, free: 23.88 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.4055, allocations: 0 / 463.6 MB, free: 23.88 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.4057, allocations: 212.6 kB / 463.8 MB, free: 23.64 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.844e-05/0.4058, allocations: 85.02 kB / 463.8 MB, free: 23.54 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.4058, allocations: 0 / 463.8 MB, free: 23.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.406, allocations: 11.95 kB / 463.9 MB, free: 23.52 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/0.406, allocations: 3.984 kB / 463.9 MB, free: 23.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.406, allocations: 4 kB / 463.9 MB, free: 23.52 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.933e-05/0.4061, allocations: 87.28 kB / 464 MB, free: 23.43 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.4061, allocations: 0 / 464 MB, free: 23.43 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002854/0.4064, allocations: 8 kB / 464 MB, free: 23.42 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 9.816e-05/0.4065, allocations: 111.2 kB / 464.1 MB, free: 23.3 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002193/0.4067, allocations: 43.92 kB / 464.1 MB, free: 23.26 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4067, allocations: 0 / 464.1 MB, free: 23.26 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.328e-05/0.4068, allocations: 20.3 kB / 464.1 MB, free: 23.24 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.4071, allocations: 24.34 kB / 464.2 MB, free: 23.21 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003544/0.4074, allocations: 170.5 kB / 464.3 MB, free: 23.02 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001344/0.4076, allocations: 0.6927 MB / 465 MB, free: 22.3 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.265e-05/0.4076, allocations: 16.05 kB / 465 MB, free: 22.29 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.267e-05/0.4077, allocations: 7.438 kB / 465 MB, free: 22.28 MB / 346.7 MB Notification: Performance of SimCode: time 5.91e-07/0.4077, allocations: 0 / 465 MB, free: 22.28 MB / 346.7 MB Notification: Performance of Templates: time 0.003031/0.4107, allocations: 440.1 kB / 465.5 MB, free: 21.85 MB / 346.7 MB