Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation.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.ExtTest.TAwithWeaklyActivation,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.ExtTest.TAwithWeaklyActivation") translateModel(PNlib.Examples.ExtTest.TAwithWeaklyActivation,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.ExtTest.TAwithWeaklyActivation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 108.8 kB / 16.37 MB, free: 6.465 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.001715/0.001715, allocations: 193.1 kB / 17.31 MB, free: 5.816 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.07524/0.07524, allocations: 16.73 MB / 307.9 MB, free: 14.26 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 64.25 kB / 373 MB, free: 48.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09763/0.09889, allocations: 53.48 MB / 426.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TAwithWeaklyActivation): time 0.003794/0.1027, allocations: 3.719 MB / 430.2 MB, free: 8.027 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004094/0.1069, allocations: 2.762 MB / 433 MB, free: 5.262 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006463/0.1075, allocations: 23.88 kB / 433 MB, free: 5.238 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005516/0.1081, allocations: 325.4 kB / 433.3 MB, free: 4.918 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007655/0.1089, allocations: 321.5 kB / 433.7 MB, free: 4.602 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002424/0.1113, allocations: 1.231 MB / 434.9 MB, free: 3.371 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002757/0.1141, allocations: 3.425 MB / 438.3 MB, free: 15.94 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000697/0.1148, allocations: 0.5751 MB / 438.9 MB, free: 15.33 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001608/0.1164, allocations: 1.367 MB / 440.3 MB, free: 13.96 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001271/0.1177, allocations: 1.05 MB / 441.3 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003967/0.1181, allocations: 276 kB / 441.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001192/0.1193, allocations: 0.6595 MB / 442.2 MB, free: 11.98 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004925/0.1198, allocations: 0.5333 MB / 442.8 MB, free: 11.44 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001186/0.121, allocations: 1.159 MB / 443.9 MB, free: 10.28 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003504/0.1245, allocations: 3.003 MB / 446.9 MB, free: 7.266 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.1246, allocations: 0 / 446.9 MB, free: 7.266 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1246, allocations: 0 / 446.9 MB, free: 7.266 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.465e-05/0.1246, allocations: 0 / 446.9 MB, free: 7.266 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 594 * Number of variables: 594 Notification: Performance of Generate backend data structure: time 0.004073/0.1287, allocations: 2.964 MB / 449.9 MB, free: 4.102 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.1288, allocations: 12.03 kB / 449.9 MB, free: 4.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001722/0.1305, allocations: 429.9 kB / 450.3 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/0.1321, allocations: 0.9417 MB / 451.3 MB, free: 2.684 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004834/0.1325, allocations: 0.5739 MB / 451.8 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003605/0.1329, allocations: 259.9 kB / 452.1 MB, free: 1.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006393/0.1393, allocations: 4.198 MB / 456.3 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.313e-05/0.1394, allocations: 3.938 kB / 456.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002544/0.1397, allocations: 124 kB / 456.4 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003089/0.14, allocations: 227.5 kB / 456.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005089/0.1451, allocations: 3.071 MB / 459.7 MB, free: 9.992 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0117/0.1568, allocations: 8.492 MB / 468.2 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004361/0.1612, allocations: 3.976 MB / 472.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003541/0.1648, allocations: 3.53 MB / 475.7 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002125/0.1669, allocations: 3.158 MB / 478.9 MB, free: 5.855 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003059/0.17, allocations: 2.191 MB / 481.1 MB, free: 3.621 MB / 350.1 MB Notification: Performance of pre-optimization done (n=189): time 3.356e-06/0.17, allocations: 0 / 481.1 MB, free: 3.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=189): time 0.01147/0.1815, allocations: 7.068 MB / 488.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000869/0.1824, allocations: 1.212 MB / 489.3 MB, free: 10.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.1836, allocations: 0.9363 MB / 490.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001965/0.1838, allocations: 117.7 kB / 490.4 MB, free: 9.914 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005226/0.1844, allocations: 0.706 MB / 491.1 MB, free: 9.195 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004572/0.1848, allocations: 0.5094 MB / 491.6 MB, free: 8.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007886/0.1856, allocations: 0.6118 MB / 492.2 MB, free: 8.062 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1858, allocations: 346 kB / 492.5 MB, free: 7.719 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001945/0.1877, allocations: 1.278 MB / 493.8 MB, free: 6.438 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002571/0.1903, allocations: 2.158 MB / 496 MB, free: 3.887 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004932/0.1952, allocations: 4.462 MB / 0.4887 GB, free: 14.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.45e-05/0.1953, allocations: 8 kB / 0.4887 GB, free: 14.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=359) (initialization): time 0.007106/0.2024, allocations: 4.976 MB / 0.4936 GB, free: 9.664 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005223/0.2029, allocations: 0.7926 MB / 0.4944 GB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004212/0.2071, allocations: 3.111 MB / 0.4974 GB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001627/0.2088, allocations: 468.5 kB / 0.4978 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00087/0.2097, allocations: 311.5 kB / 0.4981 GB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001076/0.2108, allocations: 1.04 MB / 0.4992 GB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/0.2122, allocations: 369 kB / 0.4995 GB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002621/0.2125, allocations: 148 kB / 0.4996 GB, free: 3.195 MB / 382.1 MB Warning: Assuming fixed start value for the following 36 variables: 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 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * Number of states: 0 () * Number of discrete variables: 276 ($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[2],$PRE.P1.enableOut.cumEnablingProb[2],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[2],$PRE.P1.enableOut.remTAout[2],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[2],$PRE.P1.enableOut.disTAout[2],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],T3.inPlaces[1].tokenInOut,T2.inPlaces[1].tokenInOut,$PRE.P1.disMarksInOut,$PRE.P2.disMarksIn.anytrue,$PRE.P2.disMarksOut.anytrue,P2.disMarksInOut,$whenCondition6,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition5,P2.disMarksOut.numtrue,P2.disMarksOut.anytrue,$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,$whenCondition1,T3.firingCon,T3.inPlaces[1].disTransition,P1.outTransition[2].normalArc,P1.outTransition[2].testValueint,P1.outTransition[2].arcType,P1.outTransition[2].disPlace,P1.outTransition[2].minTokensint,P1.outTransition[2].tint,T2.firingCon,T2.outPlaces[1].disTransition,T2.outPlaces[1].enabledByInPlaces,P2.inTransition[1].disPlace,P2.inTransition[1].maxTokensint,P2.inTransition[1].tint,T2.inPlaces[1].disTransition,P1.outTransition[1].disPlace,P1.outTransition[1].minTokensint,P1.outTransition[1].tint,T1.firingCon,T1.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,P2.reStart,P1.reStart,P1.disMarksOut.vec[1],P1.disMarksOut.vec[2],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,TA1.outTransition.arcType,T1.fire_,P1.delayPassedOut.vec[1],P1.delayPassedOut.vec[2],P1.delayPassedIn.vec[1],P2.delayPassedIn.vec[1],T2.activation.testValueInt[1],T1.activation.arcWeightIntOut[1],T2.activation.arcWeightIntIn[1],T2.activation.arcWeightIntOut[1],T3.activation.arcWeightIntIn[1],T3.activation.normalArc[1],T3.activation.testValueInt[1],T3.activation.arcType[1],T3.activation.disPlaceIn[1],T3.activation.minTokensInt[1],T3.activation.tIntIn[1],T2.activation.disPlaceOut[1],T2.activation.maxTokensInt[1],T2.activation.tIntOut[1],T2.activation.disPlaceIn[1],T2.activation.minTokensInt[1],T2.activation.tIntIn[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],P1.outTransition[1].arcWeightint,T3.fire_,T3.activation.NoTokens,T3.activation.weaklyInputActiveVec[1],T3.activation.active,T3.activation.fed[1],T2.fire_,T2.activation.NoTokens,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,T2.activation.normalArc[1],T2.activation.emptied[1],T2.activation.fed[1],T2.activation.arcType[1],T1.activation.NoTokens,T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.emptied[1],TA1.testColor[3],TA1.testColor[2],TA1.testColor[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],P1.emptying.numtrue,P1.emptying.anytrue,P1.emptying.vec[2],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[2],$PRE.P1.enableOut.TEout[2],P1.enableOut.TEout[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout_[2],P1.enableOut.TEout_[1],P1.enableOut.TAout[2],P1.enableOut.TAout[1],P1.enableIn.TEin[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.fireOut[2],$PRE.P1.fireOut[2],P1.fireOut[1],$PRE.P1.fireOut[1],P1.fireIn[1],$PRE.P1.fireIn[1],$whenCondition4,$whenCondition3,$whenCondition2,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (300): * Single equations (assignments): 276 * Array equations: 0 * Algorithm blocks: 23 * 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 {(3,16)} Notification: Performance of prepare postOptimizeDAE: time 0.002201/0.2147, allocations: 1.742 MB / 0.5013 GB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004854/0.2152, allocations: 182.5 kB / 0.5015 GB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.209/0.4242, allocations: 5.487 MB / 0.5069 GB, free: 80.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-05/0.4243, allocations: 11.34 kB / 0.5069 GB, free: 80.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.4243, allocations: 0 / 0.5069 GB, free: 80.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/0.4243, allocations: 10.02 kB / 0.5069 GB, free: 80.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01149/0.4358, allocations: 8.045 MB / 0.5148 GB, free: 77.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00626/0.4421, allocations: 5.281 MB / 0.5199 GB, free: 75.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003403/0.4425, allocations: 86.84 kB / 0.52 GB, free: 75.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009093/0.4434, allocations: 363.1 kB / 0.5203 GB, free: 75.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002108/0.4436, allocations: 108 kB / 0.5204 GB, free: 75.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008107/0.4445, allocations: 1.018 MB / 0.5214 GB, free: 74.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4445, allocations: 0 / 0.5214 GB, free: 74.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009195/0.4537, allocations: 8.129 MB / 0.5294 GB, free: 66.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002456/0.454, allocations: 209.4 kB / 0.5296 GB, free: 66.13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004252/0.4544, allocations: 188.2 kB / 0.5298 GB, free: 65.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/0.4555, allocations: 194.6 kB / 0.5299 GB, free: 65.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007484/0.4562, allocations: 0.5814 MB / 0.5305 GB, free: 65.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002443/0.4565, allocations: 126.3 kB / 0.5306 GB, free: 65.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005123/0.457, allocations: 0.5029 MB / 0.5311 GB, free: 64.56 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.457, allocations: 7.078 kB / 0.5311 GB, free: 64.56 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001892/0.4589, allocations: 0.7467 MB / 0.5319 GB, free: 63.82 MB / 382.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: 141 ($whenCondition1,P2.enableOut.state128[1],P2.enableOut.state128[2],P2.enableOut.state128[3],P2.enableOut.state128[4],P2.enableOut.arcWeightSum,P2.enableOut.nremTAout,P2.enableOut.nTAout,P2.enableOut.k,P2.enableOut.posTE,P2.enableOut.randNum,P2.enableOut.sumEnablingProbTAout,P2.enableOut.endWhile,P2.enableOut.Index,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.disMarksInOut,$cse4[1],$cse5[1],$whenCondition6,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition4,P1.disMarksInOut,P1.fireIn[1],P1.fireOut[1],P1.fireOut[2],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.TAout[2],P1.enableOut.TEout_[1],P1.enableOut.TEout_[2],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.TEout[2],P1.enableOut.disTAout[1],P1.enableOut.disTAout[2],P1.enableOut.remTAout[1],P1.enableOut.remTAout[2],P1.enableOut.cumEnablingProb[1],P1.enableOut.cumEnablingProb[2],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.vec[2],P1.emptying.anytrue,P1.emptying.numtrue,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,TA1.testColor[1],TA1.testColor[2],TA1.testColor[3],T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,T2.inPlaces[1].tokenInOut,T2.activation.arcType[1],T2.activation.fed[1],T2.activation.emptied[1],T2.activation.normalArc[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],T2.activation.NoTokens,T2.fire_,T3.inPlaces[1].tokenInOut,T3.activation.fed[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.NoTokens,T3.fire_) * Number of discrete states: 117 (P1.disMarksInOut,P2.fireIn[1],P2.disMarksOut.anytrue,P2.disMarksIn.anytrue,P1.fireIn[1],P1.fireOut[2],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,T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.NoTokens,P1.feeding.numtrue,P1.feeding.anytrue,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,T2.activation.NoTokens,P2.enableIn.TEin_[1],P2.enableIn.posTE,P2.enableIn.k,P2.enableIn.endWhile,P2.enableIn.state128[4],P2.enableIn.state128[3],P2.enableIn.state128[2],P2.enableIn.state128[1],P2.enableIn.randNum,P2.enableIn.cumEnablingProb[1],P2.enableIn.sumEnablingProbTAin,P2.enableIn.nTAin,P2.enableIn.nremTAin,P2.enableIn.remTAin[1],P2.enableIn.Index,P2.enableIn.arcWeightSum,P2.enableIn.disTAin[1],$whenCondition4,P2.enableIn.TEin[1],T3.activation.weaklyInputActiveVec[1],T3.activation.active,T3.activation.NoTokens,P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout_[2],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[2],P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[2],P1.enableOut.remTAout[1],P1.enableOut.Index,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[2],P1.enableOut.disTAout[1],$whenCondition3,P1.enableOut.TEout[2],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],$whenCondition2,P1.enableIn.TEin[1],P2.disMarkChange,P1.disMarkChange,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,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 62 * Array equations: 2 * Algorithm blocks: 19 * 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 {(3,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008498/0.4598, allocations: 0.5414 MB / 0.5324 GB, free: 63.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005668/0.4655, allocations: 5.82 MB / 0.5381 GB, free: 57.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.4655, allocations: 4 kB / 0.5381 GB, free: 57.28 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004611/0.4701, allocations: 7.024 MB / 0.5449 GB, free: 50.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009997/0.4711, allocations: 248.6 kB / 0.5452 GB, free: 49.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006867/0.478, allocations: 4.86 MB / 0.5499 GB, free: 44.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007769/0.4788, allocations: 1.51 MB / 0.5514 GB, free: 43.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000773/0.4796, allocations: 370.9 kB / 0.5517 GB, free: 43.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001703/0.4798, allocations: 95.42 kB / 0.5518 GB, free: 42.95 MB / 382.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4798, allocations: 0 / 0.5518 GB, free: 42.95 MB / 382.1 MB Notification: Performance of Templates: time 0.04096/0.5208, allocations: 32.63 MB / 0.5837 GB, free: 10.22 MB / 382.1 MB make -j1 -f PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation.makefile (rm -f PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation.pipe ; mkfifo PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation.pipe >> ../files/PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation.sim & ./PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ExtTest.TAwithWeaklyActivation.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches