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 2.2.0-master/package.mo", uses=false) Using package PNlib with version 2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.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.0008487/0.0008487, allocations: 97.91 kB / 15.05 MB, free: 1.105 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.000957/0.0009571, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.251/1.251, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.179/0.179, allocations: 16.71 MB / 307.7 MB, free: 15.7 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002768/0.000277, allocations: 12 kB / 372.7 MB, free: 3.504 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2635, allocations: 54.47 MB / 427.2 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.NoInputConflict): time 0.001767/0.2653, allocations: 1.949 MB / 429.1 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003154/0.2685, allocations: 2.055 MB / 431.2 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004204/0.2689, allocations: 7.156 kB / 431.2 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000362/0.2693, allocations: 125.7 kB / 431.3 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005181/0.2698, allocations: 166.7 kB / 431.5 MB, free: 37.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001563/0.2714, allocations: 0.6565 MB / 432.1 MB, free: 36.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000951/0.2724, allocations: 0.8204 MB / 432.9 MB, free: 36.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002594/0.2726, allocations: 209.2 kB / 433.1 MB, free: 36.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004452/0.2731, allocations: 486.5 kB / 433.6 MB, free: 36.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003318/0.2734, allocations: 331.8 kB / 433.9 MB, free: 36.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.368e-05/0.2735, allocations: 35.16 kB / 434 MB, free: 36.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000523/0.274, allocations: 381.4 kB / 434.3 MB, free: 35.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001481/0.2742, allocations: 153.5 kB / 434.5 MB, free: 35.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001812/0.2744, allocations: 196.7 kB / 434.7 MB, free: 35.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007372/0.2751, allocations: 0.9 MB / 435.6 MB, free: 35.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2752, allocations: 0 / 435.6 MB, free: 35.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2752, allocations: 0 / 435.6 MB, free: 35.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.564e-05/0.2752, allocations: 0 / 435.6 MB, free: 35.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.001463/0.2767, allocations: 1.311 MB / 436.9 MB, free: 34.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.2767, allocations: 8.594 kB / 436.9 MB, free: 34.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000411/0.2771, allocations: 122.6 kB / 437 MB, free: 34.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006069/0.2777, allocations: 473.5 kB / 437.5 MB, free: 34.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001217/0.2779, allocations: 131.3 kB / 437.6 MB, free: 34.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.278, allocations: 96.62 kB / 437.7 MB, free: 34.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002102/0.2801, allocations: 1.73 MB / 439.4 MB, free: 33.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/0.2802, allocations: 7.938 kB / 439.4 MB, free: 33.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.2803, allocations: 49.28 kB / 439.5 MB, free: 33.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001235/0.2804, allocations: 81.62 kB / 439.6 MB, free: 33.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00159/0.282, allocations: 1.196 MB / 440.8 MB, free: 32.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003641/0.2856, allocations: 4.505 MB / 445.3 MB, free: 29.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/0.2872, allocations: 1.936 MB / 447.2 MB, free: 28.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.028e-05/0.2873, allocations: 87.08 kB / 447.3 MB, free: 28.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001107/0.2884, allocations: 1.064 MB / 448.4 MB, free: 27.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=97): time 2.254e-06/0.2885, allocations: 0 / 448.4 MB, free: 27.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=97): time 0.002969/0.2914, allocations: 2.985 MB / 451.3 MB, free: 26.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000188/0.2916, allocations: 0.6099 MB / 452 MB, free: 25.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004569/0.2921, allocations: 0.5104 MB / 452.5 MB, free: 25.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.375e-05/0.2922, allocations: 70.17 kB / 452.5 MB, free: 25.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.2923, allocations: 352.3 kB / 452.9 MB, free: 24.94 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.2925, allocations: 240.6 kB / 453.1 MB, free: 24.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-05/0.2925, allocations: 25.78 kB / 453.1 MB, free: 24.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.471e-05/0.2926, allocations: 401.9 kB / 453.5 MB, free: 24.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005406/0.2932, allocations: 432.2 kB / 454 MB, free: 24.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006892/0.2939, allocations: 0.8962 MB / 454.8 MB, free: 23.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007322/0.2946, allocations: 0.8563 MB / 455.7 MB, free: 22.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.767e-06/0.2946, allocations: 9.812 kB / 455.7 MB, free: 22.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.001928/0.2966, allocations: 1.896 MB / 457.6 MB, free: 21.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/0.2967, allocations: 350.5 kB / 458 MB, free: 21.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.2967, allocations: 19.28 kB / 458 MB, free: 21.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.783e-05/0.2968, allocations: 24.12 kB / 458 MB, free: 21.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004125/0.2972, allocations: 176.7 kB / 458.2 MB, free: 21.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.221e-05/0.2972, allocations: 32.67 kB / 458.2 MB, free: 21.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004792/0.2977, allocations: 159.8 kB / 458.4 MB, free: 21.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.26e-05/0.2978, allocations: 66.59 kB / 458.4 MB, free: 21.47 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.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumOut.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,$PRE.P1.enableIn.state128[1],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[4],$PRE.P1.enableIn.randNum,P1.enableIn.randNum,$PRE.P1.enableIn.cumEnablingProb[2],P1.enableIn.cumEnablingProb[2],$PRE.P1.enableIn.cumEnablingProb[1],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,$PRE.P1.enableIn.remTAin[2],P1.enableIn.remTAin[2],$PRE.P1.enableIn.remTAin[1],P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$whenCondition5,$PRE.P1.reStart,$whenCondition4,$whenCondition3,P1.tokeninout,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,$PRE.T2.fireTime,T2.fireTime,$PRE.T2.ani,T2.ani,$PRE.T1.fireTime,T1.fireTime,$PRE.T1.ani,T1.ani,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,$PRE.P1.enableOut.state128[1],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[4],$PRE.P1.enableOut.randNum,P1.enableOut.randNum,$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,$whenCondition1,P1.activeConOut.anychange,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,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],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition2,T1.active,$PRE.T1.firingTime,T1.firingTime,$PRE.T1.delayPassed,T1.delayPassed,T1.activation.tIntOut[1],T1.activation.maxTokensInt[1],T1.activation.active,T2.active,$PRE.T2.firingTime,T2.firingTime,$PRE.T2.delayPassed,T2.delayPassed,T2.activation.tIntOut[1],T2.activation.maxTokensInt[1],T2.activation.active,$PRE.P1.t,P1.t,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.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],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin[1],$PRE.P1.enableIn.TEin[2],P1.enableIn.TEin[2],$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,T1.activation.disPlaceOut[1],T2.activation.disPlaceOut[1],T2.activation.arcWeightIntOut[1],T1.activation.arcWeightIntOut[1],T1.enabledByInPlaces,T2.enabledByInPlaces,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007629/0.2986, allocations: 0.8579 MB / 459.3 MB, free: 20.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.2987, allocations: 85.28 kB / 459.4 MB, free: 20.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002159/0.3008, allocations: 1.882 MB / 461.2 MB, free: 20 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.3009, allocations: 5.469 kB / 461.3 MB, free: 20 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.3009, allocations: 1.031 kB / 461.3 MB, free: 20 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.3009, allocations: 4.172 kB / 461.3 MB, free: 20 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003628/0.3045, allocations: 3.085 MB / 464.3 MB, free: 18.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.3046, allocations: 4 kB / 464.3 MB, free: 18.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.3047, allocations: 43.67 kB / 464.4 MB, free: 18.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.3047, allocations: 3.375 kB / 464.4 MB, free: 18.54 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.577e-05/0.3048, allocations: 43.47 kB / 464.4 MB, free: 18.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.3048, allocations: 2 kB / 464.4 MB, free: 18.53 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.3048, allocations: 1 kB / 464.4 MB, free: 18.53 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003016/0.3079, allocations: 2.329 MB / 466.8 MB, free: 17.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/0.308, allocations: 145.3 kB / 466.9 MB, free: 17.24 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000237/0.3083, allocations: 80.42 kB / 467 MB, free: 17.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004502/0.3087, allocations: 65.67 kB / 467 MB, free: 17.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002978/0.309, allocations: 138.9 kB / 467.2 MB, free: 17.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/0.3092, allocations: 58.8 kB / 467.2 MB, free: 17.15 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003946/0.3096, allocations: 296.8 kB / 467.5 MB, free: 17.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3096, allocations: 3.938 kB / 467.5 MB, free: 17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001427/0.311, allocations: 373.8 kB / 467.9 MB, free: 16.93 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006627/0.3117, allocations: 400.5 kB / 468.3 MB, free: 16.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002997/0.3147, allocations: 2.274 MB / 470.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.3147, allocations: 9.062 kB / 470.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002412/0.3171, allocations: 3.61 MB / 474.2 MB, free: 12.81 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005061/0.3177, allocations: 87.27 kB / 474.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004018/0.3217, allocations: 2.726 MB / 477 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004908/0.3222, allocations: 1.031 MB / 478 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005476/0.3228, allocations: 215.6 kB / 478.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.3229, allocations: 57.62 kB / 478.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3229, allocations: 0 / 478.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of Templates: time 0.01818/0.3411, allocations: 12.18 MB / 490.5 MB, free: 3.773 MB / 350.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