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.001276/0.001276, allocations: 98.56 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002043/0.002043, allocations: 181.5 kB / 16.92 MB, free: 6.918 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.453/1.453, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.2052/0.2052, allocations: 16.74 MB / 308.8 MB, free: 15.63 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003247, allocations: 8 kB / 374.1 MB, free: 3.086 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3154, allocations: 54.47 MB / 428.6 MB, free: 38.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.NoInputConflict): time 0.002309/0.3177, allocations: 2.006 MB / 430.6 MB, free: 38.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004442/0.3222, allocations: 2.406 MB / 433 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004036/0.3227, allocations: 11.19 kB / 433 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003594/0.323, allocations: 119.9 kB / 433.1 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003419/0.3234, allocations: 110.9 kB / 433.2 MB, free: 37.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001834/0.3252, allocations: 0.8042 MB / 434 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001209/0.3264, allocations: 1.365 MB / 435.4 MB, free: 36.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003152/0.3268, allocations: 249.8 kB / 435.6 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004879/0.3273, allocations: 0.5125 MB / 436.1 MB, free: 36.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003617/0.3276, allocations: 354 kB / 436.5 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.906e-05/0.3277, allocations: 35.5 kB / 436.5 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000633/0.3284, allocations: 454 kB / 436.9 MB, free: 36.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001698/0.3285, allocations: 176.5 kB / 437.1 MB, free: 36.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003438/0.3289, allocations: 412.5 kB / 437.5 MB, free: 36.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000829/0.3297, allocations: 0.9049 MB / 438.4 MB, free: 35.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3297, allocations: 0 / 438.4 MB, free: 35.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3298, allocations: 0 / 438.4 MB, free: 35.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.3298, allocations: 2.875 kB / 438.4 MB, free: 35.83 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.001424/0.3312, allocations: 1.305 MB / 439.7 MB, free: 34.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.3313, allocations: 8.156 kB / 439.7 MB, free: 34.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003656/0.3316, allocations: 119.6 kB / 439.9 MB, free: 34.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005352/0.3322, allocations: 495.4 kB / 440.3 MB, free: 34.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/0.3323, allocations: 135.1 kB / 440.5 MB, free: 34.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.3324, allocations: 96.11 kB / 440.6 MB, free: 34.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0021/0.3345, allocations: 1.717 MB / 442.3 MB, free: 33.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/0.3346, allocations: 2.938 kB / 442.3 MB, free: 33.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.3347, allocations: 52.39 kB / 442.3 MB, free: 33.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001117/0.3348, allocations: 84.39 kB / 442.4 MB, free: 33.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00162/0.3364, allocations: 1.177 MB / 443.6 MB, free: 33.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003786/0.3402, allocations: 4.508 MB / 448.1 MB, free: 29.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001688/0.3419, allocations: 1.916 MB / 450 MB, free: 28.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001451/0.3434, allocations: 1.769 MB / 451.8 MB, free: 27.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.603e-05/0.3435, allocations: 86.98 kB / 451.9 MB, free: 27.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001276/0.3448, allocations: 1.059 MB / 452.9 MB, free: 26.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=97): time 2.534e-06/0.3448, allocations: 0 / 452.9 MB, free: 26.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=97): time 0.003191/0.348, allocations: 2.587 MB / 455.5 MB, free: 25.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002311/0.3483, allocations: 0.6182 MB / 456.1 MB, free: 25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005788/0.3488, allocations: 0.5123 MB / 456.7 MB, free: 24.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.046e-05/0.3489, allocations: 72.38 kB / 456.7 MB, free: 24.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002003/0.3491, allocations: 354.4 kB / 457.1 MB, free: 24.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/0.3493, allocations: 244.2 kB / 457.3 MB, free: 24.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001606/0.3495, allocations: 175.9 kB / 457.5 MB, free: 24.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.152e-05/0.3495, allocations: 326.7 kB / 457.8 MB, free: 23.85 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005805/0.3501, allocations: 442.6 kB / 458.2 MB, free: 23.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00077/0.3509, allocations: 0.9057 MB / 459.1 MB, free: 22.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002697/0.3536, allocations: 2.708 MB / 461.8 MB, free: 20.85 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.692e-05/0.3537, allocations: 7.969 kB / 461.9 MB, free: 20.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.002684/0.3563, allocations: 1.913 MB / 463.8 MB, free: 19.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001465/0.3565, allocations: 353.3 kB / 464.1 MB, free: 19.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.345e-05/0.3565, allocations: 15.12 kB / 464.1 MB, free: 19.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.738e-05/0.3566, allocations: 21.53 kB / 464.1 MB, free: 19.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005009/0.3571, allocations: 167.2 kB / 464.3 MB, free: 19.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.228e-05/0.3571, allocations: 29.02 kB / 464.3 MB, free: 19.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000588/0.3577, allocations: 159.8 kB / 464.5 MB, free: 19.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.3578, allocations: 75.73 kB / 464.6 MB, free: 19.38 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.001067/0.3589, allocations: 0.8623 MB / 465.4 MB, free: 18.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/0.3591, allocations: 93.12 kB / 465.5 MB, free: 18.71 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002539/0.3616, allocations: 1.859 MB / 467.4 MB, free: 17.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.3617, allocations: 10.56 kB / 467.4 MB, free: 17.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.3617, allocations: 0 / 467.4 MB, free: 17.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.3617, allocations: 4.062 kB / 467.4 MB, free: 17.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004192/0.3659, allocations: 3.039 MB / 470.4 MB, free: 16.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.3659, allocations: 1.375 kB / 470.4 MB, free: 16.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/0.3661, allocations: 44.42 kB / 470.5 MB, free: 16.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.3661, allocations: 2.75 kB / 470.5 MB, free: 16.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.554e-05/0.3662, allocations: 43.31 kB / 470.5 MB, free: 16.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.3662, allocations: 2.75 kB / 470.5 MB, free: 16.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3662, allocations: 2.031 kB / 470.5 MB, free: 16.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003108/0.3693, allocations: 2.28 MB / 472.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.3695, allocations: 142.7 kB / 473 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000227/0.3697, allocations: 80.16 kB / 473 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004503/0.3702, allocations: 65.84 kB / 473.1 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002848/0.3705, allocations: 141.2 kB / 473.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/0.3706, allocations: 55.45 kB / 473.3 MB, free: 15.1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000356/0.371, allocations: 300.5 kB / 473.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.371, allocations: 0 / 473.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001439/0.3724, allocations: 383.4 kB / 474 MB, free: 14.88 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.0007788/0.3732, allocations: 394.4 kB / 474.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002951/0.3762, allocations: 2.259 MB / 476.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.3762, allocations: 1.094 kB / 476.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002813/0.379, allocations: 3.588 MB / 480.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007919/0.3798, allocations: 114.4 kB / 480.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004607/0.3845, allocations: 2.839 MB / 483.1 MB, free: 9.453 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005242/0.385, allocations: 1.004 MB / 484.1 MB, free: 8.711 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/0.3852, allocations: 63.78 kB / 484.2 MB, free: 8.699 MB / 350.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3852, allocations: 0 / 484.2 MB, free: 8.699 MB / 350.1 MB Notification: Performance of Templates: time 0.02072/0.406, allocations: 13.5 MB / 497.7 MB, free: 13.71 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