Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.LoopAndArcweight.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.ConTest.LoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.LoopAndArcweight") translateModel(PNlib.Examples.ConTest.LoopAndArcweight,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.LoopAndArcweight") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008512/0.0008511, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008935/0.0008935, allocations: 172.7 kB / 15.95 MB, free: 208 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.169/1.169, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1667/0.1667, allocations: 16.73 MB / 307.8 MB, free: 15.63 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002672/0.0002672, allocations: 8 kB / 372.8 MB, free: 3.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2247, allocations: 54.47 MB / 427.3 MB, free: 37.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.LoopAndArcweight): time 0.001948/0.2267, allocations: 2.287 MB / 429.6 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002829/0.2295, allocations: 2.231 MB / 431.8 MB, free: 36.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002332/0.2297, allocations: 9.531 kB / 431.8 MB, free: 36.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002795/0.23, allocations: 155 kB / 432 MB, free: 36.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004226/0.2305, allocations: 164.8 kB / 432.1 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.2315, allocations: 0.7167 MB / 432.8 MB, free: 36.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001117/0.2327, allocations: 2.034 MB / 434.9 MB, free: 35.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003185/0.233, allocations: 316.8 kB / 435.2 MB, free: 35.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004713/0.2335, allocations: 0.7626 MB / 435.9 MB, free: 35.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004752/0.234, allocations: 0.6399 MB / 436.6 MB, free: 34.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001354/0.2341, allocations: 77.75 kB / 436.6 MB, free: 34.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004806/0.2346, allocations: 416.4 kB / 437.1 MB, free: 34.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000206/0.2348, allocations: 301.2 kB / 437.4 MB, free: 34.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002543/0.2351, allocations: 350.1 kB / 437.7 MB, free: 34.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009254/0.236, allocations: 1.607 MB / 439.3 MB, free: 34.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.236, allocations: 0 / 439.3 MB, free: 34.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.236, allocations: 0 / 439.3 MB, free: 34.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.236, allocations: 0 / 439.3 MB, free: 34.12 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: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.00162/0.2377, allocations: 2.028 MB / 441.3 MB, free: 32.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.2377, allocations: 8.562 kB / 441.3 MB, free: 32.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001232/0.2389, allocations: 364.4 kB / 441.7 MB, free: 32.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007999/0.2397, allocations: 0.7471 MB / 442.4 MB, free: 31.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001906/0.2399, allocations: 386 kB / 442.8 MB, free: 31.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001937/0.2401, allocations: 188.3 kB / 443 MB, free: 31.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003314/0.2435, allocations: 3.105 MB / 446.1 MB, free: 30.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/0.2435, allocations: 3.062 kB / 446.1 MB, free: 30.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001575/0.2437, allocations: 89.5 kB / 446.2 MB, free: 30.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001711/0.2438, allocations: 156.7 kB / 446.3 MB, free: 30.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002688/0.2465, allocations: 2.276 MB / 448.6 MB, free: 29.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005234/0.2518, allocations: 5.788 MB / 454.4 MB, free: 26.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002271/0.2541, allocations: 2.989 MB / 457.4 MB, free: 24.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002059/0.2561, allocations: 2.8 MB / 460.2 MB, free: 22.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001401/0.2563, allocations: 115.9 kB / 460.3 MB, free: 22.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002099/0.2584, allocations: 1.761 MB / 462.1 MB, free: 22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=148): time 2.285e-06/0.2584, allocations: 0 / 462.1 MB, free: 22 MB / 350.1 MB Notification: Performance of matching and sorting (n=148): time 0.007345/0.2657, allocations: 5.619 MB / 467.7 MB, free: 19.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003504/0.2661, allocations: 1.069 MB / 468.8 MB, free: 18.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006678/0.2668, allocations: 0.6827 MB / 469.4 MB, free: 18.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001247/0.2669, allocations: 101 kB / 469.5 MB, free: 18.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002623/0.2672, allocations: 0.5167 MB / 470.1 MB, free: 17.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002548/0.2674, allocations: 391.3 kB / 470.4 MB, free: 17.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.197e-05/0.2675, allocations: 43.44 kB / 470.5 MB, free: 17.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.2677, allocations: 433.2 kB / 470.9 MB, free: 17.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/0.2689, allocations: 0.9068 MB / 471.8 MB, free: 16.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00143/0.2703, allocations: 1.638 MB / 473.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/0.2718, allocations: 1.649 MB / 475.1 MB, free: 14.53 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.327e-05/0.2718, allocations: 9.219 kB / 475.1 MB, free: 14.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=285) (initialization): time 0.004038/0.2758, allocations: 3.558 MB / 478.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002413/0.2761, allocations: 0.6903 MB / 479.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002148/0.2783, allocations: 1.844 MB / 481.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/0.2793, allocations: 339.3 kB / 481.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006104/0.2799, allocations: 242.3 kB / 481.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004717/0.2804, allocations: 0.7363 MB / 482.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008629/0.2812, allocations: 271.7 kB / 482.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001658/0.2814, allocations: 113.5 kB / 482.9 MB, free: 10.41 MB / 350.1 MB Warning: Assuming fixed start value for the following 36 variables: P2.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P2.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P2.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P2.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P2.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P2.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P2.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P2.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P2.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" 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.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.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 P1.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" 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.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P2.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P2.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 231 ($PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,$PRE.P2.enableOut.state128[1],P2.enableOut.state128[1],$PRE.P2.enableOut.state128[2],P2.enableOut.state128[2],$PRE.P2.enableOut.state128[3],P2.enableOut.state128[3],$PRE.P2.enableOut.state128[4],P2.enableOut.state128[4],$PRE.P2.enableOut.randNum,P2.enableOut.randNum,$PRE.P2.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,$whenCondition6,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,$PRE.P2.enableIn.posTE,P2.enableIn.posTE,$PRE.P2.enableIn.k,P2.enableIn.k,$PRE.P2.enableIn.endWhile,P2.enableIn.endWhile,$PRE.P2.enableIn.state128[1],P2.enableIn.state128[1],$PRE.P2.enableIn.state128[2],P2.enableIn.state128[2],$PRE.P2.enableIn.state128[3],P2.enableIn.state128[3],$PRE.P2.enableIn.state128[4],P2.enableIn.state128[4],$PRE.P2.enableIn.randNum,P2.enableIn.randNum,$PRE.P2.enableIn.cumEnablingProb[1],P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.sumEnablingProbTAin,P2.enableIn.sumEnablingProbTAin,$PRE.P2.enableIn.nTAin,P2.enableIn.nTAin,$PRE.P2.enableIn.nremTAin,P2.enableIn.nremTAin,$PRE.P2.enableIn.remTAin[1],P2.enableIn.remTAin[1],$PRE.P2.enableIn.Index,P2.enableIn.Index,$PRE.P2.enableIn.arcWeightSum,P2.enableIn.arcWeightSum,$PRE.P2.enableIn.disTAin[1],P2.enableIn.disTAin[1],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$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.cumEnablingProb[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,$PRE.P1.enableOut.remTAout[1],P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.disTAout[1],P1.enableOut.disTAout[1],$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[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[1],P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.disTAin[1],P1.enableIn.disTAin[1],P1.outTransition[1].tokenInOut,$PRE.P1.disMarksInOut,$whenCondition5,P2.disMarksInOut,$PRE.P2.disMarksOut.anytrue,$PRE.P2.disMarksIn.anytrue,$whenCondition4,P1.disMarksInOut,$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,P2.disMarksOut.anytrue,P2.disMarksOut.numtrue,P2.inTransition[1].disPlace,P2.inTransition[1].maxTokensint,P2.inTransition[1].tint,T1.outPlaces[2].disTransition,T1.outPlaces[2].enabledByInPlaces,P2.reStart,T1.firingCon,T1.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.outTransition[1].minTokensint,P1.outTransition[1].tint,P1.reStart,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksOut.vec[1],P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.disMarksIn.vec[1],P2.disMarksIn.anytrue,P2.disMarksIn.numtrue,P2.disMarksIn.vec[1],$whenCondition1,$whenCondition2,$whenCondition3,$PRE.P1.fireIn[1],P1.fireIn[1],$PRE.P1.fireOut[1],P1.fireOut[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.feeding.vec[1],P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,T1.activation.fed[1],T1.activation.emptied[1],T1.activation.emptied[2],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyOutputActiveVec[2],T1.activation.NoTokens,T1.fire_,$PRE.P2.fireIn[1],P2.fireIn[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],$PRE.P2.enableIn.TEin[1],P2.enableIn.TEin[1],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.feeding.vec[1],P2.feeding.anytrue,P2.feeding.numtrue,P2.emptying.anytrue,P2.emptying.numtrue,T1.activation.tIntIn[1],T1.activation.minTokensInt[1],T1.activation.disPlaceIn[1],T1.activation.arcType[1],T1.activation.testValueInt[1],T1.activation.normalArc[1],T1.activation.tIntOut[1],T1.activation.maxTokensInt[1],T1.activation.disPlaceOut[1],T1.activation.tIntOut[2],T1.activation.maxTokensInt[2],T1.activation.disPlaceOut[2],P2.delayPassedIn.vec[1],T1.activation.arcWeightIntOut[2],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntIn[1],P1.delayPassedIn.vec[1],P1.delayPassedOut.vec[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (240): * Single equations (assignments): 218 * Array equations: 0 * Algorithm blocks: 21 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.001616/0.283, allocations: 1.468 MB / 484.4 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000306/0.2834, allocations: 149.7 kB / 484.5 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004977/0.2883, allocations: 4.454 MB / 489 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.2884, allocations: 8 kB / 489 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.2884, allocations: 3.938 kB / 489 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.2884, allocations: 7.984 kB / 489 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007006/0.2954, allocations: 6.491 MB / 495.5 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005509/0.3009, allocations: 4.283 MB / 499.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.3012, allocations: 59.89 kB / 499.8 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005288/0.3017, allocations: 230.9 kB / 0.4883 GB, free: 9.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001727/0.3019, allocations: 85.05 kB / 0.4884 GB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005382/0.3024, allocations: 0.7122 MB / 0.4891 GB, free: 9.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3025, allocations: 4.031 kB / 0.4891 GB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008514/0.311, allocations: 6.623 MB / 0.4956 GB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001665/0.3112, allocations: 179.6 kB / 0.4957 GB, free: 2.211 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000349/0.3115, allocations: 156 kB / 0.4959 GB, free: 2.059 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007664/0.3123, allocations: 162.9 kB / 0.496 GB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005048/0.3128, allocations: 352.2 kB / 0.4964 GB, free: 1.559 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001815/0.313, allocations: 101.8 kB / 0.4965 GB, free: 1.461 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003963/0.3134, allocations: 382.8 kB / 0.4968 GB, free: 1.086 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3134, allocations: 4 kB / 0.4968 GB, free: 1.082 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001628/0.315, allocations: 0.5888 MB / 0.4974 GB, free: 0.4922 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 119 (P2.disMarksInOut,$cse3[1],$whenCondition5,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,P1.outTransition[1].tokenInOut,P1.disMarksInOut,P1.fireIn[1],P1.fireOut[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.disTAin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],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.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.disTAout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],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.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.feeding.vec[1],P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,T1.activation.fed[1],T1.activation.emptied[1],T1.activation.emptied[2],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyOutputActiveVec[2],T1.activation.NoTokens,T1.fire_,P2.fireIn[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],P2.enableIn.state128[1],P2.enableIn.state128[2],P2.enableIn.state128[3],P2.enableIn.state128[4],P2.enableIn.TEin[1],P2.enableIn.disTAin[1],P2.enableIn.remTAin[1],P2.enableIn.cumEnablingProb[1],P2.enableIn.arcWeightSum,P2.enableIn.nremTAin,P2.enableIn.nTAin,P2.enableIn.k,P2.enableIn.posTE,P2.enableIn.randNum,P2.enableIn.sumEnablingProbTAin,P2.enableIn.endWhile,P2.enableIn.Index,P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.disMarksOut.anytrue,P2.disMarksOut.numtrue,P2.disMarksIn.anytrue,P2.disMarksIn.numtrue,P2.feeding.vec[1],P2.feeding.anytrue,P2.feeding.numtrue,P2.emptying.anytrue,P2.emptying.numtrue,$whenCondition6,P2.enableOut.state128[1],P2.enableOut.state128[2],P2.enableOut.state128[3],P2.enableOut.state128[4],P2.enableOut.arcWeightSum,P2.enableOut.nremTAout,P2.enableOut.nTAout,P2.enableOut.k,P2.enableOut.posTE,P2.enableOut.randNum,P2.enableOut.sumEnablingProbTAout,P2.enableOut.endWhile,P2.enableOut.Index,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue) * Number of discrete states: 106 (P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.enableOut.Index,P2.enableOut.endWhile,P2.enableOut.sumEnablingProbTAout,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.randNum,P2.enableOut.posTE,P2.enableOut.k,P2.enableOut.nTAout,P2.enableOut.nremTAout,P2.enableOut.arcWeightSum,$whenCondition6,P1.disMarksInOut,P2.fireIn[1],P2.disMarksOut.anytrue,P2.disMarksIn.anytrue,P1.fireIn[1],P1.fireOut[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P2.emptying.numtrue,P2.emptying.anytrue,P2.feeding.numtrue,P2.feeding.anytrue,P2.disMarksIn.numtrue,P2.disMarksOut.numtrue,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,T1.activation.weaklyOutputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.NoTokens,P2.enableIn.TEin_[1],P2.enableIn.posTE,P2.enableIn.k,P2.enableIn.endWhile,P2.enableIn.state128[4],P2.enableIn.state128[3],P2.enableIn.state128[2],P2.enableIn.state128[1],P2.enableIn.randNum,P2.enableIn.cumEnablingProb[1],P2.enableIn.sumEnablingProbTAin,P2.enableIn.nTAin,P2.enableIn.nremTAin,P2.enableIn.remTAin[1],P2.enableIn.Index,P2.enableIn.arcWeightSum,P2.enableIn.disTAin[1],$whenCondition3,P2.enableIn.TEin[1],P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout_[1],P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$whenCondition2,P1.enableOut.TEout[1],P1.enableIn.TEin_[1],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[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$whenCondition1,P1.enableIn.TEin[1],P2.disMarkChange,P1.disMarkChange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 40 * Array equations: 1 * Algorithm blocks: 17 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.000774/0.3158, allocations: 0.492 MB / 0.4979 GB, free: 8 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005064/0.3209, allocations: 4.627 MB / 0.5024 GB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.3209, allocations: 0 / 0.5024 GB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004665/0.3256, allocations: 5.824 MB / 0.5081 GB, free: 5.086 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007471/0.3263, allocations: 193.2 kB / 0.5083 GB, free: 4.895 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005003/0.3314, allocations: 3.801 MB / 0.512 GB, free: 1.066 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007716/0.3321, allocations: 1.28 MB / 0.5132 GB, free: 15.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005512/0.3327, allocations: 259.8 kB / 0.5135 GB, free: 15.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.3328, allocations: 67.42 kB / 0.5136 GB, free: 15.43 MB / 398.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3328, allocations: 0 / 0.5136 GB, free: 15.43 MB / 398.1 MB Notification: Performance of Templates: time 0.03095/0.3638, allocations: 23.58 MB / 0.5366 GB, free: 7.676 MB / 414.1 MB make -j1 -f PNlib_PNlib.Examples.ConTest.LoopAndArcweight.makefile (rm -f PNlib_PNlib.Examples.ConTest.LoopAndArcweight.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.LoopAndArcweight.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.LoopAndArcweight.pipe >> ../files/PNlib_PNlib.Examples.ConTest.LoopAndArcweight.sim & ./PNlib_PNlib.Examples.ConTest.LoopAndArcweight -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.ConTest.LoopAndArcweight.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.ConTest.LoopAndArcweight_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.LoopAndArcweight.mat","../files/PNlib_PNlib.Examples.ConTest.LoopAndArcweight.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches