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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo", uses=false) Using package PNlib with version 2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0009311/0.0009312, allocations: 172.6 kB / 16.11 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.4 MB / 222.3 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008043/0.0008043, allocations: 84.8 kB / 270.6 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.0745/0.0745, allocations: 16.9 MB / 335.8 MB, free: 6.938 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004801/0.0004801, allocations: 16 kB / 398.2 MB, free: 61.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1212, allocations: 51.69 MB / 449.8 MB, free: 9.793 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3676/0.4888, allocations: 80.23 MB / 0.5177 GB, free: 8.719 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/0.4892, allocations: 67.53 kB / 0.5177 GB, free: 8.684 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0609/0.5501, allocations: 24.3 MB / 0.5414 GB, free: 3.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5501, allocations: 0 / 0.5414 GB, free: 3.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.457e-05/0.5502, allocations: 31.94 kB / 0.5415 GB, free: 3.949 MB / 362.7 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.003103/0.5533, allocations: 2.171 MB / 0.5436 GB, free: 1.801 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.5533, allocations: 8.031 kB / 0.5436 GB, free: 1.793 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001742/0.5551, allocations: 410.1 kB / 0.544 GB, free: 1.395 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001534/0.5566, allocations: 0.8492 MB / 0.5448 GB, free: 0.707 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003306/0.557, allocations: 404.2 kB / 0.5452 GB, free: 308 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003063/0.5573, allocations: 190.5 kB / 0.5454 GB, free: 152 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005154/0.5625, allocations: 3.094 MB / 0.5484 GB, free: 13.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.289e-05/0.5625, allocations: 7.938 kB / 0.5484 GB, free: 13.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002404/0.5628, allocations: 99.58 kB / 0.5485 GB, free: 13.74 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001992/0.563, allocations: 112.6 kB / 0.5486 GB, free: 13.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00384/0.5669, allocations: 2.219 MB / 0.5508 GB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009282/0.5762, allocations: 6.256 MB / 0.5569 GB, free: 6.875 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003427/0.5796, allocations: 2.982 MB / 0.5598 GB, free: 3.848 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002884/0.5825, allocations: 2.67 MB / 0.5624 GB, free: 1.168 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001882/0.5828, allocations: 121.7 kB / 0.5625 GB, free: 1.031 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002453/0.5852, allocations: 1.697 MB / 0.5642 GB, free: 15.29 MB / 394.7 MB Notification: Performance of pre-optimization done (n=151): time 2.795e-06/0.5852, allocations: 0 / 0.5642 GB, free: 15.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=151): time 0.008112/0.5934, allocations: 5.444 MB / 0.5695 GB, free: 9.715 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005724/0.594, allocations: 1.027 MB / 0.5705 GB, free: 8.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009691/0.5949, allocations: 0.7285 MB / 0.5712 GB, free: 7.762 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001859/0.5951, allocations: 101.7 kB / 0.5713 GB, free: 7.656 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003938/0.5955, allocations: 0.5463 MB / 0.5719 GB, free: 7.098 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003688/0.5959, allocations: 395.3 kB / 0.5722 GB, free: 6.707 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.596, allocations: 52 kB / 0.5723 GB, free: 6.656 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.5962, allocations: 427.5 kB / 0.5727 GB, free: 6.23 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001442/0.5977, allocations: 0.9256 MB / 0.5736 GB, free: 5.301 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001866/0.5995, allocations: 1.667 MB / 0.5752 GB, free: 3.297 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004265/0.6038, allocations: 3.77 MB / 0.5789 GB, free: 14.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.642e-05/0.6039, allocations: 8 kB / 0.5789 GB, free: 14.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=300) (initialization): time 0.005447/0.6093, allocations: 3.966 MB / 0.5828 GB, free: 10.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004355/0.6098, allocations: 0.7278 MB / 0.5835 GB, free: 9.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.884e-05/0.6098, allocations: 32.36 kB / 0.5835 GB, free: 9.949 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007056/0.6106, allocations: 256.7 kB / 0.5838 GB, free: 9.695 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006625/0.6112, allocations: 255.4 kB / 0.584 GB, free: 9.445 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000662/0.6119, allocations: 0.7551 MB / 0.5847 GB, free: 8.664 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.613, allocations: 238.5 kB / 0.585 GB, free: 8.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001984/0.6132, allocations: 128 kB / 0.5851 GB, free: 8.305 MB / 410.7 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.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P2.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P2.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P2.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P2.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 238 ($PRE.P2.enableIn.disTAin[1],P2.enableIn.disTAin[1],$PRE.P2.enableIn.posTE,P2.enableIn.posTE,$PRE.P2.enableIn.k,P2.enableIn.k,$PRE.P2.enableIn.endWhile,P2.enableIn.endWhile,$PRE.P2.enableIn.state128[1],P2.enableIn.state128[1],$PRE.P2.enableIn.state128[2],P2.enableIn.state128[2],$PRE.P2.enableIn.state128[3],P2.enableIn.state128[3],$PRE.P2.enableIn.state128[4],P2.enableIn.state128[4],$PRE.P2.enableIn.randNum,P2.enableIn.randNum,$PRE.P2.enableIn.cumEnablingProb[1],P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.sumEnablingProbTAin,P2.enableIn.sumEnablingProbTAin,$PRE.P2.enableIn.nTAin,P2.enableIn.nTAin,$PRE.P2.enableIn.nremTAin,P2.enableIn.nremTAin,$PRE.P2.enableIn.remTAin[1],P2.enableIn.remTAin[1],$PRE.P2.enableIn.Index,P2.enableIn.Index,$PRE.P2.enableIn.arcWeightSum,P2.enableIn.arcWeightSum,$PRE.P1.enableOut.disTAout[1],P1.enableOut.disTAout[1],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.state128[1],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[4],$PRE.P1.enableOut.randNum,P1.enableOut.randNum,$PRE.P1.enableOut.cumEnablingProb[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,$PRE.P1.enableOut.remTAout[1],P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,$PRE.P1.enableIn.disTAin[1],P1.enableIn.disTAin[1],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.state128[1],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[4],$PRE.P1.enableIn.randNum,P1.enableIn.randNum,$PRE.P1.enableIn.cumEnablingProb[1],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,$PRE.P1.enableIn.remTAin[1],P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,$PRE.P2.disMarksOut.anytrue,$PRE.P2.disMarksIn.anytrue,$whenCondition6,P2.disMarksInOut,P2.disMarksOut.anytrue,P2.disMarksOut.numtrue,$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,$whenCondition5,P1.disMarksInOut,$PRE.P1.disMarksInOut,P1.outTransition[1].tokenInOut,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.state128[1],P2.enableOut.state128[1],$PRE.P2.enableOut.state128[2],P2.enableOut.state128[2],$PRE.P2.enableOut.state128[3],P2.enableOut.state128[3],$PRE.P2.enableOut.state128[4],P2.enableOut.state128[4],$PRE.P2.enableOut.randNum,P2.enableOut.randNum,$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,$PRE.P2.enableOut.Index,P2.enableOut.Index,$whenCondition1,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.inTransition[1].tint,P2.inTransition[1].maxTokensint,T2.outPlaces[1].enabledByInPlaces,T2.outPlaces[1].disTransition,P2.inTransition[1].disPlace,P1.outTransition[1].tint,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,P1.outTransition[1].minTokensint,T2.inPlaces[1].disTransition,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,P1.inTransition[1].tint,P1.inTransition[1].maxTokensint,T1.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P2.enableIn.enablingPrio[1],P2.reStart,T2.firingCon,P1.enableOut.enablingPrio[1],P1.enableIn.enablingPrio[1],P1.reStart,T1.firingCon,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksOut.vec[1],P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.disMarksIn.vec[1],P2.disMarksIn.anytrue,P2.disMarksIn.numtrue,P2.disMarksIn.vec[1],$whenCondition2,$whenCondition3,$whenCondition4,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,$PRE.P1.fireIn[1],P1.fireIn[1],$PRE.P1.fireOut[1],P1.fireOut[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.feeding.vec[1],P1.feeding.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_,$PRE.P2.fireIn[1],P2.fireIn[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],$PRE.P2.enableIn.TEin[1],P2.enableIn.TEin[1],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.feeding.vec[1],P2.feeding.anytrue,P2.feeding.numtrue,P2.emptying.anytrue,P2.emptying.numtrue,T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T2.activation.arcType[1],T2.activation.disPlaceIn[1],T2.activation.minTokensInt[1],T2.activation.normalArc[1],T2.activation.testValueInt[1],T2.activation.tIntIn[1],T2.activation.disPlaceOut[1],T2.activation.maxTokensInt[1],T2.activation.tIntOut[1],P2.delayPassedIn.vec[1],T2.activation.arcWeightIntOut[1],T2.activation.arcWeightIntIn[1],P1.delayPassedIn.vec[1],P1.delayPassedOut.vec[1],T1.activation.arcWeightIntOut[1],T1.fire_) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 229 * Array equations: 0 * Algorithm blocks: 22 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 6} Notification: Performance of prepare postOptimizeDAE: time 0.002067/0.6153, allocations: 1.529 MB / 0.5866 GB, free: 6.648 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004014/0.6157, allocations: 146.9 kB / 0.5867 GB, free: 6.504 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006684/0.6224, allocations: 4.599 MB / 0.5912 GB, free: 1.797 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.818e-05/0.6224, allocations: 8 kB / 0.5912 GB, free: 1.789 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.6224, allocations: 4 kB / 0.5912 GB, free: 1.785 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/0.6224, allocations: 3.984 kB / 0.5912 GB, free: 1.781 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009843/0.6323, allocations: 6.648 MB / 0.5977 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-05/0.6324, allocations: 8 kB / 0.5977 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002555/0.6326, allocations: 63.83 kB / 0.5978 GB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006882/0.6333, allocations: 256.6 kB / 0.598 GB, free: 10.65 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000229/0.6336, allocations: 95.94 kB / 0.5981 GB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006385/0.6342, allocations: 0.7317 MB / 0.5988 GB, free: 9.797 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.6342, allocations: 0 / 0.5988 GB, free: 9.797 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01003/0.6443, allocations: 6.577 MB / 0.6053 GB, free: 3.082 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002691/0.6446, allocations: 175.7 kB / 0.6054 GB, free: 2.891 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005268/0.6451, allocations: 163.9 kB / 0.6056 GB, free: 2.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/0.6461, allocations: 171.9 kB / 0.6058 GB, free: 2.562 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006635/0.6468, allocations: 368.2 kB / 0.6061 GB, free: 2.203 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002802/0.6471, allocations: 115.9 kB / 0.6062 GB, free: 2.09 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006219/0.6478, allocations: 418.9 kB / 0.6066 GB, free: 1.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6478, allocations: 0 / 0.6066 GB, free: 1.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002167/0.6499, allocations: 0.6046 MB / 0.6072 GB, free: 1.074 MB / 426.7 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 ($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,$cse3[1],$whenCondition6,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition4,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,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,P1.outTransition[1].tokenInOut,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) * Number of discrete states: 108 (P2.fireIn[1],P2.disMarksOut.anytrue,P2.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.fireIn[1],P1.fireOut[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P1.disMarksInOut,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.disTAin[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,$whenCondition4,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.disTAout[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,$whenCondition3,P1.enableOut.TEout[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.NoTokens,P1.enableIn.TEin_[1],P1.enableIn.disTAin[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,$whenCondition2,P1.enableIn.TEin[1],P2.disMarkChange,P1.disMarkChange,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.enableOut.arcWeightSum,P2.enableOut.nremTAout,P2.enableOut.nTAout,P2.enableOut.k,P2.enableOut.posTE,P2.enableOut.randNum,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.sumEnablingProbTAout,P2.enableOut.endWhile,P2.enableOut.Index,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 39 * Array equations: 1 * Algorithm blocks: 18 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.001299/0.6512, allocations: 0.5353 MB / 0.6077 GB, free: 0.5312 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005971/0.6572, allocations: 4.663 MB / 0.6123 GB, free: 11.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.6573, allocations: 0 / 0.6123 GB, free: 11.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005584/0.6628, allocations: 5.691 MB / 0.6178 GB, free: 5.68 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/0.6642, allocations: 190.9 kB / 0.618 GB, free: 5.492 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006825/0.671, allocations: 3.634 MB / 0.6216 GB, free: 1.824 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/0.6723, allocations: 1.292 MB / 0.6228 GB, free: 0.5039 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007818/0.6731, allocations: 281 kB / 0.6231 GB, free: 232 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/0.6733, allocations: 75.42 kB / 0.6232 GB, free: 156 kB / 442.7 MB Notification: Performance of SimCode: time 9.51e-07/0.6733, allocations: 0 / 0.6232 GB, free: 156 kB / 442.7 MB Notification: Performance of Templates: time 0.2582/0.9315, allocations: 24.31 MB / 0.6469 GB, free: 148.2 MB / 458.7 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","../files/PNlib_PNlib.Examples.ConTest.ZeroPlace.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches