Running command: "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestExactClockWithIntegrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.254/2.254, allocations: 218.4 MB / 231.1 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.085e-05/5.108e-05, allocations: 4 kB / 284.4 MB, free: 8.109 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.121, allocations: 50.36 MB / 334.8 MB, free: 5.648 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4496/0.5706, allocations: 78.65 MB / 413.4 MB, free: 15.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/0.5709, allocations: 68.2 kB / 413.5 MB, free: 15.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007446/0.5784, allocations: 1.774 MB / 415.3 MB, free: 13.74 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.57e-06/0.5784, allocations: 0 / 415.3 MB, free: 13.74 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.812e-05/0.5784, allocations: 11.94 kB / 415.3 MB, free: 13.73 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005568/0.579, allocations: 365.3 kB / 415.6 MB, free: 13.33 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/0.5791, allocations: 12.03 kB / 415.7 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.839e-05/0.5791, allocations: 34.56 kB / 415.7 MB, free: 13.28 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.103e-05/0.5792, allocations: 7.906 kB / 415.7 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.5795, allocations: 202.2 kB / 415.9 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.5795, allocations: 3.953 kB / 415.9 MB, free: 13.03 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.005e-05/0.5796, allocations: 7.188 kB / 415.9 MB, free: 13.03 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003354/0.5799, allocations: 103.1 kB / 416 MB, free: 12.92 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.5799, allocations: 4 kB / 416 MB, free: 12.92 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.58, allocations: 7.875 kB / 416 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.58, allocations: 0 / 416 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.043e-05/0.5801, allocations: 15.75 kB / 416 MB, free: 12.9 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005748/0.5806, allocations: 279 kB / 416.3 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004418/0.5811, allocations: 78.89 kB / 416.4 MB, free: 12.5 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.349e-05/0.5812, allocations: 23.72 kB / 416.4 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.5812, allocations: 4 kB / 416.4 MB, free: 12.47 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.5813, allocations: 34.64 kB / 416.4 MB, free: 12.43 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.465e-06/0.5813, allocations: 4 kB / 416.4 MB, free: 12.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.000248/0.5815, allocations: 68.75 kB / 416.5 MB, free: 12.36 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.878e-05/0.5816, allocations: 77.11 kB / 416.6 MB, free: 12.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.5818, allocations: 133 kB / 416.7 MB, free: 12.14 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.5819, allocations: 29.69 kB / 416.7 MB, free: 12.1 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.64e-05/0.5819, allocations: 91.3 kB / 416.8 MB, free: 12.01 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.582, allocations: 2.75 kB / 416.8 MB, free: 12.01 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.582, allocations: 0 / 416.8 MB, free: 12.01 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.5822, allocations: 330.3 kB / 417.2 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.879e-05/0.5822, allocations: 7.438 kB / 417.2 MB, free: 11.68 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.645e-05/0.5823, allocations: 42.61 kB / 417.2 MB, free: 11.63 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.5825, allocations: 107.8 kB / 417.3 MB, free: 11.51 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.5825, allocations: 0 / 417.3 MB, free: 11.51 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001869/0.5827, allocations: 71.66 kB / 417.4 MB, free: 11.44 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.5828, allocations: 4 kB / 417.4 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.5828, allocations: 0 / 417.4 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.5828, allocations: 4 kB / 417.4 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.583, allocations: 15.98 kB / 417.4 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.583, allocations: 0 / 417.4 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.622e-05/0.5831, allocations: 22.94 kB / 417.4 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.5831, allocations: 7.984 kB / 417.4 MB, free: 11.39 MB / 346.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: firstOrder.y = firstOrder.y_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * 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.00012/0.5832, allocations: 119.8 kB / 417.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.5834, allocations: 53.34 kB / 417.6 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.799e-05/0.5834, allocations: 14.34 kB / 417.6 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.5835, allocations: 0 / 417.6 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.5835, allocations: 0 / 417.6 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.5835, allocations: 0 / 417.6 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002459/0.5837, allocations: 176.3 kB / 417.8 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.5838, allocations: 4 kB / 417.8 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000186/0.584, allocations: 23.36 kB / 417.8 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.584, allocations: 3.984 kB / 417.8 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.584, allocations: 3.938 kB / 417.8 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.584, allocations: 4 kB / 417.8 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.584, allocations: 0 / 417.8 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.5842, allocations: 183.7 kB / 418 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.512e-05/0.5843, allocations: 89 kB / 418.1 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/0.5844, allocations: 7.359 kB / 418.1 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.5845, allocations: 8.062 kB / 418.1 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.29e-05/0.5846, allocations: 3.938 kB / 418.1 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.5846, allocations: 4 kB / 418.1 MB, free: 10.64 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001066/0.5847, allocations: 116.5 kB / 418.2 MB, free: 10.54 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5847, allocations: 0 / 418.2 MB, free: 10.54 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003112/0.585, allocations: 15.19 kB / 418.3 MB, free: 10.53 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0005987/0.5856, allocations: 0.8052 MB / 419.1 MB, free: 9.711 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001666/0.5858, allocations: 38.42 kB / 419.1 MB, free: 9.68 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.5858, allocations: 4 kB / 419.1 MB, free: 9.676 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.595e-05/0.5859, allocations: 3.312 kB / 419.1 MB, free: 9.676 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.5863, allocations: 26.08 kB / 419.1 MB, free: 9.656 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005573/0.5868, allocations: 161.5 kB / 419.3 MB, free: 9.469 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.5871, allocations: 0.7004 MB / 420 MB, free: 8.742 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.554e-05/0.5872, allocations: 15.83 kB / 420 MB, free: 8.727 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.673e-05/0.5873, allocations: 19.19 kB / 420 MB, free: 8.719 MB / 346.7 MB Notification: Performance of SimCode: time 8.41e-07/0.5873, allocations: 0 / 420 MB, free: 8.719 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02446/0.6118, allocations: 1.683 MB / 421.7 MB, free: 7.102 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002711/0.6121, allocations: 185.6 kB / 421.9 MB, free: 6.871 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.393/3.005, allocations: 4 kB / 421.9 MB, free: 6.867 MB / 346.7 MB