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.001623/0.001623, 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.001723/0.001723, allocations: 188.7 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.382/1.382, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1867/0.1867, allocations: 16.75 MB / 306.8 MB, free: 15.05 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001393, allocations: 67.91 kB / 371.1 MB, free: 3.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3068, allocations: 53.45 MB / 424.6 MB, free: 39.14 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.LoopAndArcweight): time 0.003022/0.3099, allocations: 2.837 MB / 427.4 MB, free: 37.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003095/0.313, allocations: 2.293 MB / 429.7 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003696/0.3134, allocations: 9.625 kB / 429.7 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000372/0.3137, allocations: 170 kB / 429.9 MB, free: 36.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004989/0.3143, allocations: 162.6 kB / 430.1 MB, free: 36.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001653/0.3159, allocations: 0.9423 MB / 431 MB, free: 36.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00186/0.3178, allocations: 2.636 MB / 433.6 MB, free: 34.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004169/0.3182, allocations: 376.3 kB / 434 MB, free: 34.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007995/0.319, allocations: 0.9869 MB / 435 MB, free: 34.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008027/0.3198, allocations: 0.7788 MB / 435.8 MB, free: 33.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002484/0.3201, allocations: 203.6 kB / 436 MB, free: 33.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000802/0.3209, allocations: 0.5756 MB / 436.5 MB, free: 33.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003075/0.3212, allocations: 382 kB / 436.9 MB, free: 33.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006592/0.3219, allocations: 0.8762 MB / 437.8 MB, free: 33.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001608/0.3235, allocations: 2.247 MB / 440 MB, free: 32.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3235, allocations: 0 / 440 MB, free: 32.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3235, allocations: 0 / 440 MB, free: 32.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.015e-05/0.3236, allocations: 0 / 440 MB, free: 32.18 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.002363/0.3259, allocations: 2.374 MB / 442.4 MB, free: 30.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.326, allocations: 13.05 kB / 442.4 MB, free: 30.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001518/0.3275, allocations: 350.9 kB / 442.8 MB, free: 30.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009206/0.3284, allocations: 0.7566 MB / 443.5 MB, free: 29.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002163/0.3287, allocations: 392.5 kB / 443.9 MB, free: 29.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002388/0.3289, allocations: 182.5 kB / 444.1 MB, free: 29.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003788/0.3327, allocations: 3.053 MB / 447.1 MB, free: 28.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.123e-05/0.3327, allocations: 0 / 447.1 MB, free: 28.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001945/0.3329, allocations: 93.91 kB / 447.2 MB, free: 28.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002064/0.3332, allocations: 156.8 kB / 447.4 MB, free: 28.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003179/0.3363, allocations: 2.23 MB / 449.6 MB, free: 27.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006504/0.3429, allocations: 5.744 MB / 455.4 MB, free: 24.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002964/0.3459, allocations: 2.922 MB / 458.3 MB, free: 22.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002424/0.3483, allocations: 2.76 MB / 461 MB, free: 20.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001634/0.3485, allocations: 118.8 kB / 461.2 MB, free: 20.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002347/0.3508, allocations: 1.716 MB / 462.9 MB, free: 19.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=148): time 2.775e-06/0.3508, allocations: 0 / 462.9 MB, free: 19.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=148): time 0.008385/0.3592, allocations: 5.432 MB / 468.3 MB, free: 17.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004764/0.3597, allocations: 1.071 MB / 469.4 MB, free: 16.51 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009154/0.3607, allocations: 0.6833 MB / 470.1 MB, free: 16.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001621/0.3608, allocations: 106.6 kB / 470.2 MB, free: 16.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003797/0.3612, allocations: 0.5136 MB / 470.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002999/0.3615, allocations: 392.4 kB / 471.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006137/0.3622, allocations: 467 kB / 471.5 MB, free: 15.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.86e-05/0.3622, allocations: 333.2 kB / 471.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001438/0.3637, allocations: 0.9096 MB / 472.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001743/0.3654, allocations: 1.631 MB / 474.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003563/0.369, allocations: 3.611 MB / 478 MB, free: 10.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.813e-05/0.3691, allocations: 7.156 kB / 478 MB, free: 10.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=285) (initialization): time 0.004843/0.3739, allocations: 3.558 MB / 481.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002686/0.3742, allocations: 0.6942 MB / 482.3 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002343/0.3765, allocations: 1.826 MB / 484.1 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/0.3776, allocations: 273.5 kB / 484.3 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006086/0.3782, allocations: 240.6 kB / 484.6 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005613/0.3788, allocations: 0.7652 MB / 485.3 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009295/0.3798, allocations: 255.5 kB / 485.6 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001462/0.3799, allocations: 127.7 kB / 485.7 MB, free: 5.855 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.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P2.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.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,P2.enableOut.randNum,$PRE.P2.enableOut.randNum,P2.enableOut.state128[4],$PRE.P2.enableOut.state128[4],P2.enableOut.state128[3],$PRE.P2.enableOut.state128[3],P2.enableOut.state128[2],$PRE.P2.enableOut.state128[2],P2.enableOut.state128[1],$PRE.P2.enableOut.state128[1],$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,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,$whenCondition6,$PRE.P2.enableIn.posTE,P2.enableIn.posTE,$PRE.P2.enableIn.k,P2.enableIn.k,$PRE.P2.enableIn.endWhile,P2.enableIn.endWhile,P2.enableIn.randNum,$PRE.P2.enableIn.randNum,P2.enableIn.state128[4],$PRE.P2.enableIn.state128[4],P2.enableIn.state128[3],$PRE.P2.enableIn.state128[3],P2.enableIn.state128[2],$PRE.P2.enableIn.state128[2],P2.enableIn.state128[1],$PRE.P2.enableIn.state128[1],P2.enableIn.cumEnablingProb[1],$PRE.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,P2.enableIn.remTAin[1],$PRE.P2.enableIn.remTAin[1],$PRE.P2.enableIn.Index,P2.enableIn.Index,$PRE.P2.enableIn.arcWeightSum,P2.enableIn.arcWeightSum,P2.enableIn.disTAin[1],$PRE.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,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],P1.enableOut.cumEnablingProb[1],$PRE.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,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$PRE.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,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[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[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$PRE.P1.enableIn.disTAin[1],$PRE.P1.disMarksInOut,P1.outTransition[1].tokenInOut,$PRE.P2.disMarksIn.anytrue,$PRE.P2.disMarksOut.anytrue,P2.disMarksInOut,$whenCondition5,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition4,P2.disMarksOut.numtrue,P2.disMarksOut.anytrue,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.vec[1],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksIn.vec[1],P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P2.disMarksIn.vec[1],P2.disMarksIn.numtrue,P2.disMarksIn.anytrue,P1.delayPassedOut.vec[1],P1.delayPassedIn.vec[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntOut[2],P2.delayPassedIn.vec[1],T1.activation.disPlaceOut[2],T1.activation.maxTokensInt[2],T1.activation.tIntOut[2],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.minTokensInt[1],T1.activation.tIntIn[1],P2.emptying.numtrue,P2.emptying.anytrue,P2.feeding.numtrue,P2.feeding.anytrue,P2.feeding.vec[1],P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P2.enableIn.TEin[1],$PRE.P2.enableIn.TEin[1],P2.enableIn.TEin_[1],P2.enableIn.active[1],P2.fireIn[1],$PRE.P2.fireIn[1],T1.fire_,T1.activation.NoTokens,T1.activation.weaklyOutputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.emptied[2],T1.activation.emptied[1],T1.activation.fed[1],P1.emptying.numtrue,P1.emptying.anytrue,P1.emptying.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,P1.feeding.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.enableIn.TEin[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.fireOut[1],$PRE.P1.fireOut[1],P1.fireIn[1],$PRE.P1.fireIn[1],$whenCondition3,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001554/0.3815, allocations: 1.47 MB / 487.2 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003228/0.3818, allocations: 147.5 kB / 487.3 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004979/0.3868, allocations: 4.354 MB / 491.7 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/0.3868, allocations: 8 kB / 491.7 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.3868, allocations: 0 / 491.7 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.435e-06/0.3868, allocations: 3.984 kB / 491.7 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008659/0.3955, allocations: 6.366 MB / 498.1 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005906/0.4014, allocations: 4.202 MB / 0.4905 GB, free: 5.195 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002359/0.4017, allocations: 55.88 kB / 0.4905 GB, free: 5.141 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004651/0.4022, allocations: 173.2 kB / 0.4907 GB, free: 4.969 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001899/0.4024, allocations: 87.95 kB / 0.4908 GB, free: 4.883 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000626/0.403, allocations: 0.7443 MB / 0.4915 GB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.403, allocations: 0 / 0.4915 GB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009255/0.4123, allocations: 6.446 MB / 0.4978 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001884/0.4125, allocations: 175.8 kB / 0.498 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004486/0.4129, allocations: 159.9 kB / 0.4981 GB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009432/0.4139, allocations: 151.8 kB / 0.4983 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005682/0.4145, allocations: 340.2 kB / 0.4986 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002242/0.4147, allocations: 103.9 kB / 0.4987 GB, free: 12.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004365/0.4151, allocations: 382.8 kB / 0.4991 GB, free: 12.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.4151, allocations: 0 / 0.4991 GB, free: 12.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001779/0.4169, allocations: 0.5888 MB / 0.4996 GB, free: 11.64 MB / 382.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000963/0.4179, allocations: 0.5025 MB / 0.5001 GB, free: 11.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006453/0.4244, allocations: 4.828 MB / 0.5049 GB, free: 6.047 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.375e-06/0.4244, allocations: 8 kB / 0.5049 GB, free: 6.039 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005586/0.43, allocations: 5.775 MB / 0.5105 GB, free: 44 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.4311, allocations: 192.9 kB / 0.5107 GB, free: 15.86 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006069/0.4372, allocations: 3.888 MB / 0.5145 GB, free: 11.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008851/0.4381, allocations: 1.264 MB / 0.5157 GB, free: 10.64 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006692/0.4388, allocations: 259.9 kB / 0.516 GB, free: 10.39 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.4389, allocations: 71.42 kB / 0.516 GB, free: 10.32 MB / 398.1 MB Notification: Performance of SimCode: time 7.92e-07/0.439, allocations: 0 / 0.516 GB, free: 10.32 MB / 398.1 MB Notification: Performance of Templates: time 0.03883/0.4778, allocations: 25.13 MB / 0.5406 GB, free: 0.9883 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