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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008289/0.0008289, allocations: 86.88 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008909/0.0008909, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.175/1.175, allocations: 223.3 MB / 240 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1585/0.1585, allocations: 16.74 MB / 307.8 MB, free: 15.68 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002591/0.0002591, allocations: 4 kB / 372.8 MB, free: 3.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2288, allocations: 54.47 MB / 427.3 MB, free: 38.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.Speed): time 0.002119/0.231, allocations: 3.075 MB / 430.3 MB, free: 38.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003019/0.234, allocations: 2.681 MB / 433 MB, free: 36.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002936/0.2343, allocations: 9.531 kB / 433 MB, free: 36.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003294/0.2346, allocations: 237.3 kB / 433.3 MB, free: 36.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004787/0.2351, allocations: 218.9 kB / 433.5 MB, free: 36.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.2363, allocations: 0.8587 MB / 434.3 MB, free: 36.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001439/0.2377, allocations: 2.602 MB / 436.9 MB, free: 34.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004084/0.2381, allocations: 438.2 kB / 437.4 MB, free: 34.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007523/0.2389, allocations: 1.019 MB / 438.4 MB, free: 34.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005666/0.2395, allocations: 0.7826 MB / 439.2 MB, free: 34.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001528/0.2396, allocations: 91.47 kB / 439.3 MB, free: 34.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005309/0.2402, allocations: 429.6 kB / 439.7 MB, free: 34.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002623/0.2404, allocations: 385.7 kB / 440.1 MB, free: 33.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002855/0.2407, allocations: 403 kB / 440.5 MB, free: 33.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.2418, allocations: 1.879 MB / 442.3 MB, free: 33.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2418, allocations: 0 / 442.3 MB, free: 33.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2418, allocations: 0 / 442.3 MB, free: 33.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.2418, allocations: 7.938 kB / 442.3 MB, free: 33.32 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: 530 * Number of variables: 530 Notification: Performance of Generate backend data structure: time 0.001812/0.2437, allocations: 2.33 MB / 444.7 MB, free: 31.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.705e-05/0.2437, allocations: 9.312 kB / 444.7 MB, free: 31.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001312/0.245, allocations: 407.9 kB / 445.1 MB, free: 31.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009385/0.246, allocations: 0.8759 MB / 446 MB, free: 30.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002522/0.2462, allocations: 0.4895 MB / 446.4 MB, free: 30.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002489/0.2465, allocations: 233.3 kB / 446.7 MB, free: 30.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004151/0.2506, allocations: 3.827 MB / 450.5 MB, free: 28.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.429e-05/0.2507, allocations: 10.47 kB / 450.5 MB, free: 28.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001904/0.2509, allocations: 114.6 kB / 450.6 MB, free: 28.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002199/0.2511, allocations: 203.8 kB / 450.8 MB, free: 28.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003237/0.2543, allocations: 2.805 MB / 453.6 MB, free: 27.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007264/0.2616, allocations: 7.576 MB / 461.2 MB, free: 23.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00312/0.2648, allocations: 3.684 MB / 464.9 MB, free: 21.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002622/0.2674, allocations: 3.259 MB / 468.1 MB, free: 19.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001298/0.2675, allocations: 117.5 kB / 468.3 MB, free: 19.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002425/0.27, allocations: 2.042 MB / 470.3 MB, free: 18.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=177): time 2.375e-06/0.27, allocations: 0 / 470.3 MB, free: 18.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=177): time 0.007938/0.2779, allocations: 6.301 MB / 476.6 MB, free: 15.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000392/0.2783, allocations: 1.157 MB / 477.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009155/0.2793, allocations: 0.8545 MB / 478.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001474/0.2794, allocations: 115.7 kB / 478.7 MB, free: 14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003177/0.2797, allocations: 0.6511 MB / 479.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002857/0.28, allocations: 476.3 kB / 479.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.2801, allocations: 60.91 kB / 479.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.2803, allocations: 451.9 kB / 480.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001397/0.2817, allocations: 1.088 MB / 481.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001639/0.2833, allocations: 1.96 MB / 483.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001607/0.2849, allocations: 1.921 MB / 485.3 MB, free: 9.023 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.515e-05/0.285, allocations: 7.25 kB / 485.3 MB, free: 9.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=343) (initialization): time 0.004431/0.2894, allocations: 4.508 MB / 489.8 MB, free: 4.762 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002298/0.2896, allocations: 0.7685 MB / 490.6 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002575/0.2922, allocations: 2.644 MB / 493.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006711/0.2929, allocations: 350.5 kB / 493.6 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006459/0.2936, allocations: 291.3 kB / 493.9 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007114/0.2943, allocations: 0.9078 MB / 494.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.2953, allocations: 333.2 kB / 495.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000192/0.2955, allocations: 144 kB / 495.2 MB, free: 15.1 MB / 366.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: 117 * Number of states: 0 () * Number of discrete variables: 265 ($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[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],$PRE.P1.disMarksInOut,T3.inPlaces[1].tokenInOut,$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,T3.outPlaces[1].disTransition,T3.outPlaces[1].enabledByInPlaces,P2.reStart,T3.firingCon,T3.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,T2.firingCon,T2.outPlaces[1].disTransition,T2.outPlaces[1].enabledByInPlaces,P1.inTransition[2].disPlace,P1.inTransition[2].maxTokensint,P1.inTransition[2].tint,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T1.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,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],$whenCondition1,$whenCondition2,$whenCondition3,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.tIntOut[1],T1.activation.maxTokensInt[1],T1.activation.disPlaceOut[1],T2.activation.tIntOut[1],T2.activation.maxTokensInt[1],T2.activation.disPlaceOut[1],T3.activation.tIntIn[1],T3.activation.minTokensInt[1],T3.activation.disPlaceIn[1],T3.activation.arcType[1],T3.activation.testValueInt[1],T3.activation.normalArc[1],T3.activation.tIntOut[1],T3.activation.maxTokensInt[1],T3.activation.disPlaceOut[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 262 * 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 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.00171/0.2972, allocations: 1.694 MB / 496.9 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003331/0.2976, allocations: 166.7 kB / 497.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006806/0.3044, allocations: 5.247 MB / 0.4906 GB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.836e-05/0.3044, allocations: 16 kB / 0.4906 GB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.3044, allocations: 0 / 0.4906 GB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.3044, allocations: 3.984 kB / 0.4906 GB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00918/0.3136, allocations: 7.42 MB / 0.4978 GB, free: 124 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.006109/0.3198, allocations: 4.992 MB / 0.5027 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002521/0.32, allocations: 67.89 kB / 0.5028 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009091/0.3209, allocations: 420 kB / 0.5032 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001812/0.3211, allocations: 95.95 kB / 0.5033 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008086/0.3219, allocations: 0.8942 MB / 0.5041 GB, free: 9.531 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.322, allocations: 0 / 0.5041 GB, free: 9.531 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0103/0.3323, allocations: 7.694 MB / 0.5117 GB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002163/0.3325, allocations: 203.3 kB / 0.5118 GB, free: 1.469 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004056/0.3329, allocations: 175.9 kB / 0.512 GB, free: 1.297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008793/0.3338, allocations: 187.9 kB / 0.5122 GB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005649/0.3344, allocations: 400.5 kB / 0.5126 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002063/0.3346, allocations: 115.9 kB / 0.5127 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004773/0.3351, allocations: 471 kB / 0.5131 GB, free: 152 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3351, allocations: 0 / 0.5131 GB, free: 152 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001865/0.3369, allocations: 0.6861 MB / 0.5138 GB, free: 15.46 MB / 398.1 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 (P2.disMarksInOut,$cse5[1],$whenCondition5,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,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,T2.activation.emptied[1],T2.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.NoTokens,T3.inPlaces[1].tokenInOut,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,$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: 117 (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[2],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,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],$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],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],$whenCondition1,P1.enableIn.TEin[2],P1.enableIn.TEin[1],P2.disMarkChange,P1.disMarkChange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 52 * 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 {4 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008172/0.3378, allocations: 0.5392 MB / 0.5143 GB, free: 14.92 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00558/0.3434, allocations: 5.308 MB / 0.5195 GB, free: 9.332 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3434, allocations: 0 / 0.5195 GB, free: 9.332 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005093/0.3485, allocations: 6.674 MB / 0.526 GB, free: 2.422 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007767/0.3493, allocations: 211.2 kB / 0.5262 GB, free: 2.215 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005908/0.3552, allocations: 4.77 MB / 0.5309 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000883/0.3561, allocations: 1.447 MB / 0.5323 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006631/0.3567, allocations: 345.7 kB / 0.5326 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/0.3569, allocations: 91.36 kB / 0.5327 GB, free: 11.5 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3569, allocations: 0 / 0.5327 GB, free: 11.5 MB / 414.1 MB Notification: Performance of Templates: time 0.03336/0.3903, allocations: 27.16 MB / 0.5592 GB, free: 156 kB / 430.1 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