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.0008371/0.0008372, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.0008781/0.0008781, allocations: 168.7 kB / 15.95 MB, free: 204 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.177/1.177, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1687/0.1687, allocations: 16.74 MB / 307.8 MB, free: 15.75 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002572/0.0002572, allocations: 8 kB / 372.8 MB, free: 3.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2397, allocations: 54.46 MB / 427.3 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.NoInputConflict): time 0.001579/0.2413, allocations: 1.894 MB / 429.2 MB, free: 37.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002541/0.2439, allocations: 2.035 MB / 431.2 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001844/0.2441, allocations: 11.34 kB / 431.2 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002605/0.2443, allocations: 114.3 kB / 431.3 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002928/0.2446, allocations: 117.9 kB / 431.4 MB, free: 37.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.2457, allocations: 0.6828 MB / 432.1 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007368/0.2464, allocations: 1.294 MB / 433.4 MB, free: 36.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002284/0.2467, allocations: 213.2 kB / 433.6 MB, free: 36.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003202/0.247, allocations: 0.5201 MB / 434.1 MB, free: 36.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002757/0.2473, allocations: 331.7 kB / 434.5 MB, free: 35.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.297e-05/0.2473, allocations: 34.25 kB / 434.5 MB, free: 35.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004067/0.2478, allocations: 427.4 kB / 434.9 MB, free: 35.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.2479, allocations: 161.6 kB / 435.1 MB, free: 35.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.248, allocations: 181.9 kB / 435.3 MB, free: 35.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005567/0.2486, allocations: 0.9129 MB / 436.2 MB, free: 35.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.2486, allocations: 4 kB / 436.2 MB, free: 35.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2486, allocations: 0 / 436.2 MB, free: 35.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.2486, allocations: 0 / 436.2 MB, free: 35.4 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.001063/0.2497, allocations: 1.298 MB / 437.5 MB, free: 34.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/0.2497, allocations: 9.469 kB / 437.5 MB, free: 34.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003041/0.25, allocations: 120 kB / 437.6 MB, free: 34.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004571/0.2505, allocations: 486.9 kB / 438.1 MB, free: 33.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.393e-05/0.2506, allocations: 130.7 kB / 438.2 MB, free: 33.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.2507, allocations: 95.92 kB / 438.3 MB, free: 33.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001778/0.2525, allocations: 1.726 MB / 440 MB, free: 33.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.2525, allocations: 10.5 kB / 440 MB, free: 33.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.027e-05/0.2526, allocations: 47.38 kB / 440.1 MB, free: 33.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.467e-05/0.2527, allocations: 91.95 kB / 440.2 MB, free: 33.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001384/0.2541, allocations: 1.191 MB / 441.4 MB, free: 32.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003124/0.2572, allocations: 4.504 MB / 445.9 MB, free: 29.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.2587, allocations: 1.933 MB / 447.8 MB, free: 28.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001186/0.2599, allocations: 1.787 MB / 449.6 MB, free: 26.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.968e-05/0.2599, allocations: 88.73 kB / 449.7 MB, free: 26.81 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001079/0.261, allocations: 1.067 MB / 450.7 MB, free: 26.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=97): time 2.956e-06/0.261, allocations: 0 / 450.7 MB, free: 26.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=97): time 0.002768/0.2638, allocations: 2.643 MB / 453.4 MB, free: 25.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001996/0.264, allocations: 0.6075 MB / 454 MB, free: 24.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004014/0.2644, allocations: 0.5092 MB / 454.5 MB, free: 24.35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.325e-05/0.2645, allocations: 72.56 kB / 454.6 MB, free: 24.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/0.2647, allocations: 353.6 kB / 454.9 MB, free: 24.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.2648, allocations: 239.6 kB / 455.1 MB, free: 23.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/0.2648, allocations: 25.12 kB / 455.2 MB, free: 23.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.248e-05/0.2649, allocations: 399.6 kB / 455.6 MB, free: 23.49 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000511/0.2655, allocations: 436 kB / 456 MB, free: 23.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006608/0.2661, allocations: 0.8945 MB / 456.9 MB, free: 22.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006771/0.2668, allocations: 0.8705 MB / 457.8 MB, free: 22.03 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.804e-06/0.2668, allocations: 6.328 kB / 457.8 MB, free: 22.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.001846/0.2687, allocations: 1.895 MB / 459.7 MB, free: 21.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.2688, allocations: 347.5 kB / 460 MB, free: 20.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/0.2688, allocations: 27.52 kB / 460 MB, free: 20.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/0.2688, allocations: 21.94 kB / 460 MB, free: 20.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004212/0.2693, allocations: 160.1 kB / 460.2 MB, free: 20.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.757e-05/0.2693, allocations: 32.83 kB / 460.2 MB, free: 20.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004413/0.2698, allocations: 163.5 kB / 460.4 MB, free: 20.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.058e-05/0.2699, allocations: 63.41 kB / 460.5 MB, free: 20.57 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.0006994/0.2706, allocations: 0.8656 MB / 461.3 MB, free: 19.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.2707, allocations: 85.53 kB / 461.4 MB, free: 19.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002174/0.2729, allocations: 1.882 MB / 463.3 MB, free: 19.08 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.2729, allocations: 5.469 kB / 463.3 MB, free: 19.08 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.2729, allocations: 9.281 kB / 463.3 MB, free: 19.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.2729, allocations: 3.328 kB / 463.3 MB, free: 19.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003337/0.2762, allocations: 3.072 MB / 466.4 MB, free: 17.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.2763, allocations: 5.25 kB / 466.4 MB, free: 17.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.2764, allocations: 44.45 kB / 466.4 MB, free: 17.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.2764, allocations: 3.188 kB / 466.4 MB, free: 17.63 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-05/0.2765, allocations: 44.36 kB / 466.5 MB, free: 17.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.2765, allocations: 6.281 kB / 466.5 MB, free: 17.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2765, allocations: 1.312 kB / 466.5 MB, free: 17.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002445/0.279, allocations: 2.307 MB / 468.8 MB, free: 16.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.296e-05/0.2791, allocations: 150.6 kB / 468.9 MB, free: 16.35 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001774/0.2792, allocations: 80.59 kB / 469 MB, free: 16.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003692/0.2796, allocations: 68.59 kB / 469.1 MB, free: 16.31 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002471/0.2799, allocations: 137 kB / 469.2 MB, free: 16.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.876e-05/0.28, allocations: 59.09 kB / 469.3 MB, free: 16.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002816/0.2803, allocations: 301.1 kB / 469.6 MB, free: 16.11 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2803, allocations: 0 / 469.6 MB, free: 16.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001046/0.2813, allocations: 374.5 kB / 469.9 MB, free: 16.04 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.0006322/0.282, allocations: 403.7 kB / 470.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002232/0.2842, allocations: 2.273 MB / 472.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2842, allocations: 2.219 kB / 472.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002179/0.2864, allocations: 3.616 MB / 476.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000536/0.287, allocations: 121 kB / 476.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003458/0.2904, allocations: 2.747 MB / 479.1 MB, free: 10.69 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004429/0.2909, allocations: 1.011 MB / 480.1 MB, free: 9.953 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00045/0.2913, allocations: 204.6 kB / 480.3 MB, free: 9.938 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.2915, allocations: 56.84 kB / 480.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2915, allocations: 0 / 480.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of Templates: time 0.01478/0.3062, allocations: 12.21 MB / 492.6 MB, free: 1.766 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