Running command: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|pulse.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse") Notification: Performance of loadModel(Modelica_LinearSystems2): time 2.31/2.31, allocations: 251.5 MB / 266 MB, free: 0.6992 MB / 218.7 MB Notification: Performance of loadModel(Modelica_Synchronous): time 0.09943/0.09943, allocations: 12.61 MB / 336.6 MB, free: 14.74 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.558e-05/3.562e-05, allocations: 4 kB / 399.8 MB, free: 15.48 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4248/0.4248, allocations: 59.43 MB / 459.2 MB, free: 28.62 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.001644/0.4265, allocations: 1.191 MB / 460.4 MB, free: 27.42 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007971/0.4274, allocations: 449.2 kB / 460.8 MB, free: 26.97 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.872e-05/0.4275, allocations: 4 kB / 460.8 MB, free: 26.97 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.935e-05/0.4275, allocations: 7.922 kB / 460.8 MB, free: 26.96 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001365/0.4276, allocations: 11.92 kB / 460.8 MB, free: 26.95 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.4279, allocations: 23.97 kB / 460.9 MB, free: 26.93 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.937e-05/0.4279, allocations: 27.91 kB / 460.9 MB, free: 26.9 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.484e-05/0.428, allocations: 11.98 kB / 460.9 MB, free: 26.89 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.651e-05/0.4281, allocations: 19.97 kB / 460.9 MB, free: 26.87 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.599e-05/0.4282, allocations: 19.92 kB / 460.9 MB, free: 26.85 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.696e-05/0.4282, allocations: 0 / 460.9 MB, free: 26.85 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.4282, allocations: 4 kB / 460.9 MB, free: 26.84 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.443e-05/0.4282, allocations: 0 / 460.9 MB, free: 26.84 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.815e-05/0.4283, allocations: 4 kB / 461 MB, free: 26.84 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 7.033e-05/0.4283, allocations: 38.59 kB / 461 MB, free: 26.8 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.4283, allocations: 0 / 461 MB, free: 26.8 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4284, allocations: 0 / 461 MB, free: 26.8 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.4284, allocations: 0 / 461 MB, free: 26.8 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005116/0.4289, allocations: 371.1 kB / 461.4 MB, free: 26.39 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.429, allocations: 8.031 kB / 461.4 MB, free: 26.39 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.517e-05/0.429, allocations: 7.953 kB / 461.4 MB, free: 26.38 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.4292, allocations: 175 kB / 461.5 MB, free: 26.17 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.4292, allocations: 4 kB / 461.5 MB, free: 26.16 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.4293, allocations: 8 kB / 461.5 MB, free: 26.16 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004612/0.4297, allocations: 139.2 kB / 461.7 MB, free: 26.01 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.4298, allocations: 0 / 461.7 MB, free: 26.01 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.4298, allocations: 0 / 461.7 MB, free: 26.01 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.4298, allocations: 7.938 kB / 461.7 MB, free: 26 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/0.43, allocations: 39.91 kB / 461.7 MB, free: 25.96 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001331/0.4301, allocations: 169.5 kB / 461.9 MB, free: 25.75 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002419/0.4304, allocations: 131.7 kB / 462 MB, free: 25.59 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.4304, allocations: 3.984 kB / 462 MB, free: 25.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.4304, allocations: 38.69 kB / 462.1 MB, free: 25.54 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.014e-06/0.4305, allocations: 0 / 462.1 MB, free: 25.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003433/0.4308, allocations: 89.52 kB / 462.2 MB, free: 25.45 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.4309, allocations: 59.66 kB / 462.2 MB, free: 25.38 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.656e-05/0.431, allocations: 101 kB / 462.3 MB, free: 25.27 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.431, allocations: 25.7 kB / 462.3 MB, free: 25.24 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.807e-05/0.431, allocations: 84.14 kB / 462.4 MB, free: 25.15 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.463e-05/0.431, allocations: 4 kB / 462.4 MB, free: 25.15 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-06/0.431, allocations: 4 kB / 462.4 MB, free: 25.14 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.047e-05/0.4311, allocations: 322.8 kB / 462.7 MB, free: 24.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.152e-05/0.4311, allocations: 8 kB / 462.8 MB, free: 24.81 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.912e-05/0.4312, allocations: 41.16 kB / 462.8 MB, free: 24.75 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.873e-05/0.4312, allocations: 23.92 kB / 462.8 MB, free: 24.73 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4313, allocations: 0 / 462.8 MB, free: 24.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001294/0.4314, allocations: 73.47 kB / 462.9 MB, free: 24.65 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.4314, allocations: 9.094 kB / 462.9 MB, free: 24.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4314, allocations: 4 kB / 462.9 MB, free: 24.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.4315, allocations: 4.188 kB / 462.9 MB, free: 24.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.856e-05/0.4315, allocations: 8 kB / 462.9 MB, free: 24.63 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.4316, allocations: 8.406 kB / 462.9 MB, free: 24.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.859e-05/0.4316, allocations: 0 / 462.9 MB, free: 24.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-06/0.4316, allocations: 4 kB / 462.9 MB, free: 24.62 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,pulse.y) * 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 7.014e-05/0.4317, allocations: 125.7 kB / 463 MB, free: 24.48 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001822/0.4319, allocations: 65.69 kB / 463.1 MB, free: 24.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.707e-05/0.432, allocations: 8.375 kB / 463.1 MB, free: 24.41 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.432, allocations: 4 kB / 463.1 MB, free: 24.4 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.432, allocations: 4 kB / 463.1 MB, free: 24.4 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.432, allocations: 3.984 kB / 463.1 MB, free: 24.39 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.857e-05/0.4321, allocations: 169.5 kB / 463.3 MB, free: 24.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4321, allocations: 0 / 463.3 MB, free: 24.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.563e-05/0.4322, allocations: 8 kB / 463.3 MB, free: 24.17 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.4322, allocations: 0 / 463.3 MB, free: 24.17 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.4322, allocations: 3.984 kB / 463.3 MB, free: 24.17 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.4322, allocations: 0 / 463.3 MB, free: 24.17 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4322, allocations: 0 / 463.3 MB, free: 24.17 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.4325, allocations: 105 kB / 463.4 MB, free: 24.05 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.28e-05/0.4325, allocations: 92.94 kB / 463.5 MB, free: 23.94 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.4325, allocations: 3.938 kB / 463.5 MB, free: 23.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.4327, allocations: 11.98 kB / 463.5 MB, free: 23.92 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-06/0.4327, allocations: 4 kB / 463.5 MB, free: 23.92 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.4327, allocations: 4.125 kB / 463.5 MB, free: 23.91 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.878e-05/0.4328, allocations: 95.25 kB / 463.6 MB, free: 23.82 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.4328, allocations: 4 kB / 463.6 MB, free: 23.82 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002548/0.433, allocations: 8 kB / 463.6 MB, free: 23.81 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: 3 (pulse.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 9.299e-05/0.4331, allocations: 95.25 kB / 463.7 MB, free: 23.71 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001639/0.4333, allocations: 39.92 kB / 463.8 MB, free: 23.67 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4333, allocations: 0 / 463.8 MB, free: 23.67 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.72e-07/0.4334, allocations: 384 / 463.8 MB, free: 23.67 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.4337, allocations: 47.95 kB / 463.8 MB, free: 23.62 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003342/0.4341, allocations: 144.9 kB / 463.9 MB, free: 23.46 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/0.4342, allocations: 0.6848 MB / 464.6 MB, free: 22.75 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.863e-05/0.4342, allocations: 8.172 kB / 464.6 MB, free: 22.74 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.4343, allocations: 11.44 kB / 464.7 MB, free: 22.73 MB / 346.7 MB Notification: Performance of SimCode: time 8.12e-07/0.4343, allocations: 0 / 464.7 MB, free: 22.73 MB / 346.7 MB Notification: Performance of Templates: time 0.003369/0.4377, allocations: 0.5655 MB / 465.2 MB, free: 22.17 MB / 346.7 MB