Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator") Notification: Performance of loadModel(Modelica_Synchronous): time 2.25/2.25, allocations: 218.4 MB / 234.2 MB, free: 5.578 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.298e-05/4.308e-05, allocations: 4 kB / 287.6 MB, free: 60 kB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.436/0.4361, allocations: 50.37 MB / 338 MB, free: 15.98 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator): time 0.002493/0.4386, allocations: 1.321 MB / 339.3 MB, free: 14.64 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.4398, allocations: 492.1 kB / 339.8 MB, free: 14.16 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.44, allocations: 3.938 kB / 339.8 MB, free: 14.15 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.396e-05/0.44, allocations: 3.984 kB / 339.8 MB, free: 14.15 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001397/0.4402, allocations: 19.91 kB / 339.8 MB, free: 14.13 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003124/0.4405, allocations: 39.89 kB / 339.8 MB, free: 14.09 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.4406, allocations: 27.91 kB / 339.9 MB, free: 14.06 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.079e-05/0.4407, allocations: 11.98 kB / 339.9 MB, free: 14.05 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.4409, allocations: 23.91 kB / 339.9 MB, free: 14.03 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.187e-05/0.4409, allocations: 19.86 kB / 339.9 MB, free: 14.01 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.002e-05/0.441, allocations: 4 kB / 339.9 MB, free: 14 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.441, allocations: 0 / 339.9 MB, free: 14 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.4411, allocations: 11.94 kB / 339.9 MB, free: 13.99 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.144e-05/0.4411, allocations: 4 kB / 339.9 MB, free: 13.99 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.4412, allocations: 39.91 kB / 340 MB, free: 13.95 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.4412, allocations: 0 / 340 MB, free: 13.95 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.4412, allocations: 0 / 340 MB, free: 13.95 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.4412, allocations: 0 / 340 MB, free: 13.95 MB / 282.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.0005716/0.4418, allocations: 365.1 kB / 340.3 MB, free: 13.55 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.4419, allocations: 8.031 kB / 340.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.773e-05/0.4419, allocations: 11.81 kB / 340.3 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.4422, allocations: 199.3 kB / 340.5 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.4423, allocations: 4 kB / 340.5 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.212e-05/0.4423, allocations: 4 kB / 340.5 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003924/0.4427, allocations: 117 kB / 340.7 MB, free: 13.15 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.4427, allocations: 0 / 340.7 MB, free: 13.15 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.4427, allocations: 0 / 340.7 MB, free: 13.15 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.4428, allocations: 4 kB / 340.7 MB, free: 13.15 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/0.4429, allocations: 23.98 kB / 340.7 MB, free: 13.12 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004495/0.4434, allocations: 281.7 kB / 341 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004582/0.4439, allocations: 77.19 kB / 341 MB, free: 12.7 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.4439, allocations: 4.078 kB / 341 MB, free: 12.7 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.4439, allocations: 38.5 kB / 341.1 MB, free: 12.65 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 2.465e-06/0.444, allocations: 0 / 341.1 MB, free: 12.65 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003924/0.4444, allocations: 89.58 kB / 341.2 MB, free: 12.56 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.002e-05/0.4445, allocations: 85.09 kB / 341.3 MB, free: 12.46 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.4447, allocations: 137.6 kB / 341.4 MB, free: 12.32 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.4447, allocations: 25.7 kB / 341.4 MB, free: 12.29 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.82e-05/0.4448, allocations: 158.6 kB / 341.6 MB, free: 12.13 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.707e-05/0.4449, allocations: 11.83 kB / 341.6 MB, free: 12.12 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.055e-06/0.4449, allocations: 4 kB / 341.6 MB, free: 12.11 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.445, allocations: 314.8 kB / 341.9 MB, free: 11.8 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.333e-05/0.4451, allocations: 19.98 kB / 341.9 MB, free: 11.78 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.4453, allocations: 48.28 kB / 342 MB, free: 11.71 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002155/0.4455, allocations: 105.1 kB / 342.1 MB, free: 11.59 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.4455, allocations: 0 / 342.1 MB, free: 11.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002917/0.4458, allocations: 97.45 kB / 342.2 MB, free: 11.49 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.4459, allocations: 8 kB / 342.2 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.4459, allocations: 0 / 342.2 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.4459, allocations: 0 / 342.2 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.446, allocations: 19.92 kB / 342.2 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.4461, allocations: 7.938 kB / 342.2 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.285e-05/0.4461, allocations: 8.156 kB / 342.2 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.4462, allocations: 4 kB / 342.2 MB, free: 11.45 MB / 282.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.0001714/0.4464, allocations: 121.8 kB / 342.3 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/0.4465, allocations: 61.91 kB / 342.4 MB, free: 11.25 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.77e-05/0.4466, allocations: 16.19 kB / 342.4 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.4466, allocations: 0 / 342.4 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.4466, allocations: 0 / 342.4 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.4466, allocations: 7.938 kB / 342.4 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/0.4469, allocations: 181.6 kB / 342.6 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.4469, allocations: 8 kB / 342.6 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001957/0.4471, allocations: 19.97 kB / 342.6 MB, free: 10.97 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.4471, allocations: 0 / 342.6 MB, free: 10.97 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.4472, allocations: 4 kB / 342.6 MB, free: 10.97 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.4472, allocations: 0 / 342.6 MB, free: 10.97 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.4472, allocations: 0 / 342.6 MB, free: 10.97 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003305/0.4475, allocations: 194 kB / 342.8 MB, free: 10.75 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.4476, allocations: 93 kB / 342.9 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.4477, allocations: 4 kB / 342.9 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.4478, allocations: 7.984 kB / 342.9 MB, free: 10.63 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.4479, allocations: 7.938 kB / 342.9 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.4479, allocations: 0 / 342.9 MB, free: 10.62 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000129/0.448, allocations: 111.8 kB / 343 MB, free: 10.52 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.448, allocations: 4 kB / 343 MB, free: 10.51 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003079/0.4483, allocations: 12 kB / 343 MB, free: 10.5 MB / 282.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.0001388/0.4485, allocations: 95.25 kB / 343.1 MB, free: 10.39 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002875/0.4488, allocations: 51.91 kB / 343.2 MB, free: 10.34 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4488, allocations: 320 / 343.2 MB, free: 10.34 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.971e-05/0.4489, allocations: 12 kB / 343.2 MB, free: 10.33 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003898/0.4493, allocations: 49.98 kB / 343.2 MB, free: 10.29 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005534/0.4499, allocations: 249.5 kB / 343.5 MB, free: 10.01 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.4503, allocations: 0.7004 MB / 344.2 MB, free: 9.281 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.862e-05/0.4503, allocations: 15.42 kB / 344.2 MB, free: 9.27 MB / 282.7 MB Notification: Performance of SimCode: time 1.132e-06/0.4503, allocations: 0 / 344.2 MB, free: 9.27 MB / 282.7 MB Notification: Performance of Templates: time 0.003298/0.4536, allocations: 0.9378 MB / 345.1 MB, free: 8.332 MB / 282.7 MB