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_Synchronous): time 2.013/2.013, allocations: 218.4 MB / 231.1 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.48e-05/3.488e-05, allocations: 4 kB / 284.3 MB, free: 8.199 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09008/0.09014, allocations: 50.36 MB / 334.7 MB, free: 5.738 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3701/0.4603, allocations: 82.15 MB / 416.8 MB, free: 12.21 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/0.4605, allocations: 82.58 kB / 416.9 MB, free: 12.16 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02514/0.4857, allocations: 6.011 MB / 422.9 MB, free: 7.098 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.21e-06/0.4858, allocations: 0 / 422.9 MB, free: 7.098 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.613e-05/0.4858, allocations: 8 kB / 422.9 MB, free: 7.09 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.0007667/0.4866, allocations: 497.7 kB / 423.4 MB, free: 6.566 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.4866, allocations: 8.031 kB / 423.4 MB, free: 6.559 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.52e-05/0.4867, allocations: 31.7 kB / 423.5 MB, free: 6.527 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000569/0.4873, allocations: 287.2 kB / 423.8 MB, free: 6.227 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.4874, allocations: 11.33 kB / 423.8 MB, free: 6.219 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.4874, allocations: 7.5 kB / 423.8 MB, free: 6.215 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004058/0.4878, allocations: 173.7 kB / 423.9 MB, free: 6.039 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.4878, allocations: 0 / 423.9 MB, free: 6.039 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.4879, allocations: 3.5 kB / 423.9 MB, free: 6.039 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.4879, allocations: 4 kB / 423.9 MB, free: 6.035 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001471/0.4881, allocations: 45.73 kB / 424 MB, free: 6 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007674/0.4888, allocations: 484.3 kB / 424.5 MB, free: 5.52 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002774/0.4891, allocations: 138 kB / 424.6 MB, free: 5.371 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.4893, allocations: 58 kB / 424.7 MB, free: 5.312 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.4893, allocations: 3.875 kB / 424.7 MB, free: 5.312 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002001/0.4895, allocations: 95.66 kB / 424.8 MB, free: 5.211 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 5.607e-06/0.4896, allocations: 3.984 kB / 424.8 MB, free: 5.207 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003835/0.4899, allocations: 139.9 kB / 424.9 MB, free: 5.086 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001352/0.4901, allocations: 190.7 kB / 425.1 MB, free: 4.859 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004964/0.4906, allocations: 297.3 kB / 425.4 MB, free: 4.613 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.9e-05/0.4907, allocations: 29.08 kB / 425.4 MB, free: 4.582 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.4908, allocations: 130.2 kB / 425.5 MB, free: 4.477 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.731e-05/0.4908, allocations: 19.11 kB / 425.5 MB, free: 4.461 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.335e-06/0.4909, allocations: 0 / 425.5 MB, free: 4.461 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.4911, allocations: 340 kB / 425.9 MB, free: 4.129 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.333e-05/0.4912, allocations: 22.12 kB / 425.9 MB, free: 4.117 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.4914, allocations: 105.5 kB / 426 MB, free: 4 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.822e-05/0.4915, allocations: 33.61 kB / 426 MB, free: 3.977 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.865e-06/0.4915, allocations: 0 / 426 MB, free: 3.977 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003267/0.4918, allocations: 143 kB / 426.2 MB, free: 3.852 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.4919, allocations: 4 kB / 426.2 MB, free: 3.848 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.665e-06/0.4919, allocations: 0 / 426.2 MB, free: 3.848 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.4919, allocations: 4 kB / 426.2 MB, free: 3.844 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.4921, allocations: 19.98 kB / 426.2 MB, free: 3.824 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.4921, allocations: 4 kB / 426.2 MB, free: 3.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.4923, allocations: 15.72 kB / 426.2 MB, free: 3.809 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.4923, allocations: 4 kB / 426.2 MB, free: 3.805 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.000133/0.4924, allocations: 131.7 kB / 426.4 MB, free: 3.676 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.4926, allocations: 65.23 kB / 426.4 MB, free: 3.609 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003155/0.4929, allocations: 124.7 kB / 426.5 MB, free: 3.504 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.645e-06/0.493, allocations: 4 kB / 426.5 MB, free: 3.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/0.493, allocations: 4.062 kB / 426.5 MB, free: 3.496 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.752e-06/0.493, allocations: 4 kB / 426.6 MB, free: 3.492 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003374/0.4933, allocations: 259.8 kB / 426.8 MB, free: 3.223 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.151e-06/0.4934, allocations: 0 / 426.8 MB, free: 3.223 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.4935, allocations: 15.98 kB / 426.8 MB, free: 3.207 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.088e-06/0.4935, allocations: 4 kB / 426.8 MB, free: 3.203 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.4935, allocations: 0 / 426.8 MB, free: 3.203 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.636e-06/0.4935, allocations: 4 kB / 426.8 MB, free: 3.199 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.858e-06/0.4936, allocations: 3.938 kB / 426.8 MB, free: 3.195 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004082/0.494, allocations: 218.2 kB / 427 MB, free: 2.965 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001725/0.4942, allocations: 121.9 kB / 427.2 MB, free: 2.836 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.628e-05/0.4942, allocations: 7 kB / 427.2 MB, free: 2.832 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.4944, allocations: 15.61 kB / 427.2 MB, free: 2.82 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.652e-05/0.4945, allocations: 11.94 kB / 427.2 MB, free: 2.809 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.4945, allocations: 4 kB / 427.2 MB, free: 2.805 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003713/0.4949, allocations: 242 kB / 427.4 MB, free: 2.613 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.4949, allocations: 0 / 427.4 MB, free: 2.613 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004645/0.4954, allocations: 58.61 kB / 427.5 MB, free: 2.562 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.001572/0.4969, allocations: 420 kB / 427.9 MB, free: 2.207 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003227/0.4973, allocations: 92.47 kB / 428 MB, free: 2.137 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.421e-06/0.4973, allocations: 0 / 428 MB, free: 2.137 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.4974, allocations: 42.42 kB / 428 MB, free: 2.105 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004721/0.4979, allocations: 51.75 kB / 428.1 MB, free: 2.066 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007557/0.4987, allocations: 309.8 kB / 428.4 MB, free: 1.777 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004584/0.4992, allocations: 0.7518 MB / 429.1 MB, free: 1.004 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001468/0.4993, allocations: 29.53 kB / 429.2 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.579e-05/0.4994, allocations: 31.17 kB / 429.2 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of SimCode: time 1.756e-06/0.4995, allocations: 0 / 429.2 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of Templates: time 0.009299/0.5088, allocations: 2.841 MB / 432 MB, free: 14.12 MB / 362.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