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.001233/0.001233, allocations: 108.4 kB / 16.45 MB, free: 6.035 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.001263/0.001263, allocations: 189.3 kB / 17.39 MB, free: 5.559 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.209/1.209, allocations: 222.9 MB / 241.1 MB, free: 15.09 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.05266/0.05266, allocations: 12.05 MB / 303.3 MB, free: 3.09 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001067/0.001067, allocations: 67.89 kB / 420.1 MB, free: 17.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07521/0.07629, allocations: 52.31 MB / 472.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP): time 0.004089/0.08041, allocations: 3.068 MB / 475.5 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.08205, allocations: 1 MB / 476.5 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.08218, allocations: 11.94 kB / 476.5 MB, free: 8.742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002188/0.08241, allocations: 83.14 kB / 476.5 MB, free: 8.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001671/0.08259, allocations: 51.53 kB / 476.6 MB, free: 8.609 MB / 350.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.0007696/0.08336, allocations: 358.5 kB / 476.9 MB, free: 8.262 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003977/0.08377, allocations: 476 kB / 477.4 MB, free: 7.797 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003684/0.08415, allocations: 296.7 kB / 477.7 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001741/0.08433, allocations: 231.1 kB / 477.9 MB, free: 7.277 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000265/0.0846, allocations: 270.8 kB / 478.2 MB, free: 7.012 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.553e-05/0.08467, allocations: 56 kB / 478.2 MB, free: 6.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002383/0.08492, allocations: 203.8 kB / 478.4 MB, free: 6.758 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.08506, allocations: 167.5 kB / 478.6 MB, free: 6.594 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001655/0.08523, allocations: 246.6 kB / 478.9 MB, free: 6.352 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006401/0.08588, allocations: 0.7547 MB / 479.6 MB, free: 5.594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.08589, allocations: 0 / 479.6 MB, free: 5.594 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.0859, allocations: 7.938 kB / 479.6 MB, free: 5.586 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.08591, allocations: 0 / 479.6 MB, free: 5.586 MB / 350.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.001436/0.08735, allocations: 1.304 MB / 480.9 MB, free: 4.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.811e-05/0.08738, allocations: 8.031 kB / 480.9 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.0875, allocations: 64.56 kB / 481 MB, free: 4.105 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000354/0.08786, allocations: 357.8 kB / 481.3 MB, free: 3.715 MB / 350.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 0.0001044/0.08797, allocations: 109.2 kB / 481.4 MB, free: 3.598 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.435e-05/0.08804, allocations: 56.38 kB / 481.5 MB, free: 3.543 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002084/0.09013, allocations: 1.626 MB / 483.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.09015, allocations: 3.938 kB / 483.1 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.371e-05/0.0902, allocations: 24 kB / 483.2 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.09022, allocations: 8 kB / 483.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005154/0.09075, allocations: 326.7 kB / 483.5 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009431/0.0917, allocations: 1.177 MB / 484.7 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/0.09306, allocations: 1.554 MB / 486.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006287/0.0937, allocations: 0.498 MB / 486.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001101/0.09382, allocations: 56.7 kB / 486.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.09386, allocations: 47.16 kB / 486.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=98): time 2.565e-06/0.09387, allocations: 0 / 486.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=98): time 0.001547/0.09542, allocations: 0.9506 MB / 487.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000149/0.09558, allocations: 243.1 kB / 488 MB, free: 12.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.09577, allocations: 216.2 kB / 488.2 MB, free: 12.4 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.483e-05/0.09582, allocations: 45.7 kB / 488.3 MB, free: 12.35 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.235e-05/0.09592, allocations: 154.4 kB / 488.4 MB, free: 12.19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.016e-05/0.09599, allocations: 75.69 kB / 488.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.09615, allocations: 158.7 kB / 488.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.09629, allocations: 354.8 kB / 489 MB, free: 11.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/0.09647, allocations: 125.9 kB / 489.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000515/0.09699, allocations: 0.7253 MB / 489.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008242/0.09782, allocations: 0.9332 MB / 490.8 MB, free: 9.207 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/0.09784, allocations: 8 kB / 490.8 MB, free: 9.199 MB / 366.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0009687/0.09881, allocations: 0.7902 MB / 491.6 MB, free: 8.402 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/0.09885, allocations: 22.02 kB / 491.6 MB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/0.09887, allocations: 20.88 kB / 491.6 MB, free: 8.363 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.118e-05/0.09891, allocations: 32 kB / 491.6 MB, free: 8.332 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004447/0.09936, allocations: 191.6 kB / 491.8 MB, free: 8.145 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.873e-05/0.0994, allocations: 39.86 kB / 491.9 MB, free: 8.105 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002987/0.0997, allocations: 79.56 kB / 491.9 MB, free: 8.027 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.344e-05/0.09975, allocations: 52 kB / 492 MB, free: 7.977 MB / 366.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.0002671/0.1, allocations: 287.9 kB / 492.3 MB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001024/0.1011, allocations: 0.663 MB / 492.9 MB, free: 7.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001186/0.1022, allocations: 0.7764 MB / 493.7 MB, free: 6.234 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.1023, allocations: 8 kB / 493.7 MB, free: 6.227 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.1023, allocations: 4 kB / 493.7 MB, free: 6.223 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.1023, allocations: 3.984 kB / 493.7 MB, free: 6.219 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005792/0.1029, allocations: 464.8 kB / 494.2 MB, free: 5.715 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-05/0.1029, allocations: 8 kB / 494.2 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004403/0.1033, allocations: 147.8 kB / 494.3 MB, free: 5.562 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.1034, allocations: 4.094 kB / 494.3 MB, free: 5.559 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.87e-05/0.1034, allocations: 24 kB / 494.4 MB, free: 5.535 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-06/0.1034, allocations: 7.984 kB / 494.4 MB, free: 5.527 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.1034, allocations: 4 kB / 494.4 MB, free: 5.523 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.1046, allocations: 1.15 MB / 495.5 MB, free: 4.352 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.865e-05/0.1047, allocations: 128.6 kB / 495.6 MB, free: 4.207 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.005e-05/0.1047, allocations: 24 kB / 495.7 MB, free: 4.184 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002695/0.105, allocations: 16 kB / 495.7 MB, free: 4.168 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.81e-05/0.105, allocations: 11.98 kB / 495.7 MB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.817e-05/0.1051, allocations: 31.98 kB / 495.7 MB, free: 4.125 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001046/0.1052, allocations: 147.5 kB / 495.9 MB, free: 3.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1052, allocations: 0 / 495.9 MB, free: 3.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008081/0.106, allocations: 171.6 kB / 496 MB, free: 3.812 MB / 366.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.0006641/0.1067, allocations: 395.7 kB / 496.4 MB, free: 3.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008307/0.1075, allocations: 0.6207 MB / 497 MB, free: 2.867 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1075, allocations: 4.438 kB / 497 MB, free: 2.863 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.111e-05/0.1076, allocations: 31.91 kB / 497.1 MB, free: 2.832 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002169/0.1098, allocations: 2.061 MB / 499.1 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.1112, allocations: 1.036 MB / 0.4885 GB, free: 15.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004239/0.1116, allocations: 0.9073 MB / 0.4893 GB, free: 14.69 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001236/0.1118, allocations: 60.55 kB / 0.4894 GB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.2e-05/0.1119, allocations: 39.44 kB / 0.4894 GB, free: 14.59 MB / 382.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1119, allocations: 3.938 kB / 0.4894 GB, free: 14.58 MB / 382.1 MB Notification: Performance of Templates: time 0.01139/0.1233, allocations: 7.5 MB / 0.4968 GB, free: 7.156 MB / 382.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 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP.pipe 2>&1)