Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator") Notification: Performance of loadModel(Modelica_Synchronous): time 2.177/2.177, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.502e-05/3.512e-05, allocations: 4 kB / 284.3 MB, free: 8.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08931/0.08937, allocations: 50.37 MB / 334.7 MB, free: 6.23 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3584/0.4478, allocations: 79.02 MB / 413.7 MB, free: 15.2 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001902/0.448, allocations: 64.97 kB / 413.8 MB, free: 15.16 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007028/0.4551, allocations: 1.731 MB / 415.5 MB, free: 13.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.717e-06/0.4551, allocations: 1.859 kB / 415.5 MB, free: 13.66 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.4552, allocations: 0 / 415.5 MB, free: 13.66 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.0005469/0.4557, allocations: 380.8 kB / 415.9 MB, free: 13.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.4558, allocations: 12.03 kB / 415.9 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.586e-05/0.4558, allocations: 7.906 kB / 415.9 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.4561, allocations: 183 kB / 416.1 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.4561, allocations: 3.953 kB / 416.1 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.4561, allocations: 7.375 kB / 416.1 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002854/0.4564, allocations: 118.1 kB / 416.2 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.893e-06/0.4565, allocations: 0 / 416.2 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.4565, allocations: 3.875 kB / 416.2 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.4565, allocations: 4 kB / 416.2 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.705e-05/0.4566, allocations: 19.81 kB / 416.2 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006016/0.4572, allocations: 387.5 kB / 416.6 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000382/0.4576, allocations: 104.5 kB / 416.7 MB, free: 12.33 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.894e-05/0.4577, allocations: 36.77 kB / 416.7 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.4578, allocations: 0 / 416.7 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.458, allocations: 93.08 kB / 416.8 MB, free: 12.19 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 2.541e-06/0.458, allocations: 0 / 416.8 MB, free: 12.19 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002627/0.4582, allocations: 84.7 kB / 416.9 MB, free: 12.11 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.473e-05/0.4584, allocations: 109.7 kB / 417 MB, free: 11.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.4585, allocations: 118.2 kB / 417.1 MB, free: 11.87 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.4585, allocations: 25.7 kB / 417.2 MB, free: 11.84 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.547e-05/0.4586, allocations: 157.9 kB / 417.3 MB, free: 11.68 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/0.4587, allocations: 15.3 kB / 417.3 MB, free: 11.67 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.753e-06/0.4587, allocations: 11.41 kB / 417.3 MB, free: 11.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.4589, allocations: 314.8 kB / 417.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.832e-05/0.4589, allocations: 23.19 kB / 417.7 MB, free: 11.33 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.408e-05/0.459, allocations: 64.31 kB / 417.7 MB, free: 11.25 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.4592, allocations: 112.4 kB / 417.8 MB, free: 11.13 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.669e-06/0.4593, allocations: 4 kB / 417.8 MB, free: 11.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002433/0.4595, allocations: 99.58 kB / 417.9 MB, free: 11.04 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.4595, allocations: 4 kB / 417.9 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.609e-06/0.4596, allocations: 4.188 kB / 417.9 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.4596, allocations: 4 kB / 418 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.4597, allocations: 22.98 kB / 418 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.4598, allocations: 3.938 kB / 418 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.4599, allocations: 19.92 kB / 418 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.4599, allocations: 4 kB / 418 MB, free: 10.98 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: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001254/0.4601, allocations: 116.2 kB / 418.1 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.4602, allocations: 56.03 kB / 418.2 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.932e-05/0.4603, allocations: 19.03 kB / 418.2 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.472e-06/0.4603, allocations: 0 / 418.2 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.142e-06/0.4603, allocations: 0 / 418.2 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.4603, allocations: 3.984 kB / 418.2 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005154/0.4608, allocations: 336.3 kB / 418.5 MB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.475e-06/0.4609, allocations: 4 kB / 418.5 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.461, allocations: 23.97 kB / 418.5 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.118e-06/0.461, allocations: 4 kB / 418.6 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.4611, allocations: 3.625 kB / 418.6 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.754e-06/0.4611, allocations: 0 / 418.6 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.4611, allocations: 7.938 kB / 418.6 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.4614, allocations: 221.4 kB / 418.8 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.028e-05/0.4615, allocations: 89.05 kB / 418.9 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.4615, allocations: 7.188 kB / 418.9 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.4617, allocations: 11.98 kB / 418.9 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.588e-05/0.4618, allocations: 11.94 kB / 418.9 MB, free: 10.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.4618, allocations: 7.5 kB / 418.9 MB, free: 10.01 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.49e-05/0.4619, allocations: 94.64 kB / 419 MB, free: 9.918 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.229e-06/0.4619, allocations: 4 kB / 419 MB, free: 9.914 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003571/0.4623, allocations: 23.81 kB / 419 MB, free: 9.895 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: 4 (booleanPulse.y,$whenCondition1,booleanPulse.pulseStart,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001285/0.4624, allocations: 98.97 kB / 419.1 MB, free: 9.793 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002129/0.4626, allocations: 54.67 kB / 419.2 MB, free: 9.75 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.292e-06/0.4627, allocations: 0 / 419.2 MB, free: 9.75 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.263e-05/0.4627, allocations: 19.34 kB / 419.2 MB, free: 9.734 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.4631, allocations: 31.31 kB / 419.2 MB, free: 9.711 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004219/0.4636, allocations: 165.2 kB / 419.4 MB, free: 9.527 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.464, allocations: 0.7004 MB / 420.1 MB, free: 8.801 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.433e-05/0.464, allocations: 19.42 kB / 420.1 MB, free: 8.785 MB / 346.7 MB Notification: Performance of SimCode: time 1.446e-06/0.464, allocations: 0 / 420.1 MB, free: 8.785 MB / 346.7 MB Notification: Performance of Templates: time 0.003279/0.4673, allocations: 1.169 MB / 421.3 MB, free: 7.625 MB / 346.7 MB