Running command: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1") Notification: Performance of loadModel(Modelica_LinearSystems2): time 2.315/2.315, allocations: 251.5 MB / 266 MB, free: 0.6797 MB / 218.7 MB Notification: Performance of loadModel(Modelica_Synchronous): time 0.09579/0.09579, allocations: 12.6 MB / 336.6 MB, free: 14.73 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.338e-05/3.343e-05, allocations: 8 kB / 399.8 MB, free: 15.46 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4106/0.4106, allocations: 59.43 MB / 459.2 MB, free: 28.62 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1): time 0.001722/0.4124, allocations: 1.208 MB / 460.4 MB, free: 27.4 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004008/0.4128, allocations: 139.6 kB / 460.5 MB, free: 27.26 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.747e-05/0.4129, allocations: 4 kB / 460.5 MB, free: 27.26 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.782e-05/0.4129, allocations: 0 / 460.5 MB, free: 27.26 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.495e-05/0.4131, allocations: 3.938 kB / 460.5 MB, free: 27.25 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.4133, allocations: 35.89 kB / 460.6 MB, free: 27.22 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 7.56e-05/0.4134, allocations: 19.92 kB / 460.6 MB, free: 27.2 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.509e-05/0.4135, allocations: 7.984 kB / 460.6 MB, free: 27.19 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.635e-05/0.4135, allocations: 12 kB / 460.6 MB, free: 27.18 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.02e-05/0.4136, allocations: 11.92 kB / 460.6 MB, free: 27.17 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.366e-05/0.4136, allocations: 0 / 460.6 MB, free: 27.17 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.4136, allocations: 0 / 460.6 MB, free: 27.17 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.009e-05/0.4136, allocations: 7.938 kB / 460.6 MB, free: 27.16 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.525e-05/0.4137, allocations: 4 kB / 460.6 MB, free: 27.16 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 6.275e-05/0.4137, allocations: 34.61 kB / 460.7 MB, free: 27.12 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.4137, allocations: 0 / 460.7 MB, free: 27.12 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.4138, allocations: 0 / 460.7 MB, free: 27.12 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.827e-06/0.4138, allocations: 0 / 460.7 MB, free: 27.12 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.0003495/0.4141, allocations: 351.2 kB / 461 MB, free: 26.73 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.4142, allocations: 8.031 kB / 461 MB, free: 26.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.331e-05/0.4142, allocations: 7.906 kB / 461 MB, free: 26.72 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.4144, allocations: 186.9 kB / 461.2 MB, free: 26.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.4144, allocations: 0 / 461.2 MB, free: 26.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.4145, allocations: 11.94 kB / 461.2 MB, free: 26.48 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002743/0.4147, allocations: 117 kB / 461.3 MB, free: 26.35 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.4148, allocations: 0 / 461.3 MB, free: 26.35 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.4148, allocations: 0 / 461.3 MB, free: 26.35 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.4148, allocations: 0 / 461.3 MB, free: 26.35 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.555e-05/0.4149, allocations: 19.92 kB / 461.4 MB, free: 26.33 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002659/0.4152, allocations: 273.6 kB / 461.6 MB, free: 26.01 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.4153, allocations: 134.3 kB / 461.8 MB, free: 25.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.4154, allocations: 4.062 kB / 461.8 MB, free: 25.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.4154, allocations: 34.5 kB / 461.8 MB, free: 25.8 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/0.4154, allocations: 4 kB / 461.8 MB, free: 25.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002565/0.4157, allocations: 73.61 kB / 461.9 MB, free: 25.71 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.4157, allocations: 81.11 kB / 462 MB, free: 25.62 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.63e-05/0.4158, allocations: 122.9 kB / 462.1 MB, free: 25.49 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.336e-06/0.4159, allocations: 25.7 kB / 462.1 MB, free: 25.46 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.583e-05/0.4159, allocations: 92.12 kB / 462.2 MB, free: 25.37 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.536e-06/0.4159, allocations: 4.125 kB / 462.2 MB, free: 25.36 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/0.4159, allocations: 0 / 462.2 MB, free: 25.36 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.486e-05/0.416, allocations: 314.8 kB / 462.5 MB, free: 25.05 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.592e-05/0.4161, allocations: 15.98 kB / 462.5 MB, free: 25.03 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.687e-05/0.4161, allocations: 23.44 kB / 462.5 MB, free: 25 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.156e-05/0.4162, allocations: 19.98 kB / 462.6 MB, free: 24.98 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4162, allocations: 0 / 462.6 MB, free: 24.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001455/0.4163, allocations: 65.47 kB / 462.6 MB, free: 24.91 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.4164, allocations: 9.094 kB / 462.6 MB, free: 24.9 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.4164, allocations: 0 / 462.6 MB, free: 24.9 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.4164, allocations: 0 / 462.6 MB, free: 24.9 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.414e-05/0.4164, allocations: 4.125 kB / 462.6 MB, free: 24.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.4164, allocations: 4 kB / 462.6 MB, free: 24.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.578e-05/0.4165, allocations: 4 kB / 462.6 MB, free: 24.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.4165, allocations: 0 / 462.6 MB, free: 24.89 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.041e-05/0.4166, allocations: 125.8 kB / 462.8 MB, free: 24.75 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.284e-05/0.4167, allocations: 49.55 kB / 462.8 MB, free: 24.7 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.291e-05/0.4167, allocations: 11.89 kB / 462.8 MB, free: 24.68 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.4167, allocations: 0 / 462.8 MB, free: 24.68 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4168, allocations: 0 / 462.8 MB, free: 24.68 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.4168, allocations: 11.94 kB / 462.8 MB, free: 24.67 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.4169, allocations: 169.6 kB / 463 MB, free: 24.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.4169, allocations: 4 kB / 463 MB, free: 24.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.908e-06/0.417, allocations: 0 / 463 MB, free: 24.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.417, allocations: 0 / 463 MB, free: 24.45 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.417, allocations: 4 kB / 463 MB, free: 24.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.417, allocations: 0 / 463 MB, free: 24.45 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.417, allocations: 0 / 463 MB, free: 24.45 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.4172, allocations: 185.9 kB / 463.2 MB, free: 24.24 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.781e-05/0.4172, allocations: 93 kB / 463.3 MB, free: 24.13 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.4173, allocations: 0 / 463.3 MB, free: 24.13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.522e-05/0.4174, allocations: 3.938 kB / 463.3 MB, free: 24.13 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.4174, allocations: 8 kB / 463.3 MB, free: 24.12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.4174, allocations: 0 / 463.3 MB, free: 24.12 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.231e-05/0.4175, allocations: 101.1 kB / 463.4 MB, free: 24.02 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4175, allocations: 4 kB / 463.4 MB, free: 24.02 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002691/0.4178, allocations: 12 kB / 463.4 MB, free: 24.01 MB / 346.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: 4 (step.y,assignClock.u,assignClock.y,sample.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 7.608e-05/0.4179, allocations: 95.25 kB / 463.5 MB, free: 23.9 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001511/0.418, allocations: 28.3 kB / 463.5 MB, free: 23.88 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.418, allocations: 0 / 463.5 MB, free: 23.88 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.028e-05/0.4181, allocations: 4.25 kB / 463.5 MB, free: 23.87 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.4184, allocations: 40.84 kB / 463.6 MB, free: 23.83 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002919/0.4187, allocations: 149.9 kB / 463.7 MB, free: 23.65 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001386/0.4188, allocations: 0.6926 MB / 464.4 MB, free: 22.93 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.749e-05/0.4189, allocations: 11.98 kB / 464.4 MB, free: 22.92 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.451e-05/0.4189, allocations: 7.438 kB / 464.4 MB, free: 22.91 MB / 346.7 MB Notification: Performance of SimCode: time 6.01e-07/0.4189, allocations: 3.938 kB / 464.4 MB, free: 22.91 MB / 346.7 MB Notification: Performance of Templates: time 0.003017/0.4219, allocations: 439.3 kB / 464.9 MB, free: 22.49 MB / 346.7 MB