Running command: translateModel(ModelicaTest.Blocks.Discrete,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrderHold.c|firstOrderHold.firstTrigger|firstOrderHold.pre_uSample|firstOrderHold.tSample|firstOrderHold.uSample|sampler.firstTrigger|sampler.y|stateSpace.firstTrigger|stateSpace.x.1.|stateSpace.x.2.|stateSpace.y.1.|transferFunction.firstTrigger|transferFunction.x.1.|transferFunction.x1|transferFunction.xext.1.|transferFunction.xext.2.|transferFunction.y|triggeredMax.y|triggeredSampler.y|unitDelay.firstTrigger|unitDelay.u|unitDelay.y|zeroOrderHold.firstTrigger|zeroOrderHold.ySample",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete") Notification: Performance of loadModel(ModelicaTest): time 2.203/2.203, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.496e-05/3.51e-05, allocations: 4 kB / 304.9 MB, free: 5.664 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3279, allocations: 54.86 MB / 359.7 MB, free: 2.645 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1276/0.4555, allocations: 83 MB / 442.7 MB, free: 14 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001757/0.4557, allocations: 59.98 kB / 442.8 MB, free: 13.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01688/0.4726, allocations: 3.891 MB / 446.7 MB, free: 10.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.388e-06/0.4727, allocations: 0 / 446.7 MB, free: 10.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.804e-05/0.4727, allocations: 4 kB / 446.7 MB, free: 10.06 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.00124/0.474, allocations: 0.5609 MB / 447.3 MB, free: 9.449 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.474, allocations: 8.031 kB / 447.3 MB, free: 9.441 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.876e-05/0.4741, allocations: 35.61 kB / 447.3 MB, free: 9.406 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003862/0.4745, allocations: 243.7 kB / 447.5 MB, free: 9.125 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.802e-05/0.4746, allocations: 16.55 kB / 447.6 MB, free: 9.109 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.927e-05/0.4746, allocations: 23.98 kB / 447.6 MB, free: 9.086 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000521/0.4752, allocations: 213.5 kB / 447.8 MB, free: 8.871 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.4752, allocations: 0 / 447.8 MB, free: 8.871 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.852e-05/0.4753, allocations: 11.94 kB / 447.8 MB, free: 8.859 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.4753, allocations: 8 kB / 447.8 MB, free: 8.852 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000345/0.4756, allocations: 124.5 kB / 447.9 MB, free: 8.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.477, allocations: 0.5548 MB / 448.5 MB, free: 8.125 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006651/0.4776, allocations: 296.1 kB / 448.8 MB, free: 7.828 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002847/0.478, allocations: 120.8 kB / 448.9 MB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.569e-05/0.478, allocations: 15.98 kB / 448.9 MB, free: 7.691 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005233/0.4785, allocations: 234 kB / 449.1 MB, free: 7.453 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 3.723e-06/0.4786, allocations: 0 / 449.1 MB, free: 7.453 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.001023/0.4796, allocations: 433.2 kB / 449.6 MB, free: 7.023 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.724e-05/0.4797, allocations: 71.39 kB / 449.6 MB, free: 6.941 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002585/0.48, allocations: 194.9 kB / 449.8 MB, free: 6.746 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.445e-05/0.48, allocations: 49.69 kB / 449.9 MB, free: 6.691 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.4802, allocations: 187.4 kB / 450 MB, free: 6.504 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.4803, allocations: 94.86 kB / 450.1 MB, free: 6.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.586e-05/0.4803, allocations: 8 kB / 450.1 MB, free: 6.402 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.4805, allocations: 338.8 kB / 450.5 MB, free: 6.062 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000244/0.4808, allocations: 93.11 kB / 450.6 MB, free: 5.973 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004049/0.4812, allocations: 276.4 kB / 450.8 MB, free: 5.621 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003389/0.4816, allocations: 139.8 kB / 451 MB, free: 5.484 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.4816, allocations: 0 / 451 MB, free: 5.484 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008999/0.4825, allocations: 400.9 kB / 451.4 MB, free: 5.086 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.4825, allocations: 9.719 kB / 451.4 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.4826, allocations: 8 kB / 451.4 MB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.829e-05/0.4826, allocations: 12.78 kB / 451.4 MB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/0.4829, allocations: 67.83 kB / 451.5 MB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.073e-05/0.483, allocations: 15.94 kB / 451.5 MB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002753/0.4832, allocations: 39.77 kB / 451.5 MB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.271e-05/0.4833, allocations: 24 kB / 451.5 MB, free: 4.914 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 62 ($PRE.triggeredMax.y,triggeredMax.y,$PRE.triggeredSampler.y,triggeredSampler.y,$PRE.stateSpace.firstTrigger,stateSpace.firstTrigger,$PRE.stateSpace.x[1],stateSpace.x[1],$PRE.stateSpace.x[2],stateSpace.x[2],$PRE.stateSpace.y[1],stateSpace.y[1],$PRE.transferFunction.firstTrigger,transferFunction.firstTrigger,$PRE.transferFunction.x1,transferFunction.x1,$PRE.transferFunction.xext[1],transferFunction.xext[1],$PRE.transferFunction.xext[2],transferFunction.xext[2],$PRE.transferFunction.x[1],transferFunction.x[1],$PRE.transferFunction.y,transferFunction.y,$PRE.unitDelay.firstTrigger,unitDelay.firstTrigger,$PRE.unitDelay.y,unitDelay.y,$PRE.firstOrderHold.firstTrigger,firstOrderHold.firstTrigger,$PRE.zeroOrderHold.firstTrigger,zeroOrderHold.firstTrigger,$PRE.sampler.firstTrigger,sampler.firstTrigger,$whenCondition8,$whenCondition1,sampler.sampleTrigger,$PRE.zeroOrderHold.ySample,$whenCondition2,zeroOrderHold.sampleTrigger,$whenCondition3,firstOrderHold.sampleTrigger,$whenCondition4,unitDelay.sampleTrigger,$whenCondition5,transferFunction.sampleTrigger,$whenCondition6,stateSpace.sampleTrigger,$whenCondition7,booleanPulse.y,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart,sampler.y,zeroOrderHold.ySample,$PRE.firstOrderHold.tSample,firstOrderHold.tSample,$PRE.firstOrderHold.uSample,firstOrderHold.uSample,$PRE.firstOrderHold.pre_uSample,firstOrderHold.pre_uSample,$PRE.firstOrderHold.c,firstOrderHold.c) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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.0002071/0.4835, allocations: 164.7 kB / 451.7 MB, free: 4.746 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.671e-05/0.4836, allocations: 27.72 kB / 451.7 MB, free: 4.719 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.246e-05/0.4837, allocations: 34.77 kB / 451.8 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.4837, allocations: 8 kB / 451.8 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.799e-06/0.4837, allocations: 0 / 451.8 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.09e-06/0.4837, allocations: 1.781 kB / 451.8 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001971/0.4857, allocations: 0.928 MB / 452.7 MB, free: 3.695 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.011e-06/0.4857, allocations: 0 / 452.7 MB, free: 3.695 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.4859, allocations: 15.98 kB / 452.7 MB, free: 3.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.872e-06/0.4859, allocations: 4 kB / 452.7 MB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.484e-05/0.4859, allocations: 11.98 kB / 452.7 MB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.215e-06/0.486, allocations: 7.938 kB / 452.7 MB, free: 3.656 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.009e-06/0.486, allocations: 7.938 kB / 452.7 MB, free: 3.648 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.487, allocations: 0.5383 MB / 453.3 MB, free: 3.094 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.481e-05/0.4871, allocations: 104.7 kB / 453.4 MB, free: 2.973 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.073e-05/0.4872, allocations: 15.98 kB / 453.4 MB, free: 2.957 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003129/0.4875, allocations: 35.95 kB / 453.4 MB, free: 2.922 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.615e-05/0.4877, allocations: 35.92 kB / 453.5 MB, free: 2.887 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.232e-05/0.4877, allocations: 15.98 kB / 453.5 MB, free: 2.871 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001867/0.4879, allocations: 153.5 kB / 453.6 MB, free: 2.723 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.97e-07/0.4879, allocations: 0 / 453.6 MB, free: 2.723 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005576/0.4885, allocations: 71.98 kB / 453.7 MB, free: 2.652 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 39 (booleanPulse.y,stateSpace.sampleTrigger,transferFunction.sampleTrigger,unitDelay.sampleTrigger,firstOrderHold.sampleTrigger,zeroOrderHold.sampleTrigger,sampler.sampleTrigger,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sampler.firstTrigger,sampler.y,zeroOrderHold.firstTrigger,zeroOrderHold.ySample,firstOrderHold.firstTrigger,firstOrderHold.tSample,firstOrderHold.uSample,firstOrderHold.pre_uSample,firstOrderHold.c,unitDelay.firstTrigger,unitDelay.y,transferFunction.firstTrigger,transferFunction.y,transferFunction.x[1],transferFunction.x1,transferFunction.xext[1],transferFunction.xext[2],stateSpace.firstTrigger,stateSpace.y[1],stateSpace.x[1],stateSpace.x[2],triggeredSampler.y,booleanPulse.pulsStart,triggeredMax.y) * Number of discrete states: 8 (zeroOrderHold.ySample,triggeredMax.y,stateSpace.x[1],stateSpace.x[2],transferFunction.x[1],unitDelay.u,firstOrderHold.uSample,firstOrderHold.c) * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 24 * 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.0002022/0.4887, allocations: 129.1 kB / 453.8 MB, free: 2.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007402/0.4895, allocations: 307.8 kB / 454.1 MB, free: 2.219 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.759e-06/0.4895, allocations: 1.406 kB / 454.1 MB, free: 2.219 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003662/0.4899, allocations: 159.8 kB / 454.3 MB, free: 2.062 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.4902, allocations: 38.42 kB / 454.3 MB, free: 2.027 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.4915, allocations: 432.8 kB / 454.8 MB, free: 1.574 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004898/0.4921, allocations: 0.7692 MB / 455.5 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.048e-05/0.4922, allocations: 23.44 kB / 455.5 MB, free: 0.75 MB / 378.7 MB Notification: Performance of SimCode: time 1.739e-06/0.4922, allocations: 4 kB / 455.6 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of Templates: time 0.006952/0.4991, allocations: 3.346 MB / 458.9 MB, free: 13.42 MB / 394.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable firstOrderHold.c in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable firstOrderHold.c from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable firstOrderHold.firstTrigger in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable firstOrderHold.firstTrigger from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable firstOrderHold.pre_uSample in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable firstOrderHold.pre_uSample from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable firstOrderHold.sampleTrigger in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable firstOrderHold.sampleTrigger from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable firstOrderHold.tSample in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable firstOrderHold.tSample from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable firstOrderHold.uSample in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable firstOrderHold.uSample from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable sampler.firstTrigger in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable sampler.firstTrigger from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable sampler.sampleTrigger in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable sampler.sampleTrigger from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable stateSpace.firstTrigger in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable stateSpace.firstTrigger from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable stateSpace.sampleTrigger in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable stateSpace.sampleTrigger from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable transferFunction.firstTrigger in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable transferFunction.firstTrigger from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable transferFunction.na in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable transferFunction.na from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable transferFunction.nb in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable transferFunction.nb from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable transferFunction.sampleTrigger in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable transferFunction.sampleTrigger from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable transferFunction.x1 in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable transferFunction.x1 from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable transferFunction.xext[1] in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable transferFunction.xext[1] from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable transferFunction.xext[2] in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable transferFunction.xext[2] from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable unitDelay.firstTrigger in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable unitDelay.firstTrigger from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable unitDelay.sampleTrigger in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable unitDelay.sampleTrigger from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable zeroOrderHold.firstTrigger in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable zeroOrderHold.firstTrigger from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! Error: Could not read variable zeroOrderHold.sampleTrigger in file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat. Warning: Get data of variable zeroOrderHold.sampleTrigger from file ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.Discrete_res.mat failed! " Variables in the reference:time,firstOrderHold.c,firstOrderHold.firstTrigger,firstOrderHold.pre_uSample,firstOrderHold.tSample,firstOrderHold.uSample,sampler.firstTrigger,sampler.y,stateSpace.firstTrigger,stateSpace.x[1],stateSpace.x[2],stateSpace.y[1],transferFunction.firstTrigger,transferFunction.x[1],transferFunction.x1,transferFunction.xext[1],transferFunction.xext[2],transferFunction.y,triggeredMax.y,triggeredSampler.y,unitDelay.firstTrigger,unitDelay.u,unitDelay.y,zeroOrderHold.firstTrigger,zeroOrderHold.ySample Variables in the result:booleanPulse.period,booleanPulse.startTime,booleanPulse.width,booleanPulse.y,firstOrderHold.samplePeriod,firstOrderHold.startTime,firstOrderHold.u,firstOrderHold.y,samplePeriod,sampler.samplePeriod,sampler.startTime,sampler.u,sampler.y,sine.amplitude,sine.freqHz,sine.offset,sine.phase,sine.startTime,sine.y,stateSpace.A[1,1],stateSpace.A[1,2],stateSpace.A[2,1],stateSpace.A[2,2],stateSpace.B[1,1],stateSpace.B[2,1],stateSpace.C[1,1],stateSpace.C[1,2],stateSpace.D[1,1],stateSpace.nin,stateSpace.nout,stateSpace.samplePeriod,stateSpace.startTime,stateSpace.u[1],stateSpace.x[1],stateSpace.x[2],stateSpace.y[1],time,transferFunction.a[1],transferFunction.a[2],transferFunction.b[1],transferFunction.samplePeriod,transferFunction.startTime,transferFunction.u,transferFunction.x[1],transferFunction.y,triggeredMax.trigger,triggeredMax.u,triggeredMax.y,triggeredSampler.trigger,triggeredSampler.u,triggeredSampler.y,triggeredSampler.y_start,unitDelay.samplePeriod,unitDelay.startTime,unitDelay.u,unitDelay.y,unitDelay.y_start,zeroOrderHold.samplePeriod,zeroOrderHold.startTime,zeroOrderHold.u,zeroOrderHold.y,zeroOrderHold.ySample