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 1.991/1.991, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.161e-05/3.175e-05, allocations: 4 kB / 284.3 MB, free: 8.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1422, allocations: 50.36 MB / 334.7 MB, free: 6.234 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3484/0.4907, allocations: 78.33 MB / 413 MB, free: 15.88 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/0.4909, allocations: 54.42 kB / 413 MB, free: 15.86 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005763/0.4967, allocations: 1.516 MB / 414.6 MB, free: 14.54 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.666e-06/0.4967, allocations: 0 / 414.6 MB, free: 14.54 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.4968, allocations: 4 kB / 414.6 MB, free: 14.53 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.0004559/0.4972, allocations: 366.1 kB / 414.9 MB, free: 14.13 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.4973, allocations: 12.03 kB / 414.9 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.285e-05/0.4974, allocations: 11.84 kB / 414.9 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.4976, allocations: 202.8 kB / 415.1 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.4977, allocations: 8 kB / 415.2 MB, free: 13.87 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.4977, allocations: 3.953 kB / 415.2 MB, free: 13.87 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002502/0.4979, allocations: 119 kB / 415.3 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.555e-06/0.498, allocations: 0 / 415.3 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.498, allocations: 4 kB / 415.3 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.23e-06/0.498, allocations: 0 / 415.3 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.902e-05/0.4981, allocations: 7.875 kB / 415.3 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003821/0.4985, allocations: 268.3 kB / 415.5 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.702e-05/0.4985, allocations: 26.45 kB / 415.6 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.746e-05/0.4986, allocations: 4.859 kB / 415.6 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.906e-06/0.4986, allocations: 4.062 kB / 415.6 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001131/0.4987, allocations: 55.28 kB / 415.6 MB, free: 13.32 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 4.918e-06/0.4988, allocations: 3.984 kB / 415.6 MB, free: 13.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001701/0.4989, allocations: 57.34 kB / 415.7 MB, free: 13.26 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.499, allocations: 59.22 kB / 415.8 MB, free: 13.2 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.4992, allocations: 137.7 kB / 415.9 MB, free: 13.06 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.4992, allocations: 25.7 kB / 415.9 MB, free: 13.03 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.901e-05/0.4993, allocations: 158.4 kB / 416.1 MB, free: 12.88 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.4993, allocations: 7.781 kB / 416.1 MB, free: 12.87 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-06/0.4994, allocations: 4 kB / 416.1 MB, free: 12.87 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.4995, allocations: 310.8 kB / 416.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.71e-05/0.4995, allocations: 7.5 kB / 416.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.406e-05/0.4996, allocations: 16.34 kB / 416.4 MB, free: 12.53 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.276e-05/0.4996, allocations: 15.94 kB / 416.4 MB, free: 12.52 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4997, allocations: 4 kB / 416.4 MB, free: 12.51 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000118/0.4998, allocations: 56.19 kB / 416.5 MB, free: 12.46 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.4998, allocations: 7.938 kB / 416.5 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.4998, allocations: 0 / 416.5 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.4998, allocations: 4 kB / 416.5 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.877e-05/0.4999, allocations: 0 / 416.5 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.4999, allocations: 0 / 416.5 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.878e-05/0.5, allocations: 11.94 kB / 416.5 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.5, allocations: 3.984 kB / 416.5 MB, free: 12.43 MB / 346.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 9.203e-05/0.5001, allocations: 120.1 kB / 416.6 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.245e-05/0.5002, allocations: 7.906 kB / 416.6 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.473e-05/0.5002, allocations: 6.719 kB / 416.6 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.743e-06/0.5002, allocations: 4 kB / 416.6 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.785e-06/0.5002, allocations: 3.938 kB / 416.6 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.909e-06/0.5003, allocations: 0 / 416.6 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004321/0.5007, allocations: 324.4 kB / 417 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.5007, allocations: 0 / 417 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.239e-05/0.5007, allocations: 4 kB / 417 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.5008, allocations: 3.984 kB / 417 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.713e-06/0.5008, allocations: 0 / 417 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.129e-06/0.5008, allocations: 0 / 417 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.5008, allocations: 128 / 417 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.501, allocations: 157.8 kB / 417.1 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.778e-05/0.5011, allocations: 100.1 kB / 417.2 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.5011, allocations: 4 kB / 417.2 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.5012, allocations: 7.984 kB / 417.2 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.5013, allocations: 0 / 417.2 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.405e-06/0.5013, allocations: 4 kB / 417.2 MB, free: 11.63 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001106/0.5014, allocations: 114.5 kB / 417.3 MB, free: 11.54 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.37e-07/0.5015, allocations: 0 / 417.3 MB, free: 11.54 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002993/0.5018, allocations: 8 kB / 417.4 MB, free: 11.53 MB / 346.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.0001118/0.5019, allocations: 106.7 kB / 417.5 MB, free: 11.42 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001032/0.502, allocations: 23.06 kB / 417.5 MB, free: 11.4 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.657e-06/0.502, allocations: 0 / 417.5 MB, free: 11.4 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.515e-05/0.5021, allocations: 11.38 kB / 417.5 MB, free: 11.39 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.5023, allocations: 22.94 kB / 417.5 MB, free: 11.37 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003476/0.5027, allocations: 145.5 kB / 417.7 MB, free: 11.21 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.5031, allocations: 0.7005 MB / 418.4 MB, free: 10.48 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.588e-05/0.5031, allocations: 11.44 kB / 418.4 MB, free: 10.47 MB / 346.7 MB Notification: Performance of SimCode: time 1.397e-06/0.5032, allocations: 0 / 418.4 MB, free: 10.47 MB / 346.7 MB Notification: Performance of Templates: time 0.002627/0.5058, allocations: 0.8629 MB / 419.2 MB, free: 9.613 MB / 346.7 MB