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_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Hold") Notification: Performance of loadModel(Modelica_LinearSystems2): time 2.409/2.409, allocations: 251.5 MB / 266 MB, free: 0.6836 MB / 218.7 MB Notification: Performance of loadModel(Modelica_Synchronous): time 0.1467/0.1467, allocations: 12.6 MB / 336.6 MB, free: 14.73 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.784e-05/3.799e-05, allocations: 7.984 kB / 399.8 MB, free: 15.47 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4002/0.4002, allocations: 59.43 MB / 459.2 MB, free: 28.62 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.Hold): time 0.002348/0.4026, allocations: 1.569 MB / 460.8 MB, free: 27.04 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.4044, allocations: 0.9289 MB / 461.7 MB, free: 26.1 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.4045, allocations: 4 kB / 461.7 MB, free: 26.09 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002483/0.4048, allocations: 51.8 kB / 461.7 MB, free: 26.04 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002017/0.405, allocations: 71.77 kB / 461.8 MB, free: 25.97 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007131/0.4057, allocations: 175.5 kB / 462 MB, free: 25.8 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.4059, allocations: 95.7 kB / 462.1 MB, free: 25.71 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.077e-05/0.406, allocations: 19.98 kB / 462.1 MB, free: 25.69 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.73e-05/0.4061, allocations: 55.83 kB / 462.2 MB, free: 25.63 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.4063, allocations: 59.77 kB / 462.2 MB, free: 25.57 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.4064, allocations: 39.97 kB / 462.3 MB, free: 25.54 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.58e-05/0.4065, allocations: 4 kB / 462.3 MB, free: 25.53 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.055e-05/0.4065, allocations: 39.84 kB / 462.3 MB, free: 25.49 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.765e-05/0.4066, allocations: 8 kB / 462.3 MB, free: 25.48 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.4069, allocations: 186.2 kB / 462.5 MB, free: 25.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.4069, allocations: 0 / 462.5 MB, free: 25.3 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4069, allocations: 8 kB / 462.5 MB, free: 25.3 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.4069, allocations: 0 / 462.5 MB, free: 25.3 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.0006048/0.4075, allocations: 468.5 kB / 463 MB, free: 24.79 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.4076, allocations: 8.031 kB / 463 MB, free: 24.78 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.031e-05/0.4076, allocations: 23.72 kB / 463 MB, free: 24.75 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004118/0.4081, allocations: 278.4 kB / 463.3 MB, free: 24.45 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.4081, allocations: 8 kB / 463.3 MB, free: 24.44 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.4081, allocations: 4 kB / 463.3 MB, free: 24.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004019/0.4086, allocations: 172.4 kB / 463.4 MB, free: 24.23 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.4086, allocations: 0 / 463.4 MB, free: 24.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.4086, allocations: 3.984 kB / 463.4 MB, free: 24.23 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.4086, allocations: 11.95 kB / 463.5 MB, free: 24.22 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001617/0.4088, allocations: 39.92 kB / 463.5 MB, free: 24.18 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005741/0.4094, allocations: 470.5 kB / 464 MB, free: 23.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003305/0.4097, allocations: 150.4 kB / 464.1 MB, free: 23.48 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.404e-05/0.4098, allocations: 7.984 kB / 464.1 MB, free: 23.47 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/0.41, allocations: 101.1 kB / 464.2 MB, free: 23.35 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.843e-06/0.41, allocations: 0 / 464.2 MB, free: 23.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005136/0.4106, allocations: 169.3 kB / 464.4 MB, free: 23.18 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.244e-05/0.4106, allocations: 192.2 kB / 464.6 MB, free: 22.95 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003734/0.411, allocations: 297.8 kB / 464.8 MB, free: 22.65 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.411, allocations: 29.7 kB / 464.9 MB, free: 22.61 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.273e-05/0.4111, allocations: 124.4 kB / 465 MB, free: 22.49 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.4112, allocations: 23.73 kB / 465 MB, free: 22.46 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.949e-06/0.4112, allocations: 4 kB / 465 MB, free: 22.46 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.345e-05/0.4113, allocations: 334.8 kB / 465.4 MB, free: 22.12 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.4114, allocations: 27.98 kB / 465.4 MB, free: 22.1 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.4116, allocations: 91.72 kB / 465.5 MB, free: 21.98 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.4117, allocations: 43.86 kB / 465.5 MB, free: 21.94 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4117, allocations: 0 / 465.5 MB, free: 21.94 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000335/0.4121, allocations: 137.2 kB / 465.6 MB, free: 21.8 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.4121, allocations: 13.05 kB / 465.7 MB, free: 21.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.4121, allocations: 0 / 465.7 MB, free: 21.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.4122, allocations: 4 kB / 465.7 MB, free: 21.78 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.4124, allocations: 23.98 kB / 465.7 MB, free: 21.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.4124, allocations: 3.938 kB / 465.7 MB, free: 21.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.4125, allocations: 16.06 kB / 465.7 MB, free: 21.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.4125, allocations: 4 kB / 465.7 MB, free: 21.73 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.0001516/0.4127, allocations: 166.1 kB / 465.9 MB, free: 21.56 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.4128, allocations: 65.45 kB / 465.9 MB, free: 21.49 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.722e-05/0.4129, allocations: 29.66 kB / 466 MB, free: 21.46 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.83e-06/0.4129, allocations: 4 kB / 466 MB, free: 21.46 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.4129, allocations: 0 / 466 MB, free: 21.46 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.4129, allocations: 0 / 466 MB, free: 21.46 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/0.4132, allocations: 261.5 kB / 466.2 MB, free: 21.15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.4132, allocations: 0 / 466.2 MB, free: 21.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.4133, allocations: 15.98 kB / 466.2 MB, free: 21.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.4133, allocations: 0 / 466.2 MB, free: 21.14 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.4134, allocations: 4 kB / 466.2 MB, free: 21.13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.4134, allocations: 3.953 kB / 466.2 MB, free: 21.13 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.4134, allocations: 7.938 kB / 466.3 MB, free: 21.12 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003605/0.4138, allocations: 216.4 kB / 466.5 MB, free: 20.86 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.4139, allocations: 116.8 kB / 466.6 MB, free: 20.73 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.936e-05/0.4139, allocations: 7.984 kB / 466.6 MB, free: 20.72 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.4141, allocations: 8 kB / 466.6 MB, free: 20.71 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.917e-05/0.4141, allocations: 15.92 kB / 466.6 MB, free: 20.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.4142, allocations: 4 kB / 466.6 MB, free: 20.7 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002813/0.4145, allocations: 245.9 kB / 466.9 MB, free: 20.46 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4145, allocations: 0 / 466.9 MB, free: 20.46 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003336/0.4148, allocations: 32 kB / 466.9 MB, free: 20.43 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.00105/0.4159, allocations: 397.2 kB / 467.3 MB, free: 20.09 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003012/0.4162, allocations: 79.91 kB / 467.4 MB, free: 20.01 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4162, allocations: 4 kB / 467.4 MB, free: 20.01 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.4164, allocations: 43.89 kB / 467.4 MB, free: 19.96 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000469/0.4168, allocations: 66.95 kB / 467.5 MB, free: 19.9 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000722/0.4176, allocations: 413.6 kB / 467.9 MB, free: 19.46 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002111/0.4178, allocations: 0.7479 MB / 468.6 MB, free: 18.69 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001231/0.4179, allocations: 37.52 kB / 468.7 MB, free: 18.65 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.506e-05/0.418, allocations: 19.44 kB / 468.7 MB, free: 18.63 MB / 346.7 MB Notification: Performance of SimCode: time 7.32e-07/0.418, allocations: 0 / 468.7 MB, free: 18.63 MB / 346.7 MB Notification: Performance of Templates: time 0.00833/0.4264, allocations: 2.697 MB / 471.4 MB, free: 15.95 MB / 346.7 MB "" Variables in the reference:hold.y,sample.y,shiftSample.y,time Variables in the result:hold.y,hold.y_start,periodicClock.factor,periodicClock.resolution,periodicClock.resolutionFactor,periodicClock.useSolver,sample.y,shiftSample.resolution,shiftSample.shiftCounter,shiftSample.y,table.combiTimeTable.columns[1],table.combiTimeTable.extrapolation,table.combiTimeTable.nout,table.combiTimeTable.offset[1],table.combiTimeTable.p_offset[1],table.combiTimeTable.shiftTime,table.combiTimeTable.smoothness,table.combiTimeTable.startTime,table.combiTimeTable.t_max,table.combiTimeTable.t_maxScaled,table.combiTimeTable.t_min,table.combiTimeTable.t_minScaled,table.combiTimeTable.tableOnFile,table.combiTimeTable.table[1,1],table.combiTimeTable.table[1,2],table.combiTimeTable.table[2,1],table.combiTimeTable.table[2,2],table.combiTimeTable.table[3,1],table.combiTimeTable.table[3,2],table.combiTimeTable.table[4,1],table.combiTimeTable.table[4,2],table.combiTimeTable.table[5,1],table.combiTimeTable.table[5,2],table.combiTimeTable.timeEvents,table.combiTimeTable.timeScale,table.combiTimeTable.verboseExtrapolation,table.combiTimeTable.verboseRead,table.extrapolation,table.n,table.shiftTime,table.startTime,table.table[1,1],table.table[1,2],table.table[2,1],table.table[2,2],table.table[3,1],table.table[3,2],table.table[4,1],table.table[4,2],table.table[5,1],table.table[5,2],time