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.001003/0.001003, allocations: 175.7 kB / 7.648 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.3 MB / 213.4 MB, free: 13.76 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.0008583/0.0008582, allocations: 90.2 kB / 261.4 MB, free: 13.44 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.068/0.068, allocations: 16.73 MB / 326.1 MB, free: 12.63 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.075e-05/2.1e-05, allocations: 0 / 384 MB, free: 70.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09571/0.09577, allocations: 51.7 MB / 435.7 MB, free: 19.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3154/0.4112, allocations: 79.43 MB / 0.503 GB, free: 10.1 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002068/0.4115, allocations: 71.02 kB / 0.5031 GB, free: 10.1 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05817/0.4696, allocations: 24.01 MB / 0.5265 GB, free: 13.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4697, allocations: 0 / 0.5265 GB, free: 13.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.682e-05/0.4698, allocations: 35.94 kB / 0.5266 GB, free: 13.23 MB / 346.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.004339/0.4741, allocations: 2.127 MB / 0.5287 GB, free: 11.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.4742, allocations: 8.031 kB / 0.5287 GB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002452/0.4766, allocations: 417.1 kB / 0.5291 GB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002254/0.4789, allocations: 0.847 MB / 0.5299 GB, free: 10.06 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004942/0.4794, allocations: 349.2 kB / 0.5302 GB, free: 9.672 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008106/0.4802, allocations: 140.5 kB / 0.5304 GB, free: 9.539 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00421/0.4845, allocations: 2.092 MB / 0.5324 GB, free: 8.184 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005332/0.4898, allocations: 2.821 MB / 0.5352 GB, free: 6.059 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.721e-05/0.4899, allocations: 3.938 kB / 0.5352 GB, free: 6.055 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002782/0.4902, allocations: 39.69 kB / 0.5352 GB, free: 6.02 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001994/0.4904, allocations: 117.2 kB / 0.5353 GB, free: 5.918 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009279/0.4997, allocations: 5.968 MB / 0.5411 GB, free: 0.9727 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002859/0.5026, allocations: 2.793 MB / 0.5439 GB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00275/0.5053, allocations: 2.547 MB / 0.5463 GB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001961/0.5055, allocations: 121.4 kB / 0.5465 GB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002481/0.508, allocations: 1.618 MB / 0.548 GB, free: 10.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=151): time 3.457e-06/0.5081, allocations: 0 / 0.548 GB, free: 10.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=151): time 0.004655/0.5127, allocations: 2.461 MB / 0.5504 GB, free: 8.488 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005921/0.5133, allocations: 1.027 MB / 0.5515 GB, free: 7.281 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008009/0.5142, allocations: 0.555 MB / 0.552 GB, free: 6.723 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002071/0.5144, allocations: 89.67 kB / 0.5521 GB, free: 6.629 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004646/0.5148, allocations: 0.5446 MB / 0.5526 GB, free: 6.086 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004096/0.5153, allocations: 389.3 kB / 0.553 GB, free: 5.711 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.5154, allocations: 16 kB / 0.553 GB, free: 5.695 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002064/0.5156, allocations: 423.5 kB / 0.5534 GB, free: 5.273 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001248/0.5168, allocations: 0.8321 MB / 0.5542 GB, free: 4.438 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001671/0.5185, allocations: 1.547 MB / 0.5557 GB, free: 2.559 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/0.5201, allocations: 0.9072 MB / 0.5566 GB, free: 1.656 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.363e-05/0.5201, allocations: 4 kB / 0.5566 GB, free: 1.652 MB / 362.7 MB Notification: Performance of matching and sorting (n=300) (initialization): time 0.004388/0.5245, allocations: 2.623 MB / 0.5592 GB, free: 15.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004441/0.525, allocations: 0.7278 MB / 0.5599 GB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.32e-05/0.5251, allocations: 27.98 kB / 0.5599 GB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000778/0.5258, allocations: 252.7 kB / 0.5602 GB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007966/0.5266, allocations: 259.4 kB / 0.5604 GB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007735/0.5274, allocations: 0.7708 MB / 0.5612 GB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.5287, allocations: 198.5 kB / 0.5613 GB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002369/0.5289, allocations: 128 kB / 0.5615 GB, free: 12.51 MB / 378.7 MB Warning: Assuming fixed start value for the following 36 variables: P2.enableIn.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P2.enableIn.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P2.enableIn.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P2.enableIn.sumEnablingProbTAin:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P2.enableIn.nTAin:DISCRETE(fixed = false protected = true ) "number ofactive input transitions" type: Integer P2.enableIn.nremTAin:DISCRETE(fixed = false protected = true ) "number of remaining active input transitions" type: Integer P2.enableIn.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P2.enableIn.arcWeightSum:DISCRETE(fixed = false protected = true ) "arc weight sum" type: Real P1.enableOut.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.nTAout:DISCRETE(fixed = false protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = false protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.Index:DISCRETE(fixed = false protected = true ) type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = false protected = true ) "arc weight sum" type: Real P1.enableIn.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.nTAin:DISCRETE(fixed = false protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = false protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P1.enableIn.arcWeightSum:DISCRETE(fixed = false protected = true ) "arc weight sum" type: Real P2.disMarksOut.anytrue:DISCRETE(fixed = false protected = true ) type: Boolean P2.disMarksIn.anytrue:DISCRETE(fixed = false protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = false protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = false protected = true ) type: Boolean P2.enableOut.arcWeightSum:DISCRETE(fixed = false protected = true ) "arc weight sum" type: Real P2.enableOut.nremTAout:DISCRETE(fixed = false protected = true ) "number of remaining active output transitions" type: Integer P2.enableOut.nTAout:DISCRETE(fixed = false protected = true ) "number of active output transitions" type: Integer P2.enableOut.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P2.enableOut.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.enableOut.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P2.enableOut.Index:DISCRETE(fixed = false protected = true ) type: Integer Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: T2.speedSumIn[1]:VARIABLE(protected = true ) "Input speeds of continuous input places" type: Real [1] T1.speedSumOut[1]:VARIABLE(protected = true ) "Output speeds of continuous output places" type: Real [1] P2.decFactorIn[1]:VARIABLE(protected = true ) "decreasing factors for input transitions" type: Real [1] 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 () * 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.001641/0.5306, allocations: 1.203 MB / 0.5626 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004274/0.531, allocations: 150.9 kB / 0.5628 GB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004864/0.5359, allocations: 2.721 MB / 0.5654 GB, free: 8.312 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.38e-05/0.5359, allocations: 4 kB / 0.5654 GB, free: 8.309 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.536, allocations: 4 kB / 0.5654 GB, free: 8.305 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.536, allocations: 3.984 kB / 0.5655 GB, free: 8.301 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008246/0.5442, allocations: 4.588 MB / 0.5699 GB, free: 3.684 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.502e-05/0.5443, allocations: 7.984 kB / 0.5699 GB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000273/0.5446, allocations: 55.91 kB / 0.57 GB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006643/0.5452, allocations: 254.5 kB / 0.5702 GB, free: 3.371 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002349/0.5455, allocations: 87.94 kB / 0.5703 GB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007021/0.5462, allocations: 0.7435 MB / 0.571 GB, free: 2.516 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.5462, allocations: 4.031 kB / 0.571 GB, free: 2.512 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007893/0.5541, allocations: 4.589 MB / 0.5755 GB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002516/0.5544, allocations: 167.8 kB / 0.5757 GB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005274/0.555, allocations: 160 kB / 0.5758 GB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/0.5561, allocations: 155.9 kB / 0.576 GB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007348/0.5569, allocations: 364.2 kB / 0.5763 GB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003374/0.5573, allocations: 115.7 kB / 0.5764 GB, free: 12.94 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005765/0.5578, allocations: 314.9 kB / 0.5768 GB, free: 12.63 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.02e-07/0.5579, allocations: 0 / 0.5768 GB, free: 12.63 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003172/0.561, allocations: 0.5499 MB / 0.5773 GB, free: 12.08 MB / 394.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) * 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.001893/0.5629, allocations: 0.518 MB / 0.5778 GB, free: 11.56 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006327/0.5693, allocations: 4.432 MB / 0.5821 GB, free: 6.863 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.365e-06/0.5693, allocations: 4 kB / 0.5821 GB, free: 6.859 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005673/0.575, allocations: 5.612 MB / 0.5876 GB, free: 1.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008239/0.5759, allocations: 109.6 kB / 0.5877 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005919/0.5818, allocations: 2.7 MB / 0.5903 GB, free: 14.19 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001074/0.5829, allocations: 1.327 MB / 0.5916 GB, free: 12.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007665/0.5837, allocations: 268.3 kB / 0.5919 GB, free: 12.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002315/0.584, allocations: 71.42 kB / 0.592 GB, free: 12.5 MB / 410.7 MB Notification: Performance of SimCode: time 8.81e-07/0.584, allocations: 0 / 0.592 GB, free: 12.5 MB / 410.7 MB Notification: Performance of Templates: time 0.04269/0.6267, allocations: 23.51 MB / 0.6149 GB, free: 4.684 MB / 426.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