Running command: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|hold.y|sample.y|shiftSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold") Notification: Performance of loadModel(Modelica_LinearSystems2): time 2.306/2.306, allocations: 251.5 MB / 266 MB, free: 0.6914 MB / 218.7 MB Notification: Performance of loadModel(Modelica_Synchronous): time 0.1382/0.1382, allocations: 12.6 MB / 336.6 MB, free: 14.75 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.086e-05/4.076e-05, allocations: 8 kB / 399.8 MB, free: 15.48 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4265/0.4266, allocations: 59.43 MB / 459.2 MB, free: 28.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold): time 0.003516/0.4302, allocations: 1.573 MB / 460.8 MB, free: 27.05 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002629/0.4328, allocations: 0.8587 MB / 461.6 MB, free: 26.18 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.433, allocations: 8 kB / 461.6 MB, free: 26.18 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00088/0.4339, allocations: 151.6 kB / 461.8 MB, free: 26.03 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003826/0.4343, allocations: 87.73 kB / 461.9 MB, free: 25.94 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009008/0.4353, allocations: 143.6 kB / 462 MB, free: 25.8 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002552/0.4355, allocations: 83.83 kB / 462.1 MB, free: 25.72 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.4357, allocations: 26.66 kB / 462.1 MB, free: 25.7 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.4359, allocations: 55.78 kB / 462.2 MB, free: 25.64 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.436, allocations: 51.83 kB / 462.2 MB, free: 25.59 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001828/0.4362, allocations: 35.92 kB / 462.3 MB, free: 25.55 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.733e-05/0.4363, allocations: 4 kB / 462.3 MB, free: 25.55 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.584e-05/0.4364, allocations: 39.83 kB / 462.3 MB, free: 25.51 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.882e-05/0.4365, allocations: 8 kB / 462.3 MB, free: 25.5 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003309/0.4368, allocations: 151.7 kB / 462.5 MB, free: 25.36 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.4368, allocations: 0 / 462.5 MB, free: 25.36 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.4368, allocations: 4 kB / 462.5 MB, free: 25.35 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.4369, allocations: 0 / 462.5 MB, free: 25.35 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007333/0.4376, allocations: 468.5 kB / 462.9 MB, free: 24.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.4377, allocations: 8.031 kB / 462.9 MB, free: 24.83 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.644e-05/0.4378, allocations: 15.81 kB / 462.9 MB, free: 24.82 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005003/0.4383, allocations: 265.6 kB / 463.2 MB, free: 24.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.4383, allocations: 4 kB / 463.2 MB, free: 24.51 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.4384, allocations: 12 kB / 463.2 MB, free: 24.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004963/0.4389, allocations: 163.5 kB / 463.4 MB, free: 24.31 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.4389, allocations: 0 / 463.4 MB, free: 24.31 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.439, allocations: 4 kB / 463.4 MB, free: 24.31 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.439, allocations: 7.938 kB / 463.4 MB, free: 24.3 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001917/0.4392, allocations: 43.91 kB / 463.4 MB, free: 24.26 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007065/0.4399, allocations: 442.6 kB / 463.9 MB, free: 23.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004183/0.4404, allocations: 138.5 kB / 464 MB, free: 23.59 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.04e-05/0.4404, allocations: 4.125 kB / 464 MB, free: 23.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002903/0.4408, allocations: 93 kB / 464.1 MB, free: 23.48 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 2.936e-06/0.4408, allocations: 0 / 464.1 MB, free: 23.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007126/0.4415, allocations: 165.2 kB / 464.3 MB, free: 23.31 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.684e-05/0.4416, allocations: 166.6 kB / 464.4 MB, free: 23.11 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004844/0.4421, allocations: 244.2 kB / 464.7 MB, free: 22.87 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/0.4422, allocations: 33.64 kB / 464.7 MB, free: 22.83 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.4423, allocations: 120.3 kB / 464.8 MB, free: 22.71 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.919e-05/0.4424, allocations: 27.8 kB / 464.8 MB, free: 22.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.122e-05/0.4424, allocations: 0 / 464.8 MB, free: 22.68 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.096e-05/0.4425, allocations: 326.8 kB / 465.2 MB, free: 22.36 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.4427, allocations: 27.98 kB / 465.2 MB, free: 22.33 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.4429, allocations: 82.84 kB / 465.3 MB, free: 22.22 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.4431, allocations: 27.94 kB / 465.3 MB, free: 22.2 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.4431, allocations: 4.031 kB / 465.3 MB, free: 22.19 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005028/0.4436, allocations: 125.4 kB / 465.4 MB, free: 22.06 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.4437, allocations: 7.953 kB / 465.4 MB, free: 22.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.4437, allocations: 4 kB / 465.4 MB, free: 22.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.4437, allocations: 0 / 465.4 MB, free: 22.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.4439, allocations: 15.98 kB / 465.4 MB, free: 22.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.4439, allocations: 3.938 kB / 465.4 MB, free: 22.03 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.4442, allocations: 20.06 kB / 465.5 MB, free: 22.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.4442, allocations: 7.984 kB / 465.5 MB, free: 22 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: 11 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,shiftSample.y,hold.u,hold.y,shiftSample.u,sample.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0002112/0.4444, allocations: 145.8 kB / 465.6 MB, free: 21.85 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/0.4446, allocations: 73.44 kB / 465.7 MB, free: 21.77 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.254e-05/0.4447, allocations: 25.66 kB / 465.7 MB, free: 21.74 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.4448, allocations: 0 / 465.7 MB, free: 21.74 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.4448, allocations: 4 kB / 465.7 MB, free: 21.74 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.4448, allocations: 0 / 465.7 MB, free: 21.74 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003173/0.4452, allocations: 233.6 kB / 465.9 MB, free: 21.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.4452, allocations: 4 kB / 465.9 MB, free: 21.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.369e-05/0.4453, allocations: 4 kB / 466 MB, free: 21.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.4453, allocations: 0 / 466 MB, free: 21.45 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.4453, allocations: 7.984 kB / 466 MB, free: 21.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/0.4453, allocations: 4.266 kB / 466 MB, free: 21.44 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.4454, allocations: 7.938 kB / 466 MB, free: 21.43 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004857/0.4459, allocations: 212.5 kB / 466.2 MB, free: 21.18 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.446, allocations: 104.9 kB / 466.3 MB, free: 21.06 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.079e-05/0.4461, allocations: 8 kB / 466.3 MB, free: 21.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.4463, allocations: 7.984 kB / 466.3 MB, free: 21.04 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.678e-05/0.4464, allocations: 15.94 kB / 466.3 MB, free: 21.03 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.492e-05/0.4464, allocations: 7.984 kB / 466.3 MB, free: 21.02 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003793/0.4468, allocations: 188.5 kB / 466.5 MB, free: 20.84 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.547e-06/0.4469, allocations: 0 / 466.5 MB, free: 20.84 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007311/0.4476, allocations: 39.92 kB / 466.5 MB, free: 20.8 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,hold.y,hold.u,shiftSample.y,sample.y,shiftSample.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001367/0.449, allocations: 390.9 kB / 466.9 MB, free: 20.47 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003547/0.4494, allocations: 75.91 kB / 467 MB, free: 20.4 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.4494, allocations: 0 / 467 MB, free: 20.4 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.4495, allocations: 31.92 kB / 467 MB, free: 20.37 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005135/0.4501, allocations: 72.3 kB / 467.1 MB, free: 20.3 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006997/0.4508, allocations: 361.2 kB / 467.5 MB, free: 19.91 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001872/0.451, allocations: 0.7322 MB / 468.2 MB, free: 19.16 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001161/0.4511, allocations: 25.52 kB / 468.2 MB, free: 19.13 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.214e-05/0.4512, allocations: 19.44 kB / 468.2 MB, free: 19.11 MB / 346.7 MB Notification: Performance of SimCode: time 9.51e-07/0.4512, allocations: 4 kB / 468.2 MB, free: 19.11 MB / 346.7 MB Notification: Performance of Templates: time 0.007801/0.459, allocations: 2.33 MB / 470.6 MB, free: 16.8 MB / 346.7 MB