Running command: translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Hold") Notification: Performance of loadModel(Modelica_Synchronous): time 2.077/2.077, allocations: 218.4 MB / 231.5 MB, free: 12.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.217e-05/3.23e-05, allocations: 4 kB / 284.3 MB, free: 8.68 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08887/0.08893, allocations: 50.36 MB / 334.7 MB, free: 6.223 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3589/0.4479, allocations: 82.21 MB / 416.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/0.4482, allocations: 86.92 kB / 417 MB, free: 12 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02496/0.4732, allocations: 6.005 MB / 423 MB, free: 6.941 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.075e-06/0.4732, allocations: 0 / 423 MB, free: 6.941 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.483e-05/0.4732, allocations: 8 kB / 423 MB, free: 6.934 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.0007471/0.474, allocations: 498 kB / 423.5 MB, free: 6.41 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.4741, allocations: 8.031 kB / 423.5 MB, free: 6.402 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.796e-05/0.4741, allocations: 23.72 kB / 423.5 MB, free: 6.379 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005733/0.4747, allocations: 290.1 kB / 423.8 MB, free: 6.078 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.409e-05/0.4748, allocations: 15.94 kB / 423.8 MB, free: 6.062 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.4748, allocations: 6.562 kB / 423.8 MB, free: 6.059 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004095/0.4752, allocations: 172.5 kB / 424 MB, free: 5.887 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.4753, allocations: 0 / 424 MB, free: 5.887 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.4753, allocations: 4 kB / 424 MB, free: 5.883 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.61e-06/0.4753, allocations: 0 / 424 MB, free: 5.883 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.4755, allocations: 48.05 kB / 424 MB, free: 5.848 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007796/0.4763, allocations: 489.5 kB / 424.5 MB, free: 5.363 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002705/0.4765, allocations: 136.5 kB / 424.6 MB, free: 5.215 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.4767, allocations: 63.91 kB / 424.7 MB, free: 5.152 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.4767, allocations: 4 kB / 424.7 MB, free: 5.148 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002005/0.4769, allocations: 90.86 kB / 424.8 MB, free: 5.055 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 2.685e-06/0.477, allocations: 0 / 424.8 MB, free: 5.055 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003875/0.4774, allocations: 133.9 kB / 424.9 MB, free: 4.938 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/0.4775, allocations: 195.4 kB / 425.1 MB, free: 4.707 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004645/0.478, allocations: 293.6 kB / 425.4 MB, free: 4.465 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/0.478, allocations: 29.7 kB / 425.4 MB, free: 4.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.4782, allocations: 184.6 kB / 425.6 MB, free: 4.27 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.948e-05/0.4782, allocations: 19.55 kB / 425.6 MB, free: 4.254 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.169e-06/0.4782, allocations: 0 / 425.6 MB, free: 4.254 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.4784, allocations: 318.2 kB / 425.9 MB, free: 3.938 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.72e-05/0.4785, allocations: 27.23 kB / 426 MB, free: 3.918 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.4787, allocations: 98.22 kB / 426.1 MB, free: 3.809 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.635e-05/0.4788, allocations: 37.61 kB / 426.1 MB, free: 3.781 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.4788, allocations: 0 / 426.1 MB, free: 3.781 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002882/0.4791, allocations: 125.2 kB / 426.2 MB, free: 3.676 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.4791, allocations: 4 kB / 426.2 MB, free: 3.672 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.468e-06/0.4791, allocations: 3.938 kB / 426.2 MB, free: 3.668 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.4792, allocations: 4 kB / 426.2 MB, free: 3.664 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.4793, allocations: 19.98 kB / 426.3 MB, free: 3.645 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.408e-06/0.4794, allocations: 4 kB / 426.3 MB, free: 3.641 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.4795, allocations: 16 kB / 426.3 MB, free: 3.625 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.4796, allocations: 7.875 kB / 426.3 MB, free: 3.621 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.0001275/0.4797, allocations: 123.8 kB / 426.4 MB, free: 3.496 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.4799, allocations: 68.66 kB / 426.5 MB, free: 3.426 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003129/0.4802, allocations: 126.1 kB / 426.6 MB, free: 3.32 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.465e-06/0.4802, allocations: 0 / 426.6 MB, free: 3.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.885e-06/0.4802, allocations: 8.125 kB / 426.6 MB, free: 3.312 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.465e-06/0.4802, allocations: 4.062 kB / 426.6 MB, free: 3.309 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003275/0.4806, allocations: 260 kB / 426.9 MB, free: 3.039 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.245e-06/0.4806, allocations: 0 / 426.9 MB, free: 3.039 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.4807, allocations: 12 kB / 426.9 MB, free: 3.027 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.711e-06/0.4807, allocations: 7.984 kB / 426.9 MB, free: 3.02 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.4808, allocations: 0 / 426.9 MB, free: 3.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.238e-06/0.4808, allocations: 4 kB / 426.9 MB, free: 3.016 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.262e-06/0.4808, allocations: 0 / 426.9 MB, free: 3.016 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003754/0.4812, allocations: 223.6 kB / 427.1 MB, free: 2.781 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001666/0.4814, allocations: 126.7 kB / 427.2 MB, free: 2.648 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.417e-05/0.4814, allocations: 0 / 427.2 MB, free: 2.648 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.4815, allocations: 11.73 kB / 427.2 MB, free: 2.641 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.315e-05/0.4816, allocations: 19.94 kB / 427.3 MB, free: 2.621 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.4817, allocations: 4 kB / 427.3 MB, free: 2.617 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003741/0.482, allocations: 239.7 kB / 427.5 MB, free: 2.43 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.16e-07/0.4821, allocations: 0 / 427.5 MB, free: 2.43 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004257/0.4825, allocations: 55.86 kB / 427.5 MB, free: 2.379 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.001436/0.4839, allocations: 412.1 kB / 427.9 MB, free: 2.031 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003092/0.4843, allocations: 92.14 kB / 428 MB, free: 1.961 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.572e-06/0.4843, allocations: 0 / 428 MB, free: 1.961 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.861e-05/0.4844, allocations: 37.25 kB / 428.1 MB, free: 1.934 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/0.4848, allocations: 60.55 kB / 428.1 MB, free: 1.891 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007331/0.4856, allocations: 344.8 kB / 428.5 MB, free: 1.562 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004538/0.4861, allocations: 0.7498 MB / 429.2 MB, free: 0.793 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.125e-05/0.4862, allocations: 22.75 kB / 429.2 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of SimCode: time 1.622e-06/0.4862, allocations: 0 / 429.2 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of Templates: time 0.006843/0.493, allocations: 3.017 MB / 432.3 MB, free: 13.78 MB / 362.7 MB