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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Modelica_Synchronous): time 2.038/2.038, allocations: 218.4 MB / 225.8 MB, free: 1.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 6.937e-06/7.008e-06, allocations: 0 / 278.4 MB, free: 13.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.089/0.08903, allocations: 50.37 MB / 328.8 MB, free: 10.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3239/0.413, allocations: 81.58 MB / 410.4 MB, free: 468 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/0.4133, allocations: 80.83 kB / 410.4 MB, free: 424 kB / 330.7 MB Notification: Performance of FrontEnd: time 0.02512/0.4384, allocations: 5.464 MB / 415.9 MB, free: 11.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.538e-05/0.4385, allocations: 8 kB / 415.9 MB, free: 11.97 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.0007074/0.4392, allocations: 479 kB / 416.4 MB, free: 11.46 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.4393, allocations: 8.031 kB / 416.4 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.377e-05/0.4394, allocations: 23.66 kB / 416.4 MB, free: 11.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005042/0.4399, allocations: 261 kB / 416.7 MB, free: 11.16 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.4399, allocations: 4 kB / 416.7 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.4399, allocations: 4 kB / 416.7 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001444/0.4401, allocations: 51.67 kB / 416.7 MB, free: 11.11 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000328/0.4404, allocations: 138.2 kB / 416.9 MB, free: 10.97 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.4405, allocations: 4 kB / 416.9 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.4405, allocations: 0 / 416.9 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.91e-06/0.4405, allocations: 7.984 kB / 416.9 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006821/0.4412, allocations: 429.1 kB / 417.3 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.4415, allocations: 125.9 kB / 417.4 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.4416, allocations: 51 kB / 417.5 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.4416, allocations: 4 kB / 417.5 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/0.4418, allocations: 92.2 kB / 417.6 MB, free: 10.24 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 4.964e-06/0.4418, allocations: 0 / 417.6 MB, free: 10.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003113/0.4421, allocations: 112.6 kB / 417.7 MB, free: 10.14 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.4423, allocations: 158.3 kB / 417.8 MB, free: 9.949 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003909/0.4427, allocations: 237.3 kB / 418 MB, free: 9.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.069e-05/0.4427, allocations: 29.7 kB / 418.1 MB, free: 9.715 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.4429, allocations: 95.59 kB / 418.2 MB, free: 9.621 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.398e-05/0.4429, allocations: 19.25 kB / 418.2 MB, free: 9.605 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-05/0.443, allocations: 0 / 418.2 MB, free: 9.605 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002494/0.4432, allocations: 330 kB / 418.5 MB, free: 9.281 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.4434, allocations: 22.81 kB / 418.5 MB, free: 9.266 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001828/0.4436, allocations: 80.61 kB / 418.6 MB, free: 9.176 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.4437, allocations: 31.58 kB / 418.6 MB, free: 9.152 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.038e-06/0.4438, allocations: 3.906 kB / 418.6 MB, free: 9.148 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004433/0.4442, allocations: 111.4 kB / 418.8 MB, free: 9.051 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.4443, allocations: 4 kB / 418.8 MB, free: 9.047 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.4443, allocations: 7.984 kB / 418.8 MB, free: 9.039 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.4443, allocations: 0 / 418.8 MB, free: 9.039 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.4445, allocations: 12 kB / 418.8 MB, free: 9.027 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.111e-06/0.4445, allocations: 0 / 418.8 MB, free: 9.027 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002504/0.4448, allocations: 20.05 kB / 418.8 MB, free: 9.008 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.4449, allocations: 4 kB / 418.8 MB, free: 9.004 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.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,sample.u,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.0001768/0.445, allocations: 112.4 kB / 418.9 MB, free: 8.891 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002358/0.4453, allocations: 60.8 kB / 419 MB, free: 8.828 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004507/0.4458, allocations: 104.5 kB / 419.1 MB, free: 8.738 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.4458, allocations: 3.938 kB / 419.1 MB, free: 8.734 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.552e-06/0.4458, allocations: 64 / 419.1 MB, free: 8.734 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.4459, allocations: 8 kB / 419.1 MB, free: 8.727 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004767/0.4464, allocations: 203.6 kB / 419.3 MB, free: 8.516 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/0.4464, allocations: 8.109 kB / 419.3 MB, free: 8.508 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.4465, allocations: 8 kB / 419.3 MB, free: 8.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.46e-05/0.4466, allocations: 3.906 kB / 419.3 MB, free: 8.496 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.4466, allocations: 4 kB / 419.3 MB, free: 8.492 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.567e-06/0.4466, allocations: 3.938 kB / 419.3 MB, free: 8.488 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.746e-06/0.4466, allocations: 4 kB / 419.3 MB, free: 8.484 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005376/0.4472, allocations: 192.7 kB / 419.5 MB, free: 8.273 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002578/0.4475, allocations: 118.6 kB / 419.6 MB, free: 8.148 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.476e-05/0.4476, allocations: 4 kB / 419.6 MB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.4478, allocations: 8 kB / 419.6 MB, free: 8.137 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-05/0.4479, allocations: 11.48 kB / 419.6 MB, free: 8.129 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-05/0.4479, allocations: 4 kB / 419.6 MB, free: 8.125 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0003863/0.4483, allocations: 182.7 kB / 419.8 MB, free: 7.977 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007127/0.449, allocations: 39.25 kB / 419.9 MB, free: 7.941 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.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,sample.u,hold.y,hold.u,shiftSample.y,sample.y,shiftSample.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * 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.001621/0.4507, allocations: 343.3 kB / 420.2 MB, free: 7.648 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004255/0.4511, allocations: 71.42 kB / 420.3 MB, free: 7.598 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.295e-06/0.4512, allocations: 0 / 420.3 MB, free: 7.598 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.4513, allocations: 30.06 kB / 420.3 MB, free: 7.574 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007115/0.4521, allocations: 59.09 kB / 420.4 MB, free: 7.527 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.4531, allocations: 249.5 kB / 420.6 MB, free: 7.281 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007617/0.4539, allocations: 0.7616 MB / 421.4 MB, free: 6.5 MB / 346.7 MB Notification: Performance of SimCode: time 2.406e-06/0.4539, allocations: 4 kB / 421.4 MB, free: 6.496 MB / 346.7 MB Notification: Performance of Templates: time 0.01342/0.4674, allocations: 2.331 MB / 423.7 MB, free: 4.18 MB / 346.7 MB