Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 110.3 kB / 17.08 MB, free: 5.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 195 kB / 18.02 MB, free: 4.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.194/1.194, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05311/0.05311, allocations: 12.04 MB / 303.9 MB, free: 3.164 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 67.89 kB / 367.9 MB, free: 3.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1715, allocations: 52.32 MB / 420.3 MB, free: 20.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP): time 0.003462/0.175, allocations: 3.065 MB / 423.3 MB, free: 17.9 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.1762, allocations: 1 MB / 424.3 MB, free: 16.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.1763, allocations: 10.91 kB / 424.3 MB, free: 16.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001988/0.1765, allocations: 87.14 kB / 424.4 MB, free: 16.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000152/0.1767, allocations: 39.53 kB / 424.5 MB, free: 16.76 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Communication.mo:292:7-303:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Communication.Internal.DummyFunctions.sendToUDP' contains a call to impure function 'Modelica_DeviceDrivers.Communication.UDPSocket_.sendTo'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Packaging.mo:132:9-139:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.clear' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.clear'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Packaging.mo:141:7-156:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitPack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitPack'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Communication.mo:272:7-290:30:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Communication.Internal.DummyFunctions.readUDP_Conditional' contains a call to impure function 'Modelica_DeviceDrivers.Communication.UDPSocket_.read'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Packaging.mo:158:7-173:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitUnpack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitUnpack'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Packaging.mo:65:9-74:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.addInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Packaging.mo:109:9-119:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.getInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Packaging.mo:32:9-41:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.addReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Packaging.mo:76:9-86:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.getReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getReal'. Notification: Performance of NFTyping.typeClassSections: time 0.0006659/0.1774, allocations: 363 kB / 424.8 MB, free: 16.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000293/0.1777, allocations: 480 kB / 425.3 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003019/0.178, allocations: 298.5 kB / 425.6 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.1781, allocations: 227.2 kB / 425.8 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002023/0.1783, allocations: 270.8 kB / 426.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.255e-05/0.1784, allocations: 56 kB / 426.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001941/0.1786, allocations: 207.8 kB / 426.3 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.1787, allocations: 163.5 kB / 426.5 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.1788, allocations: 250.6 kB / 426.7 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004347/0.1793, allocations: 0.7475 MB / 427.5 MB, free: 13.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1793, allocations: 0 / 427.5 MB, free: 13.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.1793, allocations: 0 / 427.5 MB, free: 13.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.1793, allocations: 0 / 427.5 MB, free: 13.75 MB / 302.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg unpackInt1.pkgOut[1].pkg = unpackInt1.pkgIn.pkg addInteger1.pkgOut[1].pkg = addInteger1.pkgIn.pkg packInt1.pkgOut[1].pkg = packInt1.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt.pkgIn.pkg packInt.pkgOut[1].pkg = packInt.pkgIn.pkg unpackInt1.pkgOut[1].pkg = getInteger1.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt1.pkgIn.pkg getReal.pkgOut[1].pkg = unpackInt.pkgIn.pkg uDPReceive2_1.pkgOut.pkg = getReal.pkgIn.pkg addInteger1.pkgOut[1].pkg = uDPSend.pkgIn.pkg packInt1.pkgOut[1].pkg = addInteger1.pkgIn.pkg packInt.pkgOut[1].pkg = packInt1.pkgIn.pkg addReal.pkgOut[1].pkg = packInt.pkgIn.pkg packager.pkgOut.pkg = addReal.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001216/0.1805, allocations: 1.284 MB / 428.7 MB, free: 12.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.544e-05/0.1806, allocations: 8.031 kB / 428.8 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.914e-05/0.1807, allocations: 60.19 kB / 428.8 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003174/0.181, allocations: 361.6 kB / 429.2 MB, free: 11.9 MB / 302.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: uDPReceive2_1.initialized = previous(uDPReceive2_1.initialized) to residual form! Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: packager.initialized = previous(packager.initialized) to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.495e-05/0.1811, allocations: 101.3 kB / 429.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.283e-05/0.1811, allocations: 48.38 kB / 429.3 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001681/0.1828, allocations: 1.631 MB / 430.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.1828, allocations: 11.81 kB / 431 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.468e-05/0.1829, allocations: 20 kB / 431 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.1829, allocations: 12 kB / 431 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000435/0.1833, allocations: 326.7 kB / 431.3 MB, free: 9.699 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006892/0.184, allocations: 1.165 MB / 432.5 MB, free: 8.457 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009664/0.185, allocations: 1.55 MB / 434 MB, free: 6.695 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005014/0.1855, allocations: 0.502 MB / 434.5 MB, free: 6.172 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/0.1856, allocations: 48.56 kB / 434.6 MB, free: 6.125 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.1856, allocations: 55.14 kB / 434.6 MB, free: 6.062 MB / 302.1 MB Notification: Performance of pre-optimization done (n=98): time 2.434e-06/0.1856, allocations: 0 / 434.6 MB, free: 6.062 MB / 302.1 MB Notification: Performance of matching and sorting (n=98): time 0.001292/0.1869, allocations: 0.9353 MB / 435.6 MB, free: 5.121 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.28e-05/0.187, allocations: 255.2 kB / 435.8 MB, free: 4.832 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.1872, allocations: 224 kB / 436 MB, free: 4.605 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.252e-05/0.1872, allocations: 41.7 kB / 436.1 MB, free: 4.559 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.148e-05/0.1873, allocations: 153.7 kB / 436.2 MB, free: 4.406 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.202e-05/0.1873, allocations: 71.5 kB / 436.3 MB, free: 4.336 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.1874, allocations: 158.7 kB / 436.4 MB, free: 4.172 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.311e-05/0.1875, allocations: 362.8 kB / 436.8 MB, free: 3.809 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.1876, allocations: 117.9 kB / 436.9 MB, free: 3.695 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002898/0.1879, allocations: 0.7253 MB / 437.6 MB, free: 2.664 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004916/0.1884, allocations: 0.9294 MB / 438.6 MB, free: 1.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.585e-06/0.1885, allocations: 8 kB / 438.6 MB, free: 1.422 MB / 302.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0007787/0.1892, allocations: 0.7903 MB / 439.4 MB, free: 0.625 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.1893, allocations: 16 kB / 439.4 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.1893, allocations: 20 kB / 439.4 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.482e-05/0.1893, allocations: 28 kB / 439.4 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003943/0.1897, allocations: 191.6 kB / 439.6 MB, free: 384 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.112e-05/0.1897, allocations: 47.83 kB / 439.7 MB, free: 336 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002859/0.19, allocations: 75.91 kB / 439.7 MB, free: 260 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.327e-05/0.1901, allocations: 56 kB / 439.8 MB, free: 204 kB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 59 (integerExpression.y,integerExpression1.y,assignClock4.y,assignClock4.u,assignClock3.y,assignClock3.u,assignClock2.y,assignClock2.u,sample4.y,sample3.y,sample1.y,getReal.pkgOut[1].autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,addReal.pkgOut[1].autoPkgBitSize,addReal.pkgOut[1].userPkgBitSize,addReal.pkgIn.autoPkgBitSize,addReal.pkgIn.userPkgBitSize,getInteger1.y[1],getInteger1.pkgIn.autoPkgBitSize,unpackInt1.y,unpackInt1.pkgOut[1].autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,addInteger1.u[1],addInteger1.pkgOut[1].autoPkgBitSize,addInteger1.pkgOut[1].userPkgBitSize,addInteger1.pkgIn.autoPkgBitSize,addInteger1.pkgIn.userPkgBitSize,packInt1.u,packInt1.pkgOut[1].autoPkgBitSize,packInt1.pkgOut[1].userPkgBitSize,packInt1.pkgIn.autoPkgBitSize,packInt1.pkgIn.userPkgBitSize,unpackInt.y,unpackInt.pkgOut[1].autoPkgBitSize,unpackInt.pkgIn.autoPkgBitSize,$CLKPRE.uDPReceive2_1.initialized,uDPReceive2_1.initialized,$CLKPRE.uDPReceive2_1.bufferSize,uDPReceive2_1.bufferSize,uDPReceive2_1.nRecvbufOverwrites,uDPReceive2_1.nRecvBytes,uDPReceive2_1.pkgOut.autoPkgBitSize,packInt.u,packInt.pkgOut[1].autoPkgBitSize,packInt.pkgOut[1].userPkgBitSize,packInt.pkgIn.autoPkgBitSize,packInt.pkgIn.userPkgBitSize,$CLKPRE.packager.bufferSize,packager.bufferSize,$CLKPRE.packager.backwardPropagatedBufferSize,packager.backwardPropagatedBufferSize,$CLKPRE.packager.initialized,packager.initialized,packager.pkgOut.autoPkgBitSize,packager.pkgOut.userPkgBitSize,uDPSend.bufferSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,getInteger1.pkgIn.userPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 7 (uDPReceive2_1.dummy,uDPReceive2_1.initialized,uDPReceive2_1.bufferSize,packager.bufferSize,packager.backwardPropagatedBufferSize,packager.dummy,packager.initialized) * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002335/0.1903, allocations: 293.4 kB / 440.1 MB, free: 15.9 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001036/0.1913, allocations: 0.6549 MB / 440.7 MB, free: 15.24 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/0.1925, allocations: 0.7686 MB / 441.5 MB, free: 14.46 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.1925, allocations: 12 kB / 441.5 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1925, allocations: 0 / 441.5 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.1926, allocations: 7.984 kB / 441.5 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005637/0.1931, allocations: 464.5 kB / 442 MB, free: 13.94 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.595e-05/0.1932, allocations: 7.984 kB / 442 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004374/0.1936, allocations: 143.8 kB / 442.1 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.1936, allocations: 4 kB / 442.1 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.149e-05/0.1937, allocations: 23.98 kB / 442.2 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.732e-06/0.1937, allocations: 4 kB / 442.2 MB, free: 13.76 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1937, allocations: 8.031 kB / 442.2 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.1949, allocations: 1.142 MB / 443.3 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.835e-05/0.1949, allocations: 132.3 kB / 443.4 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.325e-05/0.195, allocations: 28 kB / 443.5 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002722/0.1953, allocations: 16 kB / 443.5 MB, free: 12.4 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.1953, allocations: 8 kB / 443.5 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.006e-05/0.1954, allocations: 31.98 kB / 443.5 MB, free: 12.36 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001021/0.1955, allocations: 147.5 kB / 443.7 MB, free: 12.21 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1955, allocations: 0 / 443.7 MB, free: 12.21 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008004/0.1963, allocations: 163.7 kB / 443.8 MB, free: 12.05 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 56 (integerExpression.y,integerExpression1.y,$cse3,$cse4,$cse5,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.bufferSize,packager.pkgOut.userPkgBitSize,packager.pkgOut.autoPkgBitSize,packager.initialized,packager.backwardPropagatedBufferSize,packager.bufferSize,packInt.pkgIn.userPkgBitSize,packInt.pkgIn.autoPkgBitSize,packInt.pkgOut[1].userPkgBitSize,packInt.pkgOut[1].autoPkgBitSize,packInt.u,uDPReceive2_1.pkgOut.autoPkgBitSize,uDPReceive2_1.nRecvBytes,uDPReceive2_1.nRecvbufOverwrites,uDPReceive2_1.bufferSize,uDPReceive2_1.initialized,unpackInt.pkgIn.autoPkgBitSize,unpackInt.pkgOut[1].autoPkgBitSize,unpackInt.y,packInt1.pkgIn.userPkgBitSize,packInt1.pkgIn.autoPkgBitSize,packInt1.pkgOut[1].userPkgBitSize,packInt1.pkgOut[1].autoPkgBitSize,packInt1.u,addInteger1.pkgIn.userPkgBitSize,addInteger1.pkgIn.autoPkgBitSize,addInteger1.pkgOut[1].userPkgBitSize,addInteger1.pkgOut[1].autoPkgBitSize,addInteger1.u[1],unpackInt1.pkgIn.autoPkgBitSize,unpackInt1.pkgOut[1].autoPkgBitSize,unpackInt1.y,getInteger1.pkgIn.autoPkgBitSize,getInteger1.y[1],addReal.pkgIn.userPkgBitSize,addReal.pkgIn.autoPkgBitSize,addReal.pkgOut[1].userPkgBitSize,addReal.pkgOut[1].autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,getReal.pkgOut[1].autoPkgBitSize,sample1.y,sample3.y,sample4.y,assignClock2.u,assignClock2.y,assignClock3.u,assignClock3.y,assignClock4.u,assignClock4.y) * Number of discrete states: 0 () * Number of clocked states: 7 (packager.initialized,packager.dummy,packager.backwardPropagatedBufferSize,packager.bufferSize,uDPReceive2_1.bufferSize,uDPReceive2_1.initialized,uDPReceive2_1.dummy) * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 2 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000634/0.1969, allocations: 403.7 kB / 444.2 MB, free: 11.72 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008199/0.1978, allocations: 0.6207 MB / 444.8 MB, free: 11.11 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1978, allocations: 0 / 444.8 MB, free: 11.11 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.158e-05/0.1978, allocations: 28.55 kB / 444.9 MB, free: 11.08 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002135/0.2, allocations: 2.078 MB / 446.9 MB, free: 8.926 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.2014, allocations: 1.014 MB / 448 MB, free: 7.871 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004237/0.2018, allocations: 0.9034 MB / 448.9 MB, free: 6.938 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001207/0.2019, allocations: 64.53 kB / 448.9 MB, free: 6.875 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.551e-05/0.202, allocations: 47.42 kB / 449 MB, free: 6.828 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.202, allocations: 0 / 449 MB, free: 6.828 MB / 318.1 MB Notification: Performance of Templates: time 0.01128/0.2133, allocations: 7.362 MB / 456.3 MB, free: 15.54 MB / 334.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP.makefile (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP.sim & ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP.pipe 2>&1)