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.001023/0.001023, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.006102/0.006102, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.144/1.144, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1545/0.1545, allocations: 16.73 MB / 308.2 MB, free: 15.64 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003074/0.0003074, allocations: 8 kB / 373.4 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2127, allocations: 54.47 MB / 427.9 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.LoopAndArcweight): time 0.001991/0.2148, allocations: 2.443 MB / 430.3 MB, free: 37.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003517/0.2183, allocations: 2.654 MB / 433 MB, free: 36.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005269/0.2189, allocations: 9.031 kB / 433 MB, free: 36.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002969/0.2192, allocations: 170.4 kB / 433.2 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000426/0.2196, allocations: 166.6 kB / 433.3 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.221, allocations: 0.8956 MB / 434.2 MB, free: 36.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001073/0.2221, allocations: 2.119 MB / 436.3 MB, free: 35.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002921/0.2224, allocations: 349.8 kB / 436.7 MB, free: 35.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004107/0.2228, allocations: 0.7393 MB / 437.4 MB, free: 35.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004433/0.2232, allocations: 0.6683 MB / 438.1 MB, free: 34.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001274/0.2234, allocations: 81.84 kB / 438.2 MB, free: 34.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004661/0.2238, allocations: 457.3 kB / 438.6 MB, free: 34.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001915/0.224, allocations: 322.5 kB / 438.9 MB, free: 34.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004415/0.2245, allocations: 0.7581 MB / 439.7 MB, free: 33.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.2256, allocations: 2.048 MB / 441.7 MB, free: 33.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.2256, allocations: 0 / 441.7 MB, free: 33.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.093e-06/0.2256, allocations: 0 / 441.7 MB, free: 33.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.2256, allocations: 0 / 441.7 MB, free: 33.34 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.001533/0.2272, allocations: 2.025 MB / 443.7 MB, free: 31.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.665e-05/0.2272, allocations: 9.531 kB / 443.8 MB, free: 31.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/0.2285, allocations: 362.2 kB / 444.1 MB, free: 31.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007286/0.2292, allocations: 0.7461 MB / 444.9 MB, free: 31.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001837/0.2294, allocations: 392 kB / 445.2 MB, free: 30.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002053/0.2296, allocations: 187.7 kB / 445.4 MB, free: 30.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003138/0.2328, allocations: 3.061 MB / 448.5 MB, free: 29.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.785e-05/0.2328, allocations: 3.938 kB / 448.5 MB, free: 29.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001586/0.233, allocations: 89.73 kB / 448.6 MB, free: 29.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001756/0.2331, allocations: 159.8 kB / 448.7 MB, free: 29.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002604/0.2357, allocations: 2.239 MB / 451 MB, free: 28.78 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005018/0.2408, allocations: 5.762 MB / 456.7 MB, free: 25.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002276/0.2431, allocations: 2.943 MB / 459.7 MB, free: 23.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002131/0.2452, allocations: 2.756 MB / 462.4 MB, free: 22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001266/0.2453, allocations: 114 kB / 462.5 MB, free: 21.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002045/0.2474, allocations: 1.726 MB / 464.3 MB, free: 21.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=148): time 2.053e-06/0.2474, allocations: 0 / 464.3 MB, free: 21.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=148): time 0.007277/0.2547, allocations: 5.503 MB / 469.8 MB, free: 18.92 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003536/0.2551, allocations: 1.073 MB / 470.8 MB, free: 17.83 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006545/0.2557, allocations: 0.6797 MB / 471.5 MB, free: 17.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001282/0.2559, allocations: 104.7 kB / 471.6 MB, free: 17.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002549/0.2561, allocations: 0.5178 MB / 472.1 MB, free: 17.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002423/0.2564, allocations: 402.9 kB / 472.5 MB, free: 16.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002279/0.2566, allocations: 273.3 kB / 472.8 MB, free: 16.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.767e-05/0.2567, allocations: 333.8 kB / 473.1 MB, free: 16.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/0.2579, allocations: 0.9095 MB / 474 MB, free: 16.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00147/0.2593, allocations: 1.636 MB / 475.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002785/0.2621, allocations: 3.629 MB / 479.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.411e-05/0.2622, allocations: 9.406 kB / 479.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=285) (initialization): time 0.004004/0.2662, allocations: 3.574 MB / 482.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002451/0.2664, allocations: 0.6949 MB / 483.6 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002096/0.2685, allocations: 1.835 MB / 485.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001075/0.2696, allocations: 337.8 kB / 485.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005962/0.2702, allocations: 233.3 kB / 486 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004621/0.2707, allocations: 0.7691 MB / 486.7 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008415/0.2715, allocations: 271.1 kB / 487 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/0.2717, allocations: 124 kB / 487.1 MB, free: 7.457 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.001263/0.2729, allocations: 1.474 MB / 488.6 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002571/0.2732, allocations: 146.9 kB / 488.8 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004457/0.2777, allocations: 4.379 MB / 493.1 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.2777, allocations: 8 kB / 493.1 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.2777, allocations: 0 / 493.1 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.2777, allocations: 11.98 kB / 493.1 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00731/0.285, allocations: 6.399 MB / 499.5 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005047/0.2901, allocations: 4.218 MB / 0.492 GB, free: 6.398 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000219/0.2903, allocations: 55.91 kB / 0.492 GB, free: 6.344 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005366/0.2909, allocations: 231.9 kB / 0.4922 GB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001535/0.291, allocations: 91.94 kB / 0.4923 GB, free: 6.027 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005323/0.2916, allocations: 0.7397 MB / 0.493 GB, free: 5.262 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2916, allocations: 0 / 0.493 GB, free: 5.262 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008086/0.2997, allocations: 6.487 MB / 0.4994 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.2998, allocations: 179.7 kB / 0.4996 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003287/0.3002, allocations: 156 kB / 0.4997 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008515/0.301, allocations: 163.8 kB / 0.4999 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004665/0.3015, allocations: 344.2 kB / 0.5002 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001699/0.3017, allocations: 99.94 kB / 0.5003 GB, free: 13.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003834/0.3021, allocations: 382.8 kB / 0.5006 GB, free: 13.33 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3021, allocations: 0 / 0.5006 GB, free: 13.33 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001492/0.3036, allocations: 0.5927 MB / 0.5012 GB, free: 12.73 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.0007628/0.3043, allocations: 0.505 MB / 0.5017 GB, free: 12.22 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004582/0.3089, allocations: 4.599 MB / 0.5062 GB, free: 7.363 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.3089, allocations: 4 kB / 0.5062 GB, free: 7.359 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004187/0.3131, allocations: 5.781 MB / 0.5119 GB, free: 1.355 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007427/0.3139, allocations: 186.3 kB / 0.512 GB, free: 1.172 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004672/0.3186, allocations: 3.895 MB / 0.5158 GB, free: 13.24 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007023/0.3193, allocations: 1.276 MB / 0.5171 GB, free: 11.93 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004837/0.3198, allocations: 256.4 kB / 0.5173 GB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.3199, allocations: 63.44 kB / 0.5174 GB, free: 11.62 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3199, allocations: 0 / 0.5174 GB, free: 11.62 MB / 398.1 MB Notification: Performance of Templates: time 0.02877/0.3487, allocations: 23.91 MB / 0.5407 GB, free: 3.512 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