Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.NoInputConflict.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: translateModel(PNlib.Examples.DisTest.NoInputConflict,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.NoInputConflict") translateModel(PNlib.Examples.DisTest.NoInputConflict,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.NoInputConflict") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001097, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001291/0.001291, allocations: 194.4 kB / 16.14 MB, free: 6.711 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.34/1.34, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1814/0.1814, allocations: 16.76 MB / 306.7 MB, free: 15.09 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 59.91 kB / 371 MB, free: 3.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2994, allocations: 53.46 MB / 424.4 MB, free: 39.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.NoInputConflict): time 0.003134/0.3026, allocations: 2.372 MB / 426.8 MB, free: 38.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003474/0.3061, allocations: 2.45 MB / 429.2 MB, free: 37.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002882/0.3064, allocations: 6.562 kB / 429.3 MB, free: 37.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003332/0.3067, allocations: 119.6 kB / 429.4 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000316/0.3071, allocations: 113.1 kB / 429.5 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.3084, allocations: 0.8134 MB / 430.3 MB, free: 36.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008314/0.3092, allocations: 1.358 MB / 431.7 MB, free: 36.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002504/0.3095, allocations: 248.4 kB / 431.9 MB, free: 36.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003658/0.3099, allocations: 0.5415 MB / 432.4 MB, free: 35.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003197/0.3102, allocations: 398.6 kB / 432.8 MB, free: 35.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.975e-05/0.3103, allocations: 48.06 kB / 432.9 MB, free: 35.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004978/0.3108, allocations: 474.8 kB / 433.3 MB, free: 35.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.311, allocations: 193.5 kB / 433.5 MB, free: 35.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002927/0.3113, allocations: 409.1 kB / 433.9 MB, free: 35.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007988/0.3121, allocations: 1.206 MB / 435.1 MB, free: 34.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3121, allocations: 0 / 435.1 MB, free: 34.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3121, allocations: 3.938 kB / 435.1 MB, free: 34.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.587e-06/0.3121, allocations: 0 / 435.1 MB, free: 34.72 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: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.001482/0.3136, allocations: 1.488 MB / 436.6 MB, free: 33.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.3136, allocations: 8.906 kB / 436.6 MB, free: 33.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000402/0.3141, allocations: 122.8 kB / 436.8 MB, free: 33.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005139/0.3146, allocations: 493 kB / 437.2 MB, free: 33.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.561e-05/0.3147, allocations: 137 kB / 437.4 MB, free: 33.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.3148, allocations: 96.77 kB / 437.5 MB, free: 33.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001958/0.3168, allocations: 1.717 MB / 439.2 MB, free: 32.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.3168, allocations: 3.969 kB / 439.2 MB, free: 32.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.17e-05/0.3169, allocations: 46.89 kB / 439.2 MB, free: 32.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000105/0.317, allocations: 86.11 kB / 439.3 MB, free: 32.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001549/0.3186, allocations: 1.168 MB / 440.5 MB, free: 31.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003594/0.3222, allocations: 4.511 MB / 445 MB, free: 28.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/0.3237, allocations: 1.907 MB / 446.9 MB, free: 27.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001229/0.325, allocations: 1.773 MB / 448.7 MB, free: 26.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.477e-05/0.325, allocations: 87.19 kB / 448.8 MB, free: 25.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001244/0.3263, allocations: 1.047 MB / 449.8 MB, free: 25.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=97): time 2.244e-06/0.3263, allocations: 0 / 449.8 MB, free: 25.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=97): time 0.003135/0.3294, allocations: 2.593 MB / 452.4 MB, free: 24.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002595/0.3297, allocations: 0.6131 MB / 453 MB, free: 23.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004519/0.3302, allocations: 0.5144 MB / 453.5 MB, free: 23.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.07e-05/0.3303, allocations: 74.77 kB / 453.6 MB, free: 23.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.3305, allocations: 348.3 kB / 453.9 MB, free: 23.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/0.3306, allocations: 242.2 kB / 454.2 MB, free: 23.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000293/0.3309, allocations: 290.6 kB / 454.5 MB, free: 22.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.356e-05/0.331, allocations: 331 kB / 454.8 MB, free: 22.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005869/0.3316, allocations: 440.4 kB / 455.2 MB, free: 22.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007803/0.3324, allocations: 0.896 MB / 456.1 MB, free: 21.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002492/0.3349, allocations: 2.699 MB / 458.8 MB, free: 19.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.291e-05/0.3349, allocations: 4.594 kB / 458.8 MB, free: 19.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.002624/0.3375, allocations: 1.906 MB / 460.7 MB, free: 18.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001715/0.3377, allocations: 355.5 kB / 461.1 MB, free: 18.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.396e-05/0.3378, allocations: 14.47 kB / 461.1 MB, free: 18.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.98e-05/0.3378, allocations: 21.66 kB / 461.1 MB, free: 18.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004847/0.3383, allocations: 170.1 kB / 461.3 MB, free: 18.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.224e-05/0.3383, allocations: 28.95 kB / 461.3 MB, free: 18.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005119/0.3388, allocations: 150 kB / 461.4 MB, free: 18.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.339, allocations: 67.78 kB / 461.5 MB, free: 18.14 MB / 350.1 MB Warning: Assuming fixed start value for the following 28 variables: P1.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" 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.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.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 P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer T2.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T2.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real 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.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority 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.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.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 T2.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real 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: 65 * Number of states: 0 () * Number of discrete variables: 153 ($PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,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],P1.enableIn.cumEnablingProb[2],$PRE.P1.enableIn.cumEnablingProb[2],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[2],$PRE.P1.enableIn.remTAin[2],P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.reStart,$whenCondition5,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition3,$whenCondition4,$PRE.T2.ani,$PRE.T2.fireTime,T2.ani,T2.fireTime,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,P1.firingSumOut.firingSum,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,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],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,$whenCondition1,P1.inTransition[2].disPlace,T2.outPlaces[1].disTransition,P1.inTransition[1].disPlace,T1.outPlaces[1].disTransition,P1.reStart,T2.firingCon,T1.firingCon,P1.enableIn.disTransition[2],P1.enableIn.disTransition[1],$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[2],$PRE.P1.enableIn.TEin[1],$PRE.T2.firingTime,$PRE.T1.firingTime,T2.enabledByInPlaces,T1.enabledByInPlaces,T1.activation.arcWeightIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.disPlaceOut[1],T1.activation.disPlaceOut[1],P1.enableIn.arcWeightSum,P1.enableIn.TEin[2],P1.enableIn.TEin[1],P1.enableIn.TEin_[2],P1.enableIn.TEin_[1],P1.enableIn.active[2],P1.enableIn.active[1],P1.enableIn.TAein[2],P1.enableIn.TAein[1],P1.enableIn.arcWeight[2],P1.enableIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[2],P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[2],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[2],P1.delayPassedIn.vec[1],P1.t,$PRE.P1.t,T2.activation.active,T2.activation.maxTokensInt[1],T2.activation.tIntOut[1],T2.delayPassed,$PRE.T2.delayPassed,T2.firingTime,T2.active,T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,$whenCondition2,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,P1.inTransition[2].emptied,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 160 * Array equations: 0 * Algorithm blocks: 11 * 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.0008875/0.3399, allocations: 0.8648 MB / 462.4 MB, free: 17.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.34, allocations: 88.97 kB / 462.5 MB, free: 17.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002637/0.3427, allocations: 1.857 MB / 464.3 MB, free: 16.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/0.3427, allocations: 9.641 kB / 464.3 MB, free: 16.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.3427, allocations: 3.812 kB / 464.3 MB, free: 16.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.3427, allocations: 1.25 kB / 464.3 MB, free: 16.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004037/0.3468, allocations: 3.032 MB / 467.4 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.3468, allocations: 0 / 467.4 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.3469, allocations: 43.52 kB / 467.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.347, allocations: 2.75 kB / 467.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.038e-05/0.3471, allocations: 40.73 kB / 467.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.3471, allocations: 2.75 kB / 467.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3471, allocations: 4 kB / 467.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003335/0.3504, allocations: 2.281 MB / 469.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.3505, allocations: 140 kB / 469.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002439/0.3508, allocations: 80.27 kB / 469.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004527/0.3513, allocations: 68.38 kB / 470 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002994/0.3516, allocations: 142.5 kB / 470.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/0.3517, allocations: 48.33 kB / 470.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000319/0.352, allocations: 306.8 kB / 470.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.352, allocations: 0 / 470.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001334/0.3534, allocations: 378.6 kB / 470.9 MB, free: 13.64 MB / 350.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: 86 ($whenCondition1,P1.activeConOut.anychange,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],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.active,T2.active,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition5,$whenCondition2,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active,T2.firingTime,T2.fireTime,T2.delayPassed,T2.ani,T2.activation.tIntOut[1],T2.activation.maxTokensInt[1],T2.activation.active,P1.t,P1.tokeninout,P1.delayPassedIn.vec[1],P1.delayPassedIn.vec[2],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.fire[2],P1.firingSumIn.arcWeight[1],P1.firingSumIn.arcWeight[2],P1.firingSumIn.firingSum,P1.firingSumOut.firingSum,P1.enableIn.arcWeight[1],P1.enableIn.arcWeight[2],P1.enableIn.TAein[1],P1.enableIn.TAein[2],P1.enableIn.active[1],P1.enableIn.active[2],P1.enableIn.TEin_[1],P1.enableIn.TEin_[2],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.TEin[2],P1.enableIn.remTAin[1],P1.enableIn.remTAin[2],P1.enableIn.cumEnablingProb[1],P1.enableIn.cumEnablingProb[2],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) * Number of discrete states: 54 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.t,T2.activation.active,T2.delayPassed,T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[2],P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[2],P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[2],P1.enableIn.remTAin[1],P1.enableIn.Index,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[2],P1.enableIn.TEin[1],P1.enableOut.benefitLimit,P1.enableOut.valid,P1.enableOut.benefitMax,P1.enableOut.Index,P1.enableOut.endWhile,P1.enableOut.sumEnablingProbTAout,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.nTAout,P1.enableOut.nremTAout,$whenCondition1,P1.enableOut.arcWeightSum,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 0 * When equations: 7 * 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.0007347/0.3541, allocations: 397.2 kB / 471.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002977/0.3571, allocations: 2.252 MB / 473.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3571, allocations: 0 / 473.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003427/0.3605, allocations: 3.591 MB / 477.1 MB, free: 9.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008951/0.3615, allocations: 117.8 kB / 477.2 MB, free: 9.512 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004868/0.3663, allocations: 2.813 MB / 480 MB, free: 8.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006755/0.367, allocations: 1.012 MB / 481 MB, free: 7.516 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000623/0.3677, allocations: 217.3 kB / 481.3 MB, free: 7.488 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.3678, allocations: 57.3 kB / 481.3 MB, free: 7.477 MB / 350.1 MB Notification: Performance of SimCode: time 1.433e-06/0.3678, allocations: 0 / 481.3 MB, free: 7.477 MB / 350.1 MB Notification: Performance of Templates: time 0.01943/0.3873, allocations: 12.51 MB / 493.8 MB, free: 14.14 MB / 366.1 MB make -j1 -f PNlib_PNlib.Examples.DisTest.NoInputConflict.makefile (rm -f PNlib_PNlib.Examples.DisTest.NoInputConflict.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.NoInputConflict.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.NoInputConflict.pipe >> ../files/PNlib_PNlib.Examples.DisTest.NoInputConflict.sim & ./PNlib_PNlib.Examples.DisTest.NoInputConflict -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.NoInputConflict.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.NoInputConflict_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.NoInputConflict.mat","../files/PNlib_PNlib.Examples.DisTest.NoInputConflict.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches