Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.ZeroPlace.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.ZeroPlace,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.ZeroPlace") translateModel(PNlib.Examples.ConTest.ZeroPlace,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.ZeroPlace") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001/0.001, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009698/0.0009699, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.209/1.209, allocations: 222.9 MB / 240.2 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.155/0.155, allocations: 16.76 MB / 307.1 MB, free: 14.93 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 67.89 kB / 371.6 MB, free: 3.547 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2144, allocations: 53.45 MB / 425.1 MB, free: 39.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.ZeroPlace): time 0.003043/0.2175, allocations: 3.102 MB / 428.2 MB, free: 37.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002912/0.2204, allocations: 2.496 MB / 430.7 MB, free: 36.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000262/0.2207, allocations: 17.91 kB / 430.7 MB, free: 36.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003581/0.2211, allocations: 264.8 kB / 431 MB, free: 36.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005093/0.2216, allocations: 253.3 kB / 431.2 MB, free: 36.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.2229, allocations: 1.122 MB / 432.3 MB, free: 35.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001571/0.2245, allocations: 2.929 MB / 435.3 MB, free: 34.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003344/0.2248, allocations: 389.5 kB / 435.6 MB, free: 34.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000638/0.2255, allocations: 1.116 MB / 436.8 MB, free: 33.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005886/0.2261, allocations: 0.8302 MB / 437.6 MB, free: 33.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002382/0.2263, allocations: 211.8 kB / 437.8 MB, free: 33.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006101/0.2269, allocations: 0.5895 MB / 438.4 MB, free: 33.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002427/0.2272, allocations: 393.3 kB / 438.8 MB, free: 33.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005689/0.2278, allocations: 0.9171 MB / 439.7 MB, free: 32.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001295/0.2291, allocations: 2.323 MB / 442 MB, free: 31.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.2291, allocations: 3.938 kB / 442 MB, free: 31.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2291, allocations: 0 / 442 MB, free: 31.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.774e-05/0.2291, allocations: 0 / 442 MB, free: 31.64 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.002116/0.2312, allocations: 2.452 MB / 444.5 MB, free: 29.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.2313, allocations: 9.469 kB / 444.5 MB, free: 29.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/0.2327, allocations: 367.8 kB / 444.8 MB, free: 29.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008285/0.2335, allocations: 0.7786 MB / 445.6 MB, free: 29.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002021/0.2337, allocations: 397.7 kB / 446 MB, free: 28.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000222/0.2339, allocations: 203.5 kB / 446.2 MB, free: 28.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00339/0.2373, allocations: 3.155 MB / 449.3 MB, free: 27.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.777e-05/0.2374, allocations: 3.906 kB / 449.4 MB, free: 27.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001843/0.2376, allocations: 99.8 kB / 449.4 MB, free: 27.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001909/0.2378, allocations: 161.3 kB / 449.6 MB, free: 27.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002792/0.2406, allocations: 2.27 MB / 451.9 MB, free: 26.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005772/0.2463, allocations: 6.322 MB / 458.2 MB, free: 22.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00264/0.249, allocations: 3.035 MB / 461.2 MB, free: 21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002295/0.2513, allocations: 2.744 MB / 464 MB, free: 19.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002539/0.2539, allocations: 6.002 MB / 470 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002268/0.2561, allocations: 1.746 MB / 471.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=154): time 4.359e-06/0.2562, allocations: 0 / 471.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=154): time 0.008219/0.2644, allocations: 5.753 MB / 477.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000411/0.2648, allocations: 1.102 MB / 478.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009963/0.2658, allocations: 0.7203 MB / 479.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002125/0.266, allocations: 106.9 kB / 479.4 MB, free: 7.988 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004317/0.2665, allocations: 0.5379 MB / 479.9 MB, free: 7.562 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004032/0.2669, allocations: 417 kB / 480.4 MB, free: 7.262 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007029/0.2676, allocations: 487.7 kB / 480.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.052e-05/0.2677, allocations: 334.7 kB / 481.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001438/0.2691, allocations: 0.9314 MB / 482.1 MB, free: 6.469 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001716/0.2708, allocations: 1.693 MB / 483.8 MB, free: 5.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003188/0.274, allocations: 3.761 MB / 487.5 MB, free: 2.195 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-05/0.2741, allocations: 10.28 kB / 487.5 MB, free: 2.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.00484/0.2789, allocations: 3.969 MB / 491.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003801/0.2793, allocations: 0.7325 MB / 492.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002884/0.2822, allocations: 2.242 MB / 494.5 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009216/0.2831, allocations: 289.8 kB / 494.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006321/0.2838, allocations: 239.4 kB / 495 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007458/0.2845, allocations: 0.8519 MB / 495.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/0.2856, allocations: 281.6 kB / 496.1 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000183/0.2858, allocations: 124 kB / 496.3 MB, free: 10.55 MB / 366.1 MB Warning: Assuming fixed start value for the following 36 variables: P2.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P2.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P2.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P2.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P2.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P2.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P2.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P2.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P2.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P2.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: 100 * Number of states: 0 () * Number of discrete variables: 235 ($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,T2.outPlaces[1].disTransition,T2.outPlaces[1].enabledByInPlaces,P2.reStart,T2.firingCon,T2.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.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T1.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,P1.reStart,T1.firingCon,P1.disMarksOut.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,T1.fire_,T1.activation.arcWeightIntOut[1],P1.delayPassedOut.vec[1],P1.delayPassedIn.vec[1],T2.activation.arcWeightIntIn[1],T2.activation.arcWeightIntOut[1],P2.delayPassedIn.vec[1],T2.activation.disPlaceOut[1],T2.activation.maxTokensInt[1],T2.activation.tIntOut[1],T2.activation.normalArc[1],T2.activation.testValueInt[1],T2.activation.arcType[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],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],T2.fire_,T2.activation.NoTokens,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,T2.activation.emptied[1],T2.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],T1.activation.NoTokens,T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.emptied[1],$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 225 * Array equations: 0 * Algorithm blocks: 22 * 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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.001608/0.2874, allocations: 1.509 MB / 497.8 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003831/0.2878, allocations: 150.9 kB / 497.9 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006425/0.2942, allocations: 4.71 MB / 0.4908 GB, free: 3.953 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.682e-05/0.2943, allocations: 8 kB / 0.4909 GB, free: 3.945 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.2943, allocations: 0 / 0.4909 GB, free: 3.945 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.2943, allocations: 3.984 kB / 0.4909 GB, free: 3.941 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009342/0.3036, allocations: 6.727 MB / 0.4974 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005965/0.3096, allocations: 4.585 MB / 0.5019 GB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002326/0.3099, allocations: 51.91 kB / 0.502 GB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005554/0.3104, allocations: 216.7 kB / 0.5022 GB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001692/0.3106, allocations: 91.95 kB / 0.5022 GB, free: 8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006991/0.3113, allocations: 0.8272 MB / 0.5031 GB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3113, allocations: 7.969 kB / 0.5031 GB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009195/0.3205, allocations: 6.84 MB / 0.5097 GB, free: 164 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002285/0.3208, allocations: 179.7 kB / 0.5099 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004407/0.3213, allocations: 160 kB / 0.5101 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009867/0.3223, allocations: 163.8 kB / 0.5102 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005529/0.3228, allocations: 348.3 kB / 0.5106 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002097/0.323, allocations: 99.94 kB / 0.5106 GB, free: 15.21 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000486/0.3235, allocations: 406.7 kB / 0.511 GB, free: 14.81 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3235, allocations: 0 / 0.511 GB, free: 14.81 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001836/0.3254, allocations: 0.6122 MB / 0.5116 GB, free: 14.2 MB / 398.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: 121 (P2.disMarksInOut,$cse3[1],$whenCondition5,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,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,T2.activation.fed[1],T2.activation.emptied[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],T2.activation.NoTokens,T2.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: 108 (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,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],$whenCondition3,P2.enableIn.TEin[1],P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout_[1],P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$whenCondition2,P1.enableOut.TEout[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.NoTokens,P1.enableIn.TEin_[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 (62): * Single equations (assignments): 42 * Array equations: 1 * Algorithm blocks: 18 * 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009868/0.3264, allocations: 0.5147 MB / 0.5121 GB, free: 13.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006185/0.3326, allocations: 4.968 MB / 0.517 GB, free: 8.441 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.3326, allocations: 4 kB / 0.517 GB, free: 8.438 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004707/0.3373, allocations: 5.865 MB / 0.5227 GB, free: 2.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008792/0.3382, allocations: 206.7 kB / 0.5229 GB, free: 2.141 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005422/0.3436, allocations: 3.509 MB / 0.5263 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009122/0.3446, allocations: 1.308 MB / 0.5276 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000633/0.3452, allocations: 268.1 kB / 0.5279 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/0.3454, allocations: 79.42 kB / 0.528 GB, free: 12.92 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3454, allocations: 0 / 0.528 GB, free: 12.92 MB / 414.1 MB Notification: Performance of Templates: time 0.03813/0.3835, allocations: 26.52 MB / 0.5538 GB, free: 2.238 MB / 430.1 MB make -j1 -f PNlib_PNlib.Examples.ConTest.ZeroPlace.makefile (rm -f PNlib_PNlib.Examples.ConTest.ZeroPlace.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.ZeroPlace.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.ZeroPlace.pipe >> ../files/PNlib_PNlib.Examples.ConTest.ZeroPlace.sim & ./PNlib_PNlib.Examples.ConTest.ZeroPlace -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.ConTest.ZeroPlace.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.ConTest.ZeroPlace_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.ZeroPlace.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PNlib_PNlib.Examples.ConTest.ZeroPlace.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches