Running command: translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_String,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_String") Notification: Performance of loadModel(Modelica_DeviceDrivers): time 2.1/2.1, allocations: 237.8 MB / 250.4 MB, free: 8.504 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.535e-05/3.532e-05, allocations: 4 kB / 306.6 MB, free: 10.94 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0982/0.09826, allocations: 53.27 MB / 359.9 MB, free: 5.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3757/0.474, allocations: 84.65 MB / 444.5 MB, free: 6.145 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002151/0.4743, allocations: 71.97 kB / 444.6 MB, free: 6.074 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03405/0.5084, allocations: 8.212 MB / 452.8 MB, free: 13.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.229e-06/0.5084, allocations: 4 kB / 452.8 MB, free: 13.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.567e-05/0.5085, allocations: 8 kB / 452.8 MB, free: 13.85 MB / 378.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: addInteger.pkgOut[1].pkg = resetPointer.pkgIn.pkg getInteger.pkgIn.pkg = getString.pkgOut[1].pkg getString.pkgIn.pkg = unpackInt.pkgOut[1].pkg addString.pkgIn.pkg = packInt.pkgOut[1].pkg addInteger.pkgIn.pkg = addString.pkgOut[1].pkg resetPointer.pkgOut[1].pkg = unpackInt.pkgIn.pkg packInt.pkgIn.pkg = packager.pkgOut.pkg getString.pkgOut[1].pkg = getString.pkgIn.pkg addString.pkgOut[1].pkg = addString.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt.pkgIn.pkg resetPointer.pkgOut[1].pkg = resetPointer.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg packInt.pkgOut[1].pkg = packInt.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001691/0.5102, allocations: 0.9605 MB / 453.8 MB, free: 12.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.5102, allocations: 12.03 kB / 453.8 MB, free: 12.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.5103, allocations: 43.48 kB / 453.8 MB, free: 12.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005414/0.5109, allocations: 298.3 kB / 454.1 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.961e-05/0.511, allocations: 28.77 kB / 454.2 MB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.105e-05/0.511, allocations: 40 kB / 454.2 MB, free: 12.35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008614/0.5119, allocations: 381.7 kB / 454.6 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.512, allocations: 0 / 454.6 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.134e-05/0.512, allocations: 15.98 kB / 454.6 MB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.512, allocations: 8 kB / 454.6 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005412/0.5126, allocations: 213 kB / 454.8 MB, free: 11.72 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001867/0.5145, allocations: 1.007 MB / 455.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004941/0.515, allocations: 231.8 kB / 456 MB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002336/0.5152, allocations: 110.8 kB / 456.1 MB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001429/0.5154, allocations: 89.09 kB / 456.2 MB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003645/0.5158, allocations: 180 kB / 456.4 MB, free: 9.984 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 3.356e-06/0.5158, allocations: 7.938 kB / 456.4 MB, free: 9.977 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008632/0.5167, allocations: 345.4 kB / 456.7 MB, free: 9.633 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.5168, allocations: 122.8 kB / 456.9 MB, free: 9.488 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.517, allocations: 171.5 kB / 457 MB, free: 9.316 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.473e-05/0.5171, allocations: 37.7 kB / 457.1 MB, free: 9.273 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.5173, allocations: 196.3 kB / 457.3 MB, free: 9.074 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.657e-05/0.5174, allocations: 55.33 kB / 457.3 MB, free: 9.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.048e-05/0.5174, allocations: 7.938 kB / 457.3 MB, free: 9.012 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001963/0.5176, allocations: 342.8 kB / 457.7 MB, free: 8.668 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.5179, allocations: 72.73 kB / 457.7 MB, free: 8.598 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000322/0.5182, allocations: 224.2 kB / 458 MB, free: 8.312 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002927/0.5185, allocations: 123.9 kB / 458.1 MB, free: 8.191 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.923e-06/0.5185, allocations: 0 / 458.1 MB, free: 8.191 MB / 378.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007649/0.5193, allocations: 333.5 kB / 458.4 MB, free: 7.859 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.5193, allocations: 11.95 kB / 458.4 MB, free: 7.848 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.5193, allocations: 4 kB / 458.4 MB, free: 7.844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/0.5194, allocations: 8 kB / 458.4 MB, free: 7.836 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/0.5197, allocations: 55.91 kB / 458.5 MB, free: 7.781 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.756e-05/0.5197, allocations: 11.94 kB / 458.5 MB, free: 7.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.5199, allocations: 27.73 kB / 458.5 MB, free: 7.742 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.311e-05/0.52, allocations: 20 kB / 458.5 MB, free: 7.723 MB / 378.7 MB Warning: Assuming fixed start value for the following 1 variables: getString.data:DISCRETE() "Output string (read from package)" type: String Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 44 ($PRE.getString.dummy,getString.dummy,$PRE.getString.pkgOut[1].dummy,getString.pkgOut[1].dummy,$PRE.addString.pkgOut[1].dummy,addString.pkgOut[1].dummy,$PRE.getInteger.dummy,getInteger.dummy,$PRE.getInteger.y[1],getInteger.y[1],$PRE.unpackInt.dummy,unpackInt.dummy,$PRE.unpackInt.y,unpackInt.y,$PRE.unpackInt.pkgOut[1].dummy,unpackInt.pkgOut[1].dummy,$PRE.resetPointer.dummy,resetPointer.dummy,$PRE.resetPointer.pkgOut[1].dummy,resetPointer.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,$PRE.packInt.pkgOut[1].dummy,packInt.pkgOut[1].dummy,$PRE.packager.pkgOut.dummy,packager.pkgOut.dummy,integerExpression.y,$whenCondition1,addInteger.pkgOut[1].trigger,addInteger.u[1],$PRE.getString.data,getString.data,findString.y,unpackInt.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getString.pkgIn.autoPkgBitSize,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,packager.backwardPropagatedBufferSize,packager.bufferSize,packInt.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,resetPointer.pkgIn.autoPkgBitSize,addString.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * 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.0002266/0.5202, allocations: 165.1 kB / 458.7 MB, free: 7.559 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.163e-05/0.5203, allocations: 15.81 kB / 458.7 MB, free: 7.543 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005991/0.5209, allocations: 262.3 kB / 459 MB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.046e-06/0.5209, allocations: 0 / 459 MB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.655e-06/0.5209, allocations: 7.938 kB / 459 MB, free: 7.277 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.105e-06/0.5209, allocations: 0 / 459 MB, free: 7.277 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.5223, allocations: 0.7385 MB / 459.7 MB, free: 6.484 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.779e-06/0.5223, allocations: 4 kB / 459.7 MB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.672e-05/0.5224, allocations: 7.984 kB / 459.7 MB, free: 6.473 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.5e-06/0.5224, allocations: 4 kB / 459.7 MB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.072e-05/0.5224, allocations: 11.98 kB / 459.7 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.795e-06/0.5224, allocations: 0 / 459.7 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.5225, allocations: 0 / 459.7 MB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008305/0.5233, allocations: 472.9 kB / 460.2 MB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.556e-05/0.5234, allocations: 96.86 kB / 460.3 MB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.988e-05/0.5234, allocations: 3.984 kB / 460.3 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.5236, allocations: 16.05 kB / 460.3 MB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.5237, allocations: 15.94 kB / 460.3 MB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.326e-05/0.5237, allocations: 15.98 kB / 460.3 MB, free: 5.801 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001187/0.5239, allocations: 122 kB / 460.5 MB, free: 5.684 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.7e-07/0.5239, allocations: 0 / 460.5 MB, free: 5.684 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007379/0.5246, allocations: 155.6 kB / 460.6 MB, free: 5.531 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 28 (unpackInt.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getString.pkgIn.autoPkgBitSize,addInteger.pkgOut[1].trigger,$whenCondition1,integerExpression.y,packager.pkgOut.dummy,packInt.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],resetPointer.pkgOut[1].dummy,resetPointer.dummy,unpackInt.pkgOut[1].dummy,unpackInt.y,unpackInt.dummy,getInteger.y[1],getInteger.dummy,addString.pkgOut[1].dummy,getString.pkgOut[1].dummy,getString.data,getString.dummy,findString.y,packager.backwardPropagatedBufferSize,packager.bufferSize,packInt.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,resetPointer.pkgIn.autoPkgBitSize,addString.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 20 * 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.0008424/0.5255, allocations: 336.9 kB / 460.9 MB, free: 5.234 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005764/0.5261, allocations: 232.4 kB / 461.2 MB, free: 5.008 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.5261, allocations: 0 / 461.2 MB, free: 5.008 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002453/0.5264, allocations: 103.9 kB / 461.3 MB, free: 4.906 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.5268, allocations: 39.95 kB / 461.3 MB, free: 4.867 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.5279, allocations: 386.1 kB / 461.7 MB, free: 4.465 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005186/0.5285, allocations: 0.7834 MB / 462.5 MB, free: 3.652 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001319/0.5286, allocations: 34.19 kB / 462.5 MB, free: 3.621 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.471e-05/0.5287, allocations: 27.38 kB / 462.5 MB, free: 3.594 MB / 378.7 MB Notification: Performance of SimCode: time 1.497e-06/0.5287, allocations: 0 / 462.5 MB, free: 3.594 MB / 378.7 MB Notification: Performance of Templates: time 0.01211/0.5408, allocations: 4.047 MB / 466.6 MB, free: 15.57 MB / 394.7 MB