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.008809/0.008809, allocations: 170 kB / 15.11 MB, free: 6.039 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.823/1.823, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.0009249/0.0009249, allocations: 90.8 kB / 269.6 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.06554/0.06554, allocations: 16.88 MB / 334.7 MB, free: 5.996 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003305/0.0003305, allocations: 11.59 kB / 396.9 MB, free: 46.19 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1198, allocations: 51.69 MB / 448.6 MB, free: 220 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4313/0.5511, allocations: 80.18 MB / 0.5164 GB, free: 25.11 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/0.5514, allocations: 67.84 kB / 0.5165 GB, free: 25.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06863/0.62, allocations: 24.28 MB / 0.5402 GB, free: 23.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.6201, allocations: 4 kB / 0.5402 GB, free: 23.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.709e-05/0.6202, allocations: 31.47 kB / 0.5402 GB, free: 23.61 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.00642/0.6266, allocations: 2.174 MB / 0.5423 GB, free: 22.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.6267, allocations: 15.72 kB / 0.5423 GB, free: 22.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003021/0.6297, allocations: 411.3 kB / 0.5427 GB, free: 22.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002736/0.6325, allocations: 0.8399 MB / 0.5436 GB, free: 21.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005293/0.633, allocations: 395.8 kB / 0.5439 GB, free: 21.51 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009264/0.634, allocations: 199.9 kB / 0.5441 GB, free: 21.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007114/0.6411, allocations: 3.133 MB / 0.5472 GB, free: 21.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.205e-05/0.6412, allocations: 2.625 kB / 0.5472 GB, free: 21.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004426/0.6416, allocations: 96.95 kB / 0.5473 GB, free: 21.15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002925/0.6419, allocations: 120.9 kB / 0.5474 GB, free: 21.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004518/0.6464, allocations: 2.273 MB / 0.5496 GB, free: 21.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01101/0.6575, allocations: 6.287 MB / 0.5558 GB, free: 34.06 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003431/0.661, allocations: 2.973 MB / 0.5587 GB, free: 33.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002376/0.6612, allocations: 112.6 kB / 0.5588 GB, free: 33.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002815/0.6641, allocations: 1.738 MB / 0.5605 GB, free: 33.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=151): time 4.318e-06/0.6641, allocations: 0 / 0.5605 GB, free: 33.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=151): time 0.007941/0.672, allocations: 6.126 MB / 0.5664 GB, free: 29.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007182/0.6728, allocations: 1.034 MB / 0.5675 GB, free: 28.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/0.6741, allocations: 0.655 MB / 0.5681 GB, free: 28.65 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002641/0.6744, allocations: 107.1 kB / 0.5682 GB, free: 28.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006356/0.675, allocations: 0.5433 MB / 0.5687 GB, free: 28.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004851/0.6755, allocations: 401.9 kB / 0.5691 GB, free: 28.01 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/0.6757, allocations: 53.94 kB / 0.5692 GB, free: 28.01 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000259/0.6759, allocations: 428.8 kB / 0.5696 GB, free: 27.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001472/0.6774, allocations: 0.9212 MB / 0.5705 GB, free: 27.51 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001751/0.6792, allocations: 1.664 MB / 0.5721 GB, free: 26.42 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002028/0.6812, allocations: 1.701 MB / 0.5738 GB, free: 25.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.499e-05/0.6813, allocations: 11.77 kB / 0.5738 GB, free: 25.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=300) (initialization): time 0.005382/0.6867, allocations: 3.648 MB / 0.5773 GB, free: 24.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004733/0.6872, allocations: 0.7278 MB / 0.578 GB, free: 23.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.551e-05/0.6873, allocations: 31.23 kB / 0.5781 GB, free: 23.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008224/0.6881, allocations: 261 kB / 0.5783 GB, free: 23.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000734/0.6888, allocations: 253.1 kB / 0.5786 GB, free: 23.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007467/0.6896, allocations: 0.7567 MB / 0.5793 GB, free: 22.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/0.6909, allocations: 251.6 kB / 0.5795 GB, free: 22.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002941/0.6912, allocations: 126.9 kB / 0.5797 GB, free: 22.65 MB / 378.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.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.P2.enableIn.disTAin[1],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,$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.enableOut.disTAout[1],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,$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.P1.enableIn.disTAin[1],P1.enableIn.disTAin[1],$whenCondition6,P2.disMarksInOut,$PRE.P2.disMarksOut.anytrue,$PRE.P2.disMarksIn.anytrue,P2.disMarksOut.anytrue,P2.disMarksOut.numtrue,$whenCondition5,P1.disMarksInOut,$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,$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.002852/0.6941, allocations: 1.524 MB / 0.5811 GB, free: 21.67 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007587/0.6948, allocations: 152.5 kB / 0.5813 GB, free: 21.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005833/0.7007, allocations: 3.679 MB / 0.5849 GB, free: 19.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.98e-05/0.7007, allocations: 7.812 kB / 0.5849 GB, free: 19.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.7007, allocations: 0 / 0.5849 GB, free: 19.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.7008, allocations: 3.984 kB / 0.5849 GB, free: 19.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009149/0.7099, allocations: 5.762 MB / 0.5905 GB, free: 16.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.371e-05/0.71, allocations: 7.891 kB / 0.5905 GB, free: 16.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002521/0.7102, allocations: 62.73 kB / 0.5906 GB, free: 16.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006218/0.7109, allocations: 260.8 kB / 0.5908 GB, free: 16.13 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002261/0.7111, allocations: 95.34 kB / 0.5909 GB, free: 16.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006067/0.7117, allocations: 0.7216 MB / 0.5916 GB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.7118, allocations: 7.594 kB / 0.5916 GB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008303/0.7201, allocations: 5.756 MB / 0.5973 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004031/0.7205, allocations: 174.5 kB / 0.5974 GB, free: 12.01 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005764/0.7211, allocations: 164.6 kB / 0.5976 GB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/0.7223, allocations: 172.6 kB / 0.5978 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007247/0.723, allocations: 366.5 kB / 0.5981 GB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003349/0.7234, allocations: 113.3 kB / 0.5982 GB, free: 11.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000711/0.7241, allocations: 417.6 kB / 0.5986 GB, free: 11.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7241, allocations: 0 / 0.5986 GB, free: 11.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003011/0.7271, allocations: 0.6071 MB / 0.5992 GB, free: 11.29 MB / 378.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.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],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],$whenCondition3,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],$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.001603/0.7287, allocations: 0.5164 MB / 0.5997 GB, free: 11.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007183/0.7359, allocations: 4.713 MB / 0.6043 GB, free: 6.223 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.736, allocations: 0 / 0.6043 GB, free: 6.223 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006711/0.7427, allocations: 5.748 MB / 0.6099 GB, free: 248 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.7437, allocations: 134.9 kB / 0.61 GB, free: 112 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007932/0.7517, allocations: 3.636 MB / 0.6136 GB, free: 12.45 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001504/0.7532, allocations: 1.328 MB / 0.6149 GB, free: 11.1 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0009149/0.7542, allocations: 277 kB / 0.6152 GB, free: 10.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002366/0.7544, allocations: 79.34 kB / 0.6152 GB, free: 10.75 MB / 394.7 MB Notification: Performance of SimCode: time 1.653e-06/0.7544, allocations: 0 / 0.6152 GB, free: 10.75 MB / 394.7 MB Notification: Performance of Templates: time 0.05194/0.8064, allocations: 24.41 MB / 0.6391 GB, free: 2.047 MB / 410.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