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.006169/0.006175, allocations: 104.3 kB / 15.74 MB, free: 6.492 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.001203/0.001203, allocations: 190 kB / 16.67 MB, free: 6.379 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.2103/0.2103, allocations: 16.74 MB / 307.3 MB, free: 14.87 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 64.08 kB / 426.3 MB, free: 37.37 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.103, allocations: 53.48 MB / 479.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.LoopAndArcweight): time 0.003365/0.1064, allocations: 2.717 MB / 482.5 MB, free: 8.383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003852/0.1103, allocations: 2.262 MB / 484.8 MB, free: 6.586 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003275/0.1107, allocations: 20.31 kB / 484.8 MB, free: 6.578 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000372/0.1111, allocations: 215 kB / 485 MB, free: 6.391 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005148/0.1116, allocations: 221.6 kB / 485.2 MB, free: 6.195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001551/0.1132, allocations: 1.028 MB / 486.3 MB, free: 5.379 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002081/0.1152, allocations: 2.641 MB / 488.9 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003626/0.1156, allocations: 367.3 kB / 489.3 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006901/0.1163, allocations: 0.9816 MB / 490.2 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000669/0.117, allocations: 0.774 MB / 491 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002056/0.1172, allocations: 204 kB / 491.2 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006934/0.1179, allocations: 0.601 MB / 491.8 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002306/0.1181, allocations: 382.7 kB / 492.2 MB, free: 396 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006739/0.1188, allocations: 0.879 MB / 493.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00218/0.121, allocations: 2.329 MB / 495.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.121, allocations: 4 kB / 495.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.121, allocations: 0 / 495.4 MB, free: 13.16 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.1211, allocations: 0 / 495.4 MB, free: 13.16 MB / 366.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.002797/0.1239, allocations: 2.363 MB / 497.8 MB, free: 10.62 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.1239, allocations: 15.89 kB / 497.8 MB, free: 10.6 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001525/0.1254, allocations: 350.9 kB / 498.1 MB, free: 10.26 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/0.1267, allocations: 0.7556 MB / 498.9 MB, free: 9.465 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00032/0.127, allocations: 393.8 kB / 499.3 MB, free: 9.023 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00025/0.1273, allocations: 184 kB / 499.4 MB, free: 8.844 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004145/0.1314, allocations: 3.048 MB / 0.4907 GB, free: 5.695 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.083e-05/0.1314, allocations: 7.938 kB / 0.4907 GB, free: 5.688 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001949/0.1317, allocations: 91.95 kB / 0.4908 GB, free: 5.598 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002333/0.1319, allocations: 158.4 kB / 0.491 GB, free: 5.441 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003589/0.1355, allocations: 2.22 MB / 0.4931 GB, free: 3.215 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007707/0.1432, allocations: 5.734 MB / 0.4987 GB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003194/0.1464, allocations: 2.925 MB / 0.5016 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002801/0.1492, allocations: 2.766 MB / 0.5043 GB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004009/0.1533, allocations: 5.809 MB / 0.51 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002407/0.1557, allocations: 1.716 MB / 0.5116 GB, free: 14.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=148): time 3.146e-06/0.1557, allocations: 4 kB / 0.5116 GB, free: 14.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.008411/0.1641, allocations: 5.444 MB / 0.517 GB, free: 9.176 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006701/0.1648, allocations: 1.073 MB / 0.518 GB, free: 7.906 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009428/0.1658, allocations: 0.6852 MB / 0.5187 GB, free: 7.207 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001736/0.1659, allocations: 105.7 kB / 0.5188 GB, free: 7.098 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004576/0.1664, allocations: 0.5075 MB / 0.5193 GB, free: 6.578 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003912/0.1668, allocations: 395.2 kB / 0.5196 GB, free: 6.188 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005944/0.1674, allocations: 467.8 kB / 0.5201 GB, free: 5.727 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1676, allocations: 333.9 kB / 0.5204 GB, free: 5.395 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001407/0.169, allocations: 0.9138 MB / 0.5213 GB, free: 4.477 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001887/0.1709, allocations: 1.632 MB / 0.5229 GB, free: 2.512 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003745/0.1746, allocations: 3.619 MB / 0.5264 GB, free: 14.37 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-05/0.1747, allocations: 8 kB / 0.5264 GB, free: 14.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=285) (initialization): time 0.004763/0.1794, allocations: 3.564 MB / 0.5299 GB, free: 10.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004161/0.1799, allocations: 0.6949 MB / 0.5306 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003044/0.1829, allocations: 1.952 MB / 0.5325 GB, free: 7.801 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001178/0.1841, allocations: 288.5 kB / 0.5328 GB, free: 7.516 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006614/0.1848, allocations: 235.4 kB / 0.533 GB, free: 7.285 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007557/0.1856, allocations: 0.8175 MB / 0.5338 GB, free: 6.441 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009875/0.1866, allocations: 249.9 kB / 0.534 GB, free: 6.195 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001802/0.1867, allocations: 120 kB / 0.5342 GB, free: 6.078 MB / 414.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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.001745/0.1885, allocations: 1.467 MB / 0.5356 GB, free: 4.492 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003664/0.1889, allocations: 146.8 kB / 0.5357 GB, free: 4.348 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005851/0.1947, allocations: 4.371 MB / 0.54 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.771e-05/0.1948, allocations: 8 kB / 0.54 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.1948, allocations: 0 / 0.54 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.1948, allocations: 3.984 kB / 0.54 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008869/0.2037, allocations: 6.394 MB / 0.5463 GB, free: 9.312 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005761/0.2095, allocations: 4.233 MB / 0.5504 GB, free: 4.977 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002558/0.2097, allocations: 59.89 kB / 0.5504 GB, free: 4.918 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005316/0.2103, allocations: 184.6 kB / 0.5506 GB, free: 4.734 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001972/0.2105, allocations: 83.95 kB / 0.5507 GB, free: 4.652 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007138/0.2112, allocations: 0.7955 MB / 0.5515 GB, free: 3.832 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.2112, allocations: 0 / 0.5515 GB, free: 3.832 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009339/0.2206, allocations: 6.505 MB / 0.5578 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000223/0.2208, allocations: 179.7 kB / 0.558 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003732/0.2212, allocations: 155.9 kB / 0.5581 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009146/0.2221, allocations: 151.9 kB / 0.5583 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005646/0.2227, allocations: 340.2 kB / 0.5586 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002013/0.2229, allocations: 103.9 kB / 0.5587 GB, free: 12.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004285/0.2233, allocations: 386.8 kB / 0.5591 GB, free: 11.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2233, allocations: 3.938 kB / 0.5591 GB, free: 11.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00168/0.225, allocations: 0.5965 MB / 0.5597 GB, free: 11.29 MB / 446.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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008276/0.2259, allocations: 0.5043 MB / 0.5602 GB, free: 10.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005442/0.2313, allocations: 4.598 MB / 0.5647 GB, free: 5.906 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2313, allocations: 4.062 kB / 0.5647 GB, free: 5.902 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005187/0.2365, allocations: 5.785 MB / 0.5703 GB, free: 15.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009296/0.2375, allocations: 196 kB / 0.5705 GB, free: 15.71 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005582/0.2431, allocations: 3.44 MB / 0.5739 GB, free: 12.23 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008961/0.244, allocations: 1.276 MB / 0.5751 GB, free: 10.93 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005819/0.2446, allocations: 259.6 kB / 0.5753 GB, free: 10.67 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.2447, allocations: 75.42 kB / 0.5754 GB, free: 10.59 MB / 462.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2447, allocations: 0 / 0.5754 GB, free: 10.59 MB / 462.1 MB Notification: Performance of Templates: time 0.3075/0.5523, allocations: 26.23 MB / 0.601 GB, free: 104.3 MB / 462.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.LoopAndArcweight.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches