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.001459/0.001459, allocations: 100.1 kB / 15.88 MB, free: 12 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.001811/0.001811, allocations: 196.8 kB / 16.79 MB, free: 6.809 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.399/1.399, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1985/0.1985, allocations: 16.77 MB / 307.4 MB, free: 15.14 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 63.91 kB / 371.6 MB, free: 3.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3122, allocations: 53.45 MB / 425.1 MB, free: 39.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.NoInputConflict): time 0.003011/0.3153, allocations: 2.388 MB / 427.5 MB, free: 38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003918/0.3192, allocations: 2.442 MB / 429.9 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004688/0.3197, allocations: 9.781 kB / 429.9 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004037/0.3202, allocations: 119.2 kB / 430 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003599/0.3206, allocations: 113.2 kB / 430.1 MB, free: 36.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001726/0.3223, allocations: 0.8029 MB / 430.9 MB, free: 36.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001032/0.3233, allocations: 1.367 MB / 432.3 MB, free: 36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002931/0.3236, allocations: 253 kB / 432.6 MB, free: 35.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004838/0.3241, allocations: 0.5359 MB / 433.1 MB, free: 35.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003683/0.3245, allocations: 397.4 kB / 433.5 MB, free: 35.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.3246, allocations: 49.19 kB / 433.5 MB, free: 35.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006187/0.3253, allocations: 469.9 kB / 434 MB, free: 35.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001905/0.3255, allocations: 198 kB / 434.2 MB, free: 35.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003412/0.3258, allocations: 411.5 kB / 434.6 MB, free: 35.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000777/0.3266, allocations: 0.9346 MB / 435.5 MB, free: 34.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.3266, allocations: 0 / 435.5 MB, free: 34.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.3266, allocations: 7.938 kB / 435.5 MB, free: 34.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.3266, allocations: 0 / 435.5 MB, free: 34.71 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.001717/0.3284, allocations: 1.478 MB / 437 MB, free: 33.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.3284, allocations: 11.69 kB / 437 MB, free: 33.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004951/0.3289, allocations: 118.5 kB / 437.1 MB, free: 33.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006103/0.3295, allocations: 493 kB / 437.6 MB, free: 33.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.3297, allocations: 128.7 kB / 437.7 MB, free: 33.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.3298, allocations: 101.5 kB / 437.8 MB, free: 33.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002313/0.3321, allocations: 1.712 MB / 439.6 MB, free: 32.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/0.3322, allocations: 6.531 kB / 439.6 MB, free: 32.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.992e-05/0.3323, allocations: 45.33 kB / 439.6 MB, free: 32.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001179/0.3324, allocations: 86.06 kB / 439.7 MB, free: 32.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0017/0.3341, allocations: 1.171 MB / 440.9 MB, free: 31.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004077/0.3382, allocations: 4.514 MB / 445.4 MB, free: 28.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00175/0.34, allocations: 1.914 MB / 447.3 MB, free: 27.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001398/0.3414, allocations: 1.77 MB / 449.1 MB, free: 26.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.285e-05/0.3415, allocations: 83.83 kB / 449.1 MB, free: 25.99 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001351/0.3428, allocations: 1.055 MB / 450.2 MB, free: 25.53 MB / 350.1 MB Notification: Performance of pre-optimization done (n=97): time 2.915e-06/0.3429, allocations: 0 / 450.2 MB, free: 25.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=97): time 0.003259/0.3461, allocations: 2.588 MB / 452.8 MB, free: 24.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002251/0.3464, allocations: 0.6109 MB / 453.4 MB, free: 23.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005669/0.3469, allocations: 0.5122 MB / 453.9 MB, free: 23.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.412e-05/0.347, allocations: 76.45 kB / 454 MB, free: 23.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.3472, allocations: 351.9 kB / 454.3 MB, free: 23.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/0.3474, allocations: 241 kB / 454.6 MB, free: 23.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003044/0.3477, allocations: 293.3 kB / 454.8 MB, free: 22.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.605e-05/0.3478, allocations: 327.1 kB / 455.2 MB, free: 22.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005939/0.3484, allocations: 436 kB / 455.6 MB, free: 22.47 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008324/0.3492, allocations: 0.9 MB / 456.5 MB, free: 21.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002507/0.3518, allocations: 2.705 MB / 459.2 MB, free: 19.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.491e-05/0.3518, allocations: 6.344 kB / 459.2 MB, free: 19.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.002627/0.3544, allocations: 1.904 MB / 461.1 MB, free: 18.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001706/0.3546, allocations: 349 kB / 461.4 MB, free: 18.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-05/0.3546, allocations: 13.97 kB / 461.5 MB, free: 18.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.826e-05/0.3547, allocations: 26.66 kB / 461.5 MB, free: 18.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004979/0.3552, allocations: 166 kB / 461.6 MB, free: 18.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-05/0.3552, allocations: 29.61 kB / 461.7 MB, free: 18.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005941/0.3558, allocations: 150.6 kB / 461.8 MB, free: 18.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/0.3559, allocations: 76.16 kB / 461.9 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.001148/0.3571, allocations: 0.8576 MB / 462.8 MB, free: 17.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001976/0.3573, allocations: 91.17 kB / 462.8 MB, free: 17.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002756/0.3601, allocations: 1.858 MB / 464.7 MB, free: 16.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.3601, allocations: 6.469 kB / 464.7 MB, free: 16.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.3601, allocations: 0 / 464.7 MB, free: 16.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.3601, allocations: 5.094 kB / 464.7 MB, free: 16.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003995/0.3641, allocations: 3.027 MB / 467.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.3641, allocations: 0 / 467.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.3643, allocations: 43.72 kB / 467.8 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/0.3644, allocations: 5.984 kB / 467.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-05/0.3645, allocations: 44.12 kB / 467.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/0.3645, allocations: 3.5 kB / 467.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3645, allocations: 0 / 467.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002957/0.3674, allocations: 2.277 MB / 470.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.3676, allocations: 144.4 kB / 470.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002258/0.3678, allocations: 81.33 kB / 470.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004555/0.3683, allocations: 63.28 kB / 470.4 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003079/0.3686, allocations: 138 kB / 470.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/0.3687, allocations: 50.67 kB / 470.6 MB, free: 13.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003688/0.3691, allocations: 304.8 kB / 470.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3691, allocations: 0 / 470.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001442/0.3705, allocations: 382.9 kB / 471.2 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.0008621/0.3714, allocations: 400.6 kB / 471.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003125/0.3745, allocations: 2.256 MB / 473.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3746, allocations: 0 / 473.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002451/0.377, allocations: 3.579 MB / 477.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007296/0.3778, allocations: 120.8 kB / 477.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004256/0.382, allocations: 2.843 MB / 480.4 MB, free: 8.223 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006987/0.3827, allocations: 1.006 MB / 481.4 MB, free: 7.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001952/0.383, allocations: 64.41 kB / 481.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of SimCode: time 6.71e-07/0.383, allocations: 3.938 kB / 481.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of Templates: time 0.02246/0.4054, allocations: 13.6 MB / 495.1 MB, free: 13.52 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