Running command: "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_WorkInProgress_Tests_TestExactClockWithIntegrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.183/2.183, allocations: 218.4 MB / 231.5 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.125e-05/4.141e-05, allocations: 0 / 284.4 MB, free: 8.602 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1076, allocations: 50.36 MB / 334.8 MB, free: 6.141 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4253/0.5329, allocations: 78.71 MB / 413.5 MB, free: 15.12 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.5332, allocations: 59.78 kB / 413.5 MB, free: 15.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007886/0.5411, allocations: 1.787 MB / 415.3 MB, free: 13.55 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.178e-06/0.5411, allocations: 0 / 415.3 MB, free: 13.55 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.494e-05/0.5412, allocations: 7.938 kB / 415.3 MB, free: 13.55 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.0005294/0.5417, allocations: 365.8 kB / 415.7 MB, free: 13.15 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.5418, allocations: 8.031 kB / 415.7 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.433e-05/0.5418, allocations: 38.44 kB / 415.7 MB, free: 13.1 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.979e-05/0.5419, allocations: 7.906 kB / 415.7 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.5422, allocations: 202.9 kB / 415.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.5422, allocations: 3.953 kB / 415.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.5422, allocations: 7.938 kB / 415.9 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003149/0.5426, allocations: 100.5 kB / 416 MB, free: 12.74 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.5426, allocations: 0 / 416 MB, free: 12.74 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.5426, allocations: 4 kB / 416 MB, free: 12.74 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.5426, allocations: 4 kB / 416.1 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.941e-05/0.5427, allocations: 15.81 kB / 416.1 MB, free: 12.72 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005524/0.5433, allocations: 281 kB / 416.3 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004214/0.5437, allocations: 76.83 kB / 416.4 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.356e-05/0.5438, allocations: 21.59 kB / 416.4 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.5438, allocations: 0 / 416.4 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.5439, allocations: 34.66 kB / 416.5 MB, free: 12.26 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.983e-06/0.5439, allocations: 0 / 416.5 MB, free: 12.26 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002401/0.5441, allocations: 69.2 kB / 416.5 MB, free: 12.19 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.468e-05/0.5442, allocations: 85.14 kB / 416.6 MB, free: 12.09 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.5444, allocations: 128.5 kB / 416.7 MB, free: 11.96 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.5445, allocations: 33.2 kB / 416.8 MB, free: 11.93 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.237e-05/0.5445, allocations: 158.4 kB / 416.9 MB, free: 11.78 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.5446, allocations: 3.984 kB / 416.9 MB, free: 11.77 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-06/0.5446, allocations: 0 / 416.9 MB, free: 11.77 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.5447, allocations: 322.7 kB / 417.3 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.151e-05/0.5448, allocations: 4 kB / 417.3 MB, free: 11.45 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.511e-05/0.5449, allocations: 47.86 kB / 417.3 MB, free: 11.39 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/0.5451, allocations: 104.7 kB / 417.4 MB, free: 11.28 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.5451, allocations: 3.938 kB / 417.4 MB, free: 11.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001911/0.5453, allocations: 80.83 kB / 417.5 MB, free: 11.2 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.5453, allocations: 8 kB / 417.5 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.5454, allocations: 0 / 417.5 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.5454, allocations: 0 / 417.5 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.5455, allocations: 12 kB / 417.5 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/0.5456, allocations: 4 kB / 417.5 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.168e-05/0.5457, allocations: 15.86 kB / 417.5 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.5457, allocations: 4.156 kB / 417.5 MB, free: 11.16 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.0001324/0.5458, allocations: 120.5 kB / 417.7 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.546, allocations: 53.47 kB / 417.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.218e-05/0.5461, allocations: 11.91 kB / 417.7 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.5461, allocations: 0 / 417.7 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.5461, allocations: 4 kB / 417.7 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.5461, allocations: 3.984 kB / 417.7 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.5464, allocations: 181.3 kB / 417.9 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.5464, allocations: 3.984 kB / 417.9 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002078/0.5466, allocations: 19.98 kB / 417.9 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.839e-06/0.5466, allocations: 4 kB / 417.9 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.5466, allocations: 3.938 kB / 417.9 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.5467, allocations: 0 / 417.9 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5467, allocations: 0 / 417.9 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.5469, allocations: 177.5 kB / 418.1 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.411e-05/0.547, allocations: 100.8 kB / 418.2 MB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.95e-05/0.5471, allocations: 4 kB / 418.2 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.5472, allocations: 7.938 kB / 418.2 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/0.5473, allocations: 4 kB / 418.2 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-06/0.5473, allocations: 0 / 418.2 MB, free: 10.41 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001229/0.5474, allocations: 111.6 kB / 418.3 MB, free: 10.3 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.5474, allocations: 0 / 418.3 MB, free: 10.3 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003616/0.5478, allocations: 19.84 kB / 418.3 MB, free: 10.29 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.000779/0.5486, allocations: 0.8017 MB / 419.1 MB, free: 9.477 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002487/0.5489, allocations: 39.55 kB / 419.2 MB, free: 9.445 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5489, allocations: 0 / 419.2 MB, free: 9.445 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.973e-05/0.5489, allocations: 4.375 kB / 419.2 MB, free: 9.441 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.5493, allocations: 33.83 kB / 419.2 MB, free: 9.418 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006431/0.55, allocations: 185.5 kB / 419.4 MB, free: 9.199 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.5504, allocations: 0.7043 MB / 420.1 MB, free: 8.469 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.371e-05/0.5504, allocations: 22.69 kB / 420.1 MB, free: 8.457 MB / 346.7 MB Notification: Performance of SimCode: time 1.704e-06/0.5505, allocations: 0 / 420.1 MB, free: 8.457 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.36/2.91, allocations: 1.317 MB / 421.4 MB, free: 7.152 MB / 346.7 MB