Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTD.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/PNlib 3.0.0-master/package.mo", uses=false) Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-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: "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005968/0.005968, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.001228/0.001228, allocations: 197.8 kB / 16.67 MB, free: 5.973 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1957/0.1957, allocations: 16.75 MB / 307.3 MB, free: 14.9 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002333/0.002333, allocations: 67.3 kB / 425.9 MB, free: 37.04 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1079, allocations: 53.48 MB / 479.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.003116/0.111, allocations: 1.85 MB / 481.2 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003143/0.1142, allocations: 1.922 MB / 483.1 MB, free: 7.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004475/0.1147, allocations: 4.688 kB / 483.1 MB, free: 7.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003893/0.1151, allocations: 113.6 kB / 483.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004895/0.1156, allocations: 130.9 kB / 483.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001839/0.1174, allocations: 0.906 MB / 484.3 MB, free: 6.941 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001456/0.1189, allocations: 1.426 MB / 485.7 MB, free: 6.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000257/0.1192, allocations: 169.2 kB / 485.9 MB, free: 6.012 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006644/0.1199, allocations: 0.5277 MB / 486.4 MB, free: 5.676 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00053/0.1204, allocations: 355 kB / 486.7 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002151/0.1206, allocations: 89.03 kB / 486.8 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007834/0.1214, allocations: 0.5109 MB / 487.3 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001957/0.1216, allocations: 142 kB / 487.5 MB, free: 5.066 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004744/0.1221, allocations: 391.9 kB / 487.9 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001388/0.1235, allocations: 1.176 MB / 489 MB, free: 3.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1235, allocations: 3.984 kB / 489 MB, free: 3.566 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1235, allocations: 0 / 489 MB, free: 3.566 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.562e-05/0.1236, allocations: 7.938 kB / 489.1 MB, free: 3.559 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001525/0.1251, allocations: 1.289 MB / 490.3 MB, free: 2.156 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.1251, allocations: 11.89 kB / 490.4 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001392/0.1253, allocations: 130.6 kB / 490.5 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003119/0.1256, allocations: 92.52 kB / 490.6 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004796/0.1261, allocations: 438.6 kB / 491 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.883e-05/0.1262, allocations: 79.02 kB / 491.1 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.1263, allocations: 75.98 kB / 491.2 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.1279, allocations: 1.331 MB / 492.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.1279, allocations: 0 / 492.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.954e-05/0.128, allocations: 43.97 kB / 492.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-05/0.1281, allocations: 48.97 kB / 492.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001524/0.1297, allocations: 0.9093 MB / 493.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003865/0.1335, allocations: 3.31 MB / 496.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001625/0.1352, allocations: 1.455 MB / 498.2 MB, free: 9.953 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001362/0.1366, allocations: 1.367 MB / 499.6 MB, free: 8.582 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.888e-05/0.1367, allocations: 89.09 kB / 499.7 MB, free: 8.477 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001399/0.1381, allocations: 0.8878 MB / 0.4889 GB, free: 7.555 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.525e-06/0.1381, allocations: 0 / 0.4889 GB, free: 7.555 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.00396/0.142, allocations: 2.542 MB / 0.4913 GB, free: 4.961 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004068/0.1425, allocations: 0.56 MB / 0.4919 GB, free: 4.297 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005714/0.143, allocations: 421.3 kB / 0.4923 GB, free: 3.879 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001088/0.1432, allocations: 65.69 kB / 0.4924 GB, free: 3.809 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002722/0.1434, allocations: 276.9 kB / 0.4926 GB, free: 3.535 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002391/0.1437, allocations: 206.5 kB / 0.4928 GB, free: 3.332 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003572/0.1441, allocations: 226.6 kB / 0.493 GB, free: 3.102 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.1442, allocations: 378.7 kB / 0.4934 GB, free: 2.723 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007773/0.145, allocations: 442.1 kB / 0.4938 GB, free: 2.293 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/0.1462, allocations: 0.8099 MB / 0.4946 GB, free: 1.316 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003269/0.1495, allocations: 2.54 MB / 0.4971 GB, free: 14.44 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.493e-05/0.1495, allocations: 4 kB / 0.4971 GB, free: 14.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002916/0.1524, allocations: 1.839 MB / 0.4989 GB, free: 12.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002645/0.1527, allocations: 341 kB / 0.4992 GB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.254e-05/0.1527, allocations: 12 kB / 0.4992 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.58e-05/0.1528, allocations: 16 kB / 0.4992 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000436/0.1532, allocations: 123.7 kB / 0.4994 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.57e-05/0.1533, allocations: 27.92 kB / 0.4994 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006667/0.154, allocations: 135.2 kB / 0.4995 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/0.1541, allocations: 52 kB / 0.4996 GB, free: 11.77 MB / 382.1 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer T1.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer T1.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 128 ($PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.reStart,$whenCondition7,T1.inPlaces[1].tokenInOut,$PRE.P1.tokeninout,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumIn.firingSum,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,$PRE.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.active,T1.activation.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,T1.enabledByOutPlaces,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 124 * Array equations: 1 * Algorithm blocks: 10 * 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.001233/0.1553, allocations: 0.7591 MB / 0.5003 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002136/0.1555, allocations: 83.66 kB / 0.5004 GB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003002/0.1586, allocations: 1.948 MB / 0.5023 GB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.25e-05/0.1586, allocations: 4 kB / 0.5023 GB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.1586, allocations: 0 / 0.5023 GB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.637e-06/0.1586, allocations: 11.92 kB / 0.5023 GB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004756/0.1634, allocations: 2.968 MB / 0.5052 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.1634, allocations: 0 / 0.5052 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/0.1636, allocations: 27.98 kB / 0.5052 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-06/0.1636, allocations: 4 kB / 0.5052 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-05/0.1637, allocations: 43.91 kB / 0.5053 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.615e-06/0.1637, allocations: 4 kB / 0.5053 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1637, allocations: 0 / 0.5053 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003504/0.1672, allocations: 2.323 MB / 0.5075 GB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.1674, allocations: 128.6 kB / 0.5077 GB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002261/0.1676, allocations: 83.92 kB / 0.5077 GB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005289/0.1682, allocations: 75.92 kB / 0.5078 GB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005693/0.1687, allocations: 335.5 kB / 0.5081 GB, free: 2.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001088/0.1689, allocations: 43.98 kB / 0.5082 GB, free: 2.645 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003445/0.1692, allocations: 251.2 kB / 0.5084 GB, free: 2.402 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1692, allocations: 4 kB / 0.5084 GB, free: 2.398 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001215/0.1704, allocations: 335.6 kB / 0.5087 GB, free: 2.07 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 68 ($whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,T1.inPlaces[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 52 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.benefitLimit,P1.enableIn.valid,P1.enableIn.benefitMax,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 24 * Array equations: 1 * Algorithm blocks: 8 * Record equations: 0 * When equations: 4 * If-equations: 0 * 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.004401/0.1749, allocations: 3.148 MB / 0.5118 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002741/0.1776, allocations: 2.066 MB / 0.5138 GB, free: 12.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.1777, allocations: 0 / 0.5138 GB, free: 12.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002596/0.1803, allocations: 3.058 MB / 0.5168 GB, free: 9.508 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006767/0.181, allocations: 113.3 kB / 0.5169 GB, free: 9.402 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/0.1919, allocations: 7.881 MB / 0.5246 GB, free: 1.047 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005363/0.1925, allocations: 0.9153 MB / 0.5255 GB, free: 104 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003745/0.1929, allocations: 149.2 kB / 0.5257 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002798/0.1932, allocations: 195.4 kB / 0.5258 GB, free: 15.77 MB / 414.1 MB Notification: Performance of SimCode: time 1.021e-06/0.1932, allocations: 0 / 0.5258 GB, free: 15.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04027/0.2334, allocations: 17.85 MB / 0.5433 GB, free: 13.93 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.684/8.917, allocations: 12.03 kB / 0.5433 GB, free: 13.92 MB / 430.1 MB (rm -f PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTD.sim & python3 -m fmpy simulate --output-file PNlib_PNlib.Examples.DisTest.PDtoTD_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 PNlib_PNlib_Examples_DisTest_PDtoTD.fmu > PNlib_PNlib.Examples.DisTest.PDtoTD.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTD_res.csv","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.DisTest.PDtoTD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches