Running command: translateModel(Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks") Notification: Performance of loadModel(Modelica_Synchronous): time 2.598/2.598, allocations: 218.4 MB / 234.2 MB, free: 5.582 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.698e-05/3.686e-05, allocations: 0 / 287.6 MB, free: 76 kB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.365, allocations: 50.37 MB / 338 MB, free: 16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.ForDocumentation.TheDifferentClocks): time 0.002401/0.3674, allocations: 1.203 MB / 339.2 MB, free: 14.77 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.3687, allocations: 468.7 kB / 339.6 MB, free: 14.31 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.485e-05/0.3688, allocations: 0 / 339.6 MB, free: 14.31 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.199e-05/0.3689, allocations: 3.938 kB / 339.6 MB, free: 14.3 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.369, allocations: 11.97 kB / 339.6 MB, free: 14.29 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004302/0.3695, allocations: 55.81 kB / 339.7 MB, free: 14.24 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.3696, allocations: 35.91 kB / 339.7 MB, free: 14.2 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.105e-05/0.3697, allocations: 11.98 kB / 339.7 MB, free: 14.19 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.776e-05/0.3698, allocations: 15.98 kB / 339.8 MB, free: 14.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.426e-05/0.3698, allocations: 15.86 kB / 339.8 MB, free: 14.16 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.076e-05/0.3699, allocations: 4 kB / 339.8 MB, free: 14.16 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.3699, allocations: 0 / 339.8 MB, free: 14.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.506e-05/0.3699, allocations: 15.92 kB / 339.8 MB, free: 14.14 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.207e-05/0.37, allocations: 4 kB / 339.8 MB, free: 14.14 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001221/0.3701, allocations: 39.92 kB / 339.8 MB, free: 14.1 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3701, allocations: 0 / 339.8 MB, free: 14.1 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.836e-06/0.3701, allocations: 4 kB / 339.8 MB, free: 14.09 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.3702, allocations: 0 / 339.8 MB, free: 14.09 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006521/0.3708, allocations: 365.1 kB / 340.2 MB, free: 13.69 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.3709, allocations: 12.03 kB / 340.2 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.931e-05/0.3709, allocations: 15.75 kB / 340.2 MB, free: 13.66 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.3713, allocations: 195.4 kB / 340.4 MB, free: 13.43 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.3713, allocations: 8 kB / 340.4 MB, free: 13.43 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.3713, allocations: 7.938 kB / 340.4 MB, free: 13.42 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003133/0.3717, allocations: 119.5 kB / 340.5 MB, free: 13.27 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3717, allocations: 0 / 340.5 MB, free: 13.27 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.3717, allocations: 11.98 kB / 340.6 MB, free: 13.26 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.3717, allocations: 4 kB / 340.6 MB, free: 13.26 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.622e-05/0.3718, allocations: 7.984 kB / 340.6 MB, free: 13.25 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004714/0.3723, allocations: 260.9 kB / 340.8 MB, free: 12.95 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.775e-05/0.3724, allocations: 26.52 kB / 340.8 MB, free: 12.91 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.3724, allocations: 0 / 340.8 MB, free: 12.91 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001596/0.3726, allocations: 63.45 kB / 340.9 MB, free: 12.84 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 2.294e-06/0.3726, allocations: 0 / 340.9 MB, free: 12.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002515/0.3729, allocations: 65.53 kB / 341 MB, free: 12.77 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.589e-05/0.3729, allocations: 51.41 kB / 341 MB, free: 12.7 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.3731, allocations: 145.2 kB / 341.2 MB, free: 12.55 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.3732, allocations: 29.7 kB / 341.2 MB, free: 12.52 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.3733, allocations: 154.6 kB / 341.3 MB, free: 12.37 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.3733, allocations: 15.89 kB / 341.4 MB, free: 12.35 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-06/0.3734, allocations: 0 / 341.4 MB, free: 12.35 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3735, allocations: 318.8 kB / 341.7 MB, free: 12.03 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.979e-05/0.3736, allocations: 4 kB / 341.7 MB, free: 12.03 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.481e-05/0.3736, allocations: 21.7 kB / 341.7 MB, free: 12 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.599e-05/0.3737, allocations: 12 kB / 341.7 MB, free: 11.99 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.3737, allocations: 0 / 341.7 MB, free: 11.99 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001303/0.3738, allocations: 53.66 kB / 341.8 MB, free: 11.93 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.3739, allocations: 8 kB / 341.8 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3739, allocations: 0 / 341.8 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.3739, allocations: 0 / 341.8 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.76e-05/0.374, allocations: 8.125 kB / 341.8 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.374, allocations: 0 / 341.8 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.3742, allocations: 15.98 kB / 341.8 MB, free: 11.9 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/0.3742, allocations: 0 / 341.8 MB, free: 11.9 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (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 prepare postOptimizeDAE: time 0.0001291/0.3743, allocations: 120.9 kB / 341.9 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.148e-05/0.3744, allocations: 15.84 kB / 341.9 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.231e-05/0.3744, allocations: 20.17 kB / 341.9 MB, free: 11.74 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.3744, allocations: 0 / 341.9 MB, free: 11.74 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.3745, allocations: 4 kB / 341.9 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3745, allocations: 3.938 kB / 342 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005324/0.375, allocations: 322.5 kB / 342.3 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-06/0.375, allocations: 0 / 342.3 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.799e-06/0.375, allocations: 4 kB / 342.3 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.373e-06/0.3751, allocations: 4 kB / 342.3 MB, free: 11.35 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.3751, allocations: 0 / 342.3 MB, free: 11.35 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.3751, allocations: 0 / 342.3 MB, free: 11.35 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3751, allocations: 3.938 kB / 342.3 MB, free: 11.35 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.3753, allocations: 159.7 kB / 342.4 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.104e-05/0.3754, allocations: 96.98 kB / 342.5 MB, free: 11.06 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.3754, allocations: 0 / 342.5 MB, free: 11.06 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.3756, allocations: 12 kB / 342.5 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/0.3756, allocations: 3.984 kB / 342.5 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.3757, allocations: 0 / 342.5 MB, free: 11.05 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001231/0.3758, allocations: 115.8 kB / 342.7 MB, free: 10.93 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3758, allocations: 0 / 342.7 MB, free: 10.93 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002849/0.3761, allocations: 8 kB / 342.7 MB, free: 10.93 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (4): * Single equations (assignments): 3 * 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.0001352/0.3762, allocations: 95.25 kB / 342.8 MB, free: 10.82 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001379/0.3764, allocations: 35.92 kB / 342.8 MB, free: 10.79 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3764, allocations: 0 / 342.8 MB, free: 10.79 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.835e-05/0.3765, allocations: 8 kB / 342.8 MB, free: 10.78 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.3768, allocations: 19.94 kB / 342.8 MB, free: 10.76 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005073/0.3773, allocations: 203 kB / 343 MB, free: 10.52 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.3777, allocations: 0.7004 MB / 343.7 MB, free: 9.797 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.836e-05/0.3777, allocations: 15.38 kB / 343.7 MB, free: 9.785 MB / 282.7 MB Notification: Performance of SimCode: time 2.765e-06/0.3777, allocations: 0 / 343.7 MB, free: 9.785 MB / 282.7 MB Notification: Performance of Templates: time 0.003165/0.3809, allocations: 0.8893 MB / 344.6 MB, free: 8.898 MB / 282.7 MB