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.001317/0.001317, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001592/0.001592, allocations: 187.9 kB / 16.25 MB, free: 6.629 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.323/1.323, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1895/0.1895, allocations: 16.76 MB / 306.8 MB, free: 15.01 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 71.88 kB / 371.2 MB, free: 3.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2994, allocations: 53.44 MB / 424.6 MB, free: 39.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.NoInputConflict): time 0.003195/0.3026, allocations: 2.377 MB / 427 MB, free: 38.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003287/0.3059, allocations: 2.136 MB / 429.1 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002852/0.3062, allocations: 2.844 kB / 429.1 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003533/0.3066, allocations: 120.5 kB / 429.2 MB, free: 37.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003486/0.307, allocations: 109.3 kB / 429.3 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001874/0.3089, allocations: 0.8791 MB / 430.2 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001542/0.3104, allocations: 1.704 MB / 431.9 MB, free: 36.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003435/0.3108, allocations: 263.7 kB / 432.2 MB, free: 36.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006051/0.3114, allocations: 0.672 MB / 432.8 MB, free: 35.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004587/0.3118, allocations: 419.3 kB / 433.3 MB, free: 35.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001272/0.312, allocations: 92.25 kB / 433.3 MB, free: 35.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006483/0.3126, allocations: 0.5023 MB / 433.9 MB, free: 35.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001917/0.3128, allocations: 212.5 kB / 434.1 MB, free: 35.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003466/0.3132, allocations: 457.6 kB / 434.5 MB, free: 35.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.3142, allocations: 1.275 MB / 435.8 MB, free: 34.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3143, allocations: 0 / 435.8 MB, free: 34.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3143, allocations: 0 / 435.8 MB, free: 34.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.3143, allocations: 0 / 435.8 MB, free: 34.6 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.001572/0.3159, allocations: 1.475 MB / 437.3 MB, free: 33.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.3159, allocations: 12.41 kB / 437.3 MB, free: 33.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000406/0.3163, allocations: 123.4 kB / 437.4 MB, free: 33.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005111/0.3169, allocations: 490.3 kB / 437.9 MB, free: 33.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.317, allocations: 126.6 kB / 438 MB, free: 32.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.3171, allocations: 97.92 kB / 438.1 MB, free: 32.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001999/0.3191, allocations: 1.718 MB / 439.8 MB, free: 32.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.3191, allocations: 6.875 kB / 439.8 MB, free: 32.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.431e-05/0.3192, allocations: 48.34 kB / 439.9 MB, free: 32.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000104/0.3193, allocations: 87.31 kB / 439.9 MB, free: 32.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001511/0.3209, allocations: 1.17 MB / 441.1 MB, free: 31.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003545/0.3244, allocations: 4.507 MB / 445.6 MB, free: 28.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.3259, allocations: 1.915 MB / 447.5 MB, free: 27.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001232/0.3272, allocations: 1.765 MB / 449.3 MB, free: 25.97 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.79e-05/0.3273, allocations: 91.58 kB / 449.4 MB, free: 25.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001259/0.3285, allocations: 1.048 MB / 450.4 MB, free: 25.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=97): time 2.856e-06/0.3286, allocations: 0 / 450.4 MB, free: 25.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=97): time 0.002989/0.3316, allocations: 2.588 MB / 453 MB, free: 24.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001989/0.3318, allocations: 0.616 MB / 453.6 MB, free: 23.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004906/0.3323, allocations: 0.5103 MB / 454.2 MB, free: 23.44 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.218e-05/0.3324, allocations: 72.48 kB / 454.2 MB, free: 23.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.3325, allocations: 356.8 kB / 454.6 MB, free: 23.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.3327, allocations: 242.6 kB / 454.8 MB, free: 22.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000268/0.333, allocations: 287.3 kB / 455.1 MB, free: 22.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.739e-05/0.333, allocations: 330.8 kB / 455.4 MB, free: 22.49 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005536/0.3336, allocations: 433.6 kB / 455.8 MB, free: 22.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007343/0.3343, allocations: 0.9042 MB / 456.7 MB, free: 21.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002324/0.3367, allocations: 2.696 MB / 459.4 MB, free: 19.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-05/0.3367, allocations: 8.219 kB / 459.4 MB, free: 19.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.002403/0.3391, allocations: 1.904 MB / 461.3 MB, free: 18.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001437/0.3393, allocations: 354.3 kB / 461.7 MB, free: 18.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.672e-05/0.3393, allocations: 22.42 kB / 461.7 MB, free: 18.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.594e-05/0.3394, allocations: 22.69 kB / 461.7 MB, free: 18.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005049/0.3399, allocations: 164.8 kB / 461.9 MB, free: 18.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.954e-05/0.3399, allocations: 40.58 kB / 461.9 MB, free: 18.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005835/0.3405, allocations: 155.4 kB / 462.1 MB, free: 18.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/0.3406, allocations: 71.27 kB / 462.2 MB, free: 18.01 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.00101/0.3417, allocations: 0.8472 MB / 463 MB, free: 17.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002115/0.3419, allocations: 88.38 kB / 463.1 MB, free: 17.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002555/0.3444, allocations: 1.857 MB / 465 MB, free: 16.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.3445, allocations: 6.188 kB / 465 MB, free: 16.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.3445, allocations: 5.219 kB / 465 MB, free: 16.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.3445, allocations: 3.234 kB / 465 MB, free: 16.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004106/0.3486, allocations: 3.026 MB / 468 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.79e-06/0.3486, allocations: 5.062 kB / 468 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/0.3488, allocations: 43.34 kB / 468 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.864e-06/0.3488, allocations: 2.75 kB / 468 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-05/0.3489, allocations: 44.42 kB / 468.1 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.692e-06/0.349, allocations: 3.453 kB / 468.1 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.349, allocations: 0 / 468.1 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003109/0.3521, allocations: 2.286 MB / 470.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.3522, allocations: 145 kB / 470.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002403/0.3525, allocations: 81.89 kB / 470.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000473/0.353, allocations: 63 kB / 470.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002915/0.3533, allocations: 132.6 kB / 470.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001209/0.3534, allocations: 54.5 kB / 470.8 MB, free: 13.74 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003654/0.3538, allocations: 303.1 kB / 471.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3538, allocations: 0 / 471.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001493/0.3553, allocations: 377.4 kB / 471.5 MB, free: 13.52 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.0009716/0.3563, allocations: 409.8 kB / 471.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003925/0.3602, allocations: 2.392 MB / 474.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.3602, allocations: 0 / 474.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0032/0.3634, allocations: 3.599 MB / 477.9 MB, free: 9.395 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009074/0.3644, allocations: 119 kB / 478 MB, free: 9.359 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005679/0.37, allocations: 2.811 MB / 480.8 MB, free: 8.102 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000869/0.3709, allocations: 1.013 MB / 481.8 MB, free: 7.367 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0007607/0.3717, allocations: 211.9 kB / 482 MB, free: 7.344 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000236/0.372, allocations: 58.72 kB / 482.1 MB, free: 7.332 MB / 350.1 MB Notification: Performance of SimCode: time 1.603e-06/0.372, allocations: 0 / 482.1 MB, free: 7.332 MB / 350.1 MB Notification: Performance of Templates: time 0.02234/0.3943, allocations: 13.11 MB / 495.2 MB, free: 12.85 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