Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.Speed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo", uses=false) Using package PNlib with version 2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PNlib.Examples.ConTest.Speed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|T3.fire|T3.instantaneousSpeed|T3.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.Speed") translateModel(PNlib.Examples.ConTest.Speed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|T3.fire|T3.instantaneousSpeed|T3.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.Speed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009239/0.0009238, allocations: 174.4 kB / 7.644 MB, free: 1.41 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.378/1.378, allocations: 205.3 MB / 213.4 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007966/0.0007967, allocations: 89.91 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.06957/0.06957, allocations: 16.73 MB / 326.1 MB, free: 12.63 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.635e-05/1.639e-05, allocations: 4 kB / 384 MB, free: 70.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09421/0.09424, allocations: 51.7 MB / 435.7 MB, free: 19.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3573/0.4516, allocations: 79.46 MB / 0.5031 GB, free: 9.961 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002124/0.4519, allocations: 69.36 kB / 0.5031 GB, free: 9.961 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06494/0.5168, allocations: 26.75 MB / 0.5292 GB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.5169, allocations: 0 / 0.5292 GB, free: 11.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001177/0.517, allocations: 39.94 kB / 0.5293 GB, free: 11.05 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 530 * Number of variables: 530 Notification: Performance of Generate backend data structure: time 0.006611/0.5236, allocations: 2.361 MB / 0.5316 GB, free: 8.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/0.5237, allocations: 8.031 kB / 0.5316 GB, free: 8.762 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003293/0.527, allocations: 448.8 kB / 0.532 GB, free: 8.324 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003092/0.5301, allocations: 0.9612 MB / 0.533 GB, free: 7.551 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006037/0.5308, allocations: 451.1 kB / 0.5334 GB, free: 7.043 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009184/0.5317, allocations: 159.8 kB / 0.5335 GB, free: 6.891 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004576/0.5363, allocations: 2.549 MB / 0.536 GB, free: 5.227 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005494/0.5418, allocations: 3.37 MB / 0.5393 GB, free: 2.676 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.287e-05/0.5419, allocations: 7.844 kB / 0.5393 GB, free: 2.668 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002597/0.5421, allocations: 38.62 kB / 0.5394 GB, free: 2.633 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002469/0.5424, allocations: 152.1 kB / 0.5395 GB, free: 2.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0103/0.5527, allocations: 7.132 MB / 0.5465 GB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00345/0.5562, allocations: 3.311 MB / 0.5497 GB, free: 9.309 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003017/0.5593, allocations: 2.934 MB / 0.5526 GB, free: 6.367 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001891/0.5595, allocations: 117.9 kB / 0.5527 GB, free: 6.234 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002691/0.5622, allocations: 1.847 MB / 0.5545 GB, free: 4.348 MB / 362.7 MB Notification: Performance of pre-optimization done (n=173): time 2.675e-06/0.5622, allocations: 0 / 0.5545 GB, free: 4.348 MB / 362.7 MB Notification: Performance of matching and sorting (n=173): time 0.005335/0.5676, allocations: 2.889 MB / 0.5573 GB, free: 1.457 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007629/0.5683, allocations: 1.083 MB / 0.5584 GB, free: 188 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009921/0.5694, allocations: 0.6646 MB / 0.559 GB, free: 15.51 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002486/0.5696, allocations: 97.7 kB / 0.5591 GB, free: 15.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005613/0.5702, allocations: 0.6614 MB / 0.5598 GB, free: 14.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000479/0.5707, allocations: 442.2 kB / 0.5602 GB, free: 14.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.5708, allocations: 16 kB / 0.5602 GB, free: 14.31 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002284/0.571, allocations: 440.4 kB / 0.5606 GB, free: 13.87 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001442/0.5725, allocations: 0.9653 MB / 0.5616 GB, free: 12.9 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002276/0.5748, allocations: 1.815 MB / 0.5633 GB, free: 10.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001948/0.5767, allocations: 1.071 MB / 0.5644 GB, free: 9.629 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.361e-05/0.5768, allocations: 8 kB / 0.5644 GB, free: 9.621 MB / 378.7 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.005332/0.5821, allocations: 3.034 MB / 0.5674 GB, free: 6.582 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005083/0.5827, allocations: 0.7724 MB / 0.5681 GB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-05/0.5828, allocations: 36.11 kB / 0.5681 GB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008869/0.5837, allocations: 325 kB / 0.5685 GB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/0.5847, allocations: 295.3 kB / 0.5687 GB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009189/0.5856, allocations: 0.8961 MB / 0.5696 GB, free: 4.102 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/0.5871, allocations: 218.3 kB / 0.5698 GB, free: 3.887 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002839/0.5874, allocations: 152 kB / 0.57 GB, free: 3.738 MB / 378.7 MB Warning: Assuming fixed start value for the following 36 variables: P2.enableIn.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P2.enableIn.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P2.enableIn.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P2.enableIn.sumEnablingProbTAin:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P2.enableIn.nTAin:DISCRETE(fixed = false protected = true ) "number ofactive input transitions" type: Integer P2.enableIn.nremTAin:DISCRETE(fixed = false protected = true ) "number of remaining active input transitions" type: Integer P2.enableIn.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P2.enableIn.arcWeightSum:DISCRETE(fixed = false protected = true ) "arc weight sum" type: Real P1.enableOut.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.nTAout:DISCRETE(fixed = false protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = false protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.Index:DISCRETE(fixed = false protected = true ) type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = false protected = true ) "arc weight sum" type: Real P1.enableIn.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.nTAin:DISCRETE(fixed = false protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = false protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P1.enableIn.arcWeightSum:DISCRETE(fixed = false protected = true ) "arc weight sum" type: Real P2.disMarksOut.anytrue:DISCRETE(fixed = false protected = true ) type: Boolean P2.disMarksIn.anytrue:DISCRETE(fixed = false protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = false protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = false protected = true ) type: Boolean P2.enableOut.arcWeightSum:DISCRETE(fixed = false protected = true ) "arc weight sum" type: Real P2.enableOut.nremTAout:DISCRETE(fixed = false protected = true ) "number of remaining active output transitions" type: Integer P2.enableOut.nTAout:DISCRETE(fixed = false protected = true ) "number of active output transitions" type: Integer P2.enableOut.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P2.enableOut.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.enableOut.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P2.enableOut.Index:DISCRETE(fixed = false protected = true ) type: Integer Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: T3.speedSumIn[1]:VARIABLE(protected = true ) "Input speeds of continuous input places" type: Real [1] T1.speedSumOut[1]:VARIABLE(protected = true ) "Output speeds of continuous output places" type: Real [1] P2.decFactorIn[1]:VARIABLE(protected = true ) "decreasing factors for input transitions" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 121 * Number of states: 0 () * Number of discrete variables: 269 ($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[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,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.disTAin[2],P1.enableIn.disTAin[2],$PRE.P1.enableIn.disTAin[1],P1.enableIn.disTAin[1],$whenCondition6,P2.disMarksInOut,$PRE.P2.disMarksOut.anytrue,$PRE.P2.disMarksIn.anytrue,P2.disMarksOut.anytrue,P2.disMarksOut.numtrue,$whenCondition5,P1.disMarksInOut,$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksInOut,P1.outTransition[1].tokenInOut,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.posTE,P2.enableOut.posTE,$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.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,$PRE.P2.enableOut.Index,P2.enableOut.Index,$whenCondition1,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.inTransition[1].tint,P2.inTransition[1].maxTokensint,T3.outPlaces[1].enabledByInPlaces,T3.outPlaces[1].disTransition,P2.inTransition[1].disPlace,P1.outTransition[1].tint,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,P1.outTransition[1].minTokensint,T3.inPlaces[1].disTransition,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,P1.inTransition[2].tint,P1.inTransition[2].maxTokensint,T2.outPlaces[1].enabledByInPlaces,T2.outPlaces[1].disTransition,P1.inTransition[2].disPlace,P1.inTransition[1].tint,P1.inTransition[1].maxTokensint,T1.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P2.enableIn.enablingPrio[1],P2.reStart,T3.firingCon,T2.firingCon,P1.enableOut.enablingPrio[1],P1.enableIn.enablingPrio[2],P1.enableIn.enablingPrio[1],P1.reStart,T1.firingCon,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksOut.vec[1],P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.disMarksIn.vec[2],P1.disMarksIn.vec[1],P2.disMarksIn.anytrue,P2.disMarksIn.numtrue,P2.disMarksIn.vec[1],$whenCondition2,$whenCondition3,$whenCondition4,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,$PRE.P1.fireIn[1],P1.fireIn[1],$PRE.P1.fireIn[2],P1.fireIn[2],$PRE.P1.fireOut[1],P1.fireOut[1],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],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.vec[2],P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,T2.activation.emptied[1],T2.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.NoTokens,T3.activation.fed[1],T3.activation.emptied[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyOutputActiveVec[1],T3.activation.NoTokens,T3.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.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T2.activation.disPlaceOut[1],T2.activation.maxTokensInt[1],T2.activation.tIntOut[1],T3.activation.arcType[1],T3.activation.disPlaceIn[1],T3.activation.minTokensInt[1],T3.activation.normalArc[1],T3.activation.testValueInt[1],T3.activation.tIntIn[1],T3.activation.disPlaceOut[1],T3.activation.maxTokensInt[1],T3.activation.tIntOut[1],P2.delayPassedIn.vec[1],T3.activation.arcWeightIntOut[1],T3.activation.arcWeightIntIn[1],T2.activation.arcWeightIntOut[1],P1.delayPassedIn.vec[2],P1.delayPassedIn.vec[1],P1.delayPassedOut.vec[1],T1.activation.arcWeightIntOut[1],T1.fire_,T2.fire_) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (291): * Single equations (assignments): 267 * Array equations: 0 * Algorithm blocks: 23 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.001841/0.5892, allocations: 1.297 MB / 0.5712 GB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000515/0.5897, allocations: 162.7 kB / 0.5714 GB, free: 2.172 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005508/0.5952, allocations: 3.168 MB / 0.5745 GB, free: 15 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.559e-05/0.5953, allocations: 8 kB / 0.5745 GB, free: 14.99 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.5953, allocations: 0 / 0.5745 GB, free: 14.99 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.5953, allocations: 7.984 kB / 0.5745 GB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008854/0.6042, allocations: 5.285 MB / 0.5797 GB, free: 9.664 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-05/0.6043, allocations: 7.984 kB / 0.5797 GB, free: 9.656 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003015/0.6046, allocations: 71.78 kB / 0.5797 GB, free: 9.586 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001031/0.6056, allocations: 384.5 kB / 0.5801 GB, free: 9.207 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003184/0.606, allocations: 91.94 kB / 0.5802 GB, free: 9.117 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008865/0.6069, allocations: 0.8678 MB / 0.581 GB, free: 8.227 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.6069, allocations: 4 kB / 0.581 GB, free: 8.223 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008919/0.6158, allocations: 5.284 MB / 0.5862 GB, free: 2.91 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002598/0.6161, allocations: 187.5 kB / 0.5864 GB, free: 2.707 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000626/0.6168, allocations: 163.9 kB / 0.5865 GB, free: 2.547 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/0.6179, allocations: 167.9 kB / 0.5867 GB, free: 2.383 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006801/0.6186, allocations: 396.1 kB / 0.5871 GB, free: 1.996 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002707/0.6189, allocations: 127.9 kB / 0.5872 GB, free: 1.871 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004355/0.6193, allocations: 367.1 kB / 0.5875 GB, free: 1.512 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6193, allocations: 0 / 0.5875 GB, free: 1.512 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002355/0.6217, allocations: 0.6122 MB / 0.5881 GB, free: 0.8984 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 133 ($whenCondition1,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,P2.disMarksInOut,$cse4[1],$whenCondition6,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition4,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,P1.disMarksInOut,P1.fireIn[1],P1.fireIn[2],P1.fireOut[1],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.disTAin[1],P1.enableIn.disTAin[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.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.vec[2],P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,P1.outTransition[1].tokenInOut,T2.activation.emptied[1],T2.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.NoTokens,T3.activation.fed[1],T3.activation.emptied[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyOutputActiveVec[1],T3.activation.NoTokens,T3.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) * Number of discrete states: 117 (P2.fireIn[1],P2.disMarksOut.anytrue,P2.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.fireIn[2],P1.fireIn[1],P1.fireOut[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P1.disMarksInOut,P1.emptying.numtrue,P1.emptying.anytrue,T2.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.NoTokens,P1.feeding.numtrue,P1.feeding.anytrue,T3.activation.weaklyOutputActiveVec[1],T3.activation.weaklyInputActiveVec[1],T3.activation.active,T3.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],$whenCondition4,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],$whenCondition3,P1.enableOut.TEout[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.NoTokens,P1.enableIn.TEin_[2],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[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,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[2],P1.enableIn.disTAin[1],$whenCondition2,P1.enableIn.TEin[2],P1.enableIn.TEin[1],P2.disMarkChange,P1.disMarkChange,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.enableOut.arcWeightSum,P2.enableOut.nremTAout,P2.enableOut.nTAout,P2.enableOut.k,P2.enableOut.posTE,P2.enableOut.randNum,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.sumEnablingProbTAout,P2.enableOut.endWhile,P2.enableOut.Index,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 48 * Array equations: 1 * Algorithm blocks: 19 * 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 {3 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.001096/0.6228, allocations: 0.5363 MB / 0.5887 GB, free: 376 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006327/0.6291, allocations: 4.97 MB / 0.5935 GB, free: 11.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/0.6292, allocations: 0 / 0.5935 GB, free: 11.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00697/0.6362, allocations: 6.322 MB / 0.5997 GB, free: 4.555 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.6375, allocations: 122.5 kB / 0.5998 GB, free: 4.434 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006121/0.6436, allocations: 3.312 MB / 0.603 GB, free: 1.086 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/0.6447, allocations: 1.466 MB / 0.6045 GB, free: 15.59 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008728/0.6456, allocations: 333.6 kB / 0.6048 GB, free: 15.26 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.6458, allocations: 91.41 kB / 0.6049 GB, free: 15.17 MB / 426.7 MB Notification: Performance of SimCode: time 7.62e-07/0.6458, allocations: 0 / 0.6049 GB, free: 15.17 MB / 426.7 MB Notification: Performance of Templates: time 0.04143/0.6872, allocations: 25.71 MB / 0.63 GB, free: 5.176 MB / 442.7 MB make -j1 -f PNlib_PNlib.Examples.ConTest.Speed.makefile (rm -f PNlib_PNlib.Examples.ConTest.Speed.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.Speed.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.Speed.pipe >> ../files/PNlib_PNlib.Examples.ConTest.Speed.sim & ./PNlib_PNlib.Examples.ConTest.Speed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.ConTest.Speed.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.ConTest.Speed_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.Speed.mat","../files/PNlib_PNlib.Examples.ConTest.Speed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches