Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.Speed.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.Speed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|T3.fire|T3.instantaneousSpeed|T3.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.Speed") translateModel(PNlib.Examples.ConTest.Speed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|T3.fire|T3.instantaneousSpeed|T3.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.Speed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.007364/0.007364, allocations: 170.8 kB / 15.11 MB, free: 5.984 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.807/1.807, allocations: 205.4 MB / 221.3 MB, free: 13.84 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.00105/0.00105, allocations: 94.86 kB / 269.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.06808/0.06808, allocations: 16.89 MB / 334.7 MB, free: 6.012 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000392/0.0003923, allocations: 7.938 kB / 396.9 MB, free: 46.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1243, allocations: 51.7 MB / 448.6 MB, free: 412 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1257/0.25, allocations: 80.22 MB / 0.5164 GB, free: 72 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/0.2503, allocations: 67.97 kB / 0.5165 GB, free: 4 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.314/0.5643, allocations: 27.04 MB / 0.5429 GB, free: 67.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.5643, allocations: 0 / 0.5429 GB, free: 67.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.78e-05/0.5644, allocations: 35.94 kB / 0.5429 GB, free: 67.3 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: 530 * Number of variables: 530 Notification: Performance of Generate backend data structure: time 0.003589/0.568, allocations: 2.414 MB / 0.5453 GB, free: 64.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.5681, allocations: 12.03 kB / 0.5453 GB, free: 64.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002011/0.5701, allocations: 449.5 kB / 0.5457 GB, free: 64.24 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001839/0.5719, allocations: 0.9691 MB / 0.5467 GB, free: 63.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003083/0.5723, allocations: 0.4919 MB / 0.5472 GB, free: 62.67 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003274/0.5726, allocations: 232 kB / 0.5474 GB, free: 62.44 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005496/0.5781, allocations: 3.735 MB / 0.551 GB, free: 58.56 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.35e-05/0.5782, allocations: 7.938 kB / 0.551 GB, free: 58.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002737/0.5785, allocations: 108 kB / 0.5511 GB, free: 58.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002377/0.5787, allocations: 155.1 kB / 0.5513 GB, free: 58.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004097/0.5828, allocations: 2.738 MB / 0.554 GB, free: 55.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009742/0.5926, allocations: 7.534 MB / 0.5613 GB, free: 47.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003296/0.5959, allocations: 3.491 MB / 0.5647 GB, free: 44.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001866/0.5961, allocations: 121.8 kB / 0.5649 GB, free: 44.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002455/0.5986, allocations: 1.948 MB / 0.5668 GB, free: 42.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=173): time 2.815e-06/0.5986, allocations: 0 / 0.5668 GB, free: 42.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=173): time 0.007831/0.6065, allocations: 6.908 MB / 0.5735 GB, free: 34.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004868/0.607, allocations: 1.088 MB / 0.5746 GB, free: 33.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/0.6082, allocations: 0.7796 MB / 0.5753 GB, free: 32.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000227/0.6084, allocations: 113.7 kB / 0.5754 GB, free: 32.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004968/0.6089, allocations: 0.6628 MB / 0.5761 GB, free: 31.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003985/0.6093, allocations: 466.6 kB / 0.5765 GB, free: 31.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.6095, allocations: 63.94 kB / 0.5766 GB, free: 31.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.6097, allocations: 448.7 kB / 0.577 GB, free: 30.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001532/0.6112, allocations: 1.074 MB / 0.5781 GB, free: 29.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001866/0.6131, allocations: 1.942 MB / 0.58 GB, free: 27.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001732/0.6148, allocations: 1.91 MB / 0.5818 GB, free: 25.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.574e-05/0.6148, allocations: 8 kB / 0.5818 GB, free: 25.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.00495/0.6198, allocations: 4.161 MB / 0.5859 GB, free: 21.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003192/0.6201, allocations: 0.7685 MB / 0.5866 GB, free: 20.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.483e-05/0.6202, allocations: 35.98 kB / 0.5867 GB, free: 20.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008465/0.6211, allocations: 330.6 kB / 0.587 GB, free: 19.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007203/0.6218, allocations: 299.3 kB / 0.5873 GB, free: 19.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006851/0.6225, allocations: 0.8566 MB / 0.5881 GB, free: 18.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.6238, allocations: 282.1 kB / 0.5884 GB, free: 18.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002256/0.624, allocations: 152 kB / 0.5885 GB, free: 18.22 MB / 362.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: 121 * Number of states: 0 () * Number of discrete variables: 269 ($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[2],P1.enableIn.cumEnablingProb[2],$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[2],P1.enableIn.remTAin[2],$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[2],P1.enableIn.disTAin[2],$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,T3.outPlaces[1].enabledByInPlaces,T3.outPlaces[1].disTransition,P2.inTransition[1].disPlace,P1.outTransition[1].tint,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,P1.outTransition[1].minTokensint,T3.inPlaces[1].disTransition,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,P1.inTransition[2].tint,P1.inTransition[2].maxTokensint,T2.outPlaces[1].enabledByInPlaces,T2.outPlaces[1].disTransition,P1.inTransition[2].disPlace,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,T3.firingCon,T2.firingCon,P1.enableOut.enablingPrio[1],P1.enableIn.enablingPrio[2],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[2],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.fireIn[2],P1.fireIn[2],$PRE.P1.fireOut[1],P1.fireOut[1],P1.enableIn.active[1],P1.enableIn.active[2],P1.enableIn.TEin_[1],P1.enableIn.TEin_[2],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin[1],$PRE.P1.enableIn.TEin[2],P1.enableIn.TEin[2],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.vec[2],P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,T2.activation.emptied[1],T2.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.NoTokens,T3.activation.fed[1],T3.activation.emptied[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyOutputActiveVec[1],T3.activation.NoTokens,T3.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.disPlaceOut[1],T2.activation.maxTokensInt[1],T2.activation.tIntOut[1],T3.activation.arcType[1],T3.activation.disPlaceIn[1],T3.activation.minTokensInt[1],T3.activation.normalArc[1],T3.activation.testValueInt[1],T3.activation.tIntIn[1],T3.activation.disPlaceOut[1],T3.activation.maxTokensInt[1],T3.activation.tIntOut[1],P2.delayPassedIn.vec[1],T3.activation.arcWeightIntOut[1],T3.activation.arcWeightIntIn[1],T2.activation.arcWeightIntOut[1],P1.delayPassedIn.vec[2],P1.delayPassedIn.vec[1],P1.delayPassedOut.vec[1],T1.activation.arcWeightIntOut[1],T1.fire_,T2.fire_) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (291): * Single equations (assignments): 267 * Array equations: 0 * Algorithm blocks: 23 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.002075/0.6261, allocations: 1.686 MB / 0.5902 GB, free: 16.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004102/0.6265, allocations: 170.6 kB / 0.5903 GB, free: 16.24 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005284/0.6318, allocations: 4.216 MB / 0.5945 GB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.158e-05/0.6319, allocations: 8 kB / 0.5945 GB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.6319, allocations: 0 / 0.5945 GB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/0.6319, allocations: 7.984 kB / 0.5945 GB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008789/0.6407, allocations: 6.595 MB / 0.6009 GB, free: 5.129 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.521e-05/0.6407, allocations: 7.984 kB / 0.6009 GB, free: 5.121 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002755/0.641, allocations: 59.84 kB / 0.601 GB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009713/0.642, allocations: 396.5 kB / 0.6014 GB, free: 4.672 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002333/0.6423, allocations: 103.9 kB / 0.6015 GB, free: 4.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000686/0.643, allocations: 0.8333 MB / 0.6023 GB, free: 3.711 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.643, allocations: 3.938 kB / 0.6023 GB, free: 3.707 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009199/0.6522, allocations: 6.548 MB / 0.6087 GB, free: 13 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003794/0.6526, allocations: 191.4 kB / 0.6089 GB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005004/0.6531, allocations: 179.9 kB / 0.609 GB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/0.6542, allocations: 175.9 kB / 0.6092 GB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007645/0.655, allocations: 400.2 kB / 0.6096 GB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003075/0.6553, allocations: 127.9 kB / 0.6097 GB, free: 11.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006989/0.656, allocations: 483 kB / 0.6102 GB, free: 11.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.656, allocations: 0 / 0.6102 GB, free: 11.46 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00272/0.6587, allocations: 0.6632 MB / 0.6108 GB, free: 10.79 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 133 ($whenCondition1,P2.enableOut.state128[1],P2.enableOut.state128[2],P2.enableOut.state128[3],P2.enableOut.state128[4],P2.enableOut.arcWeightSum,P2.enableOut.nremTAout,P2.enableOut.nTAout,P2.enableOut.k,P2.enableOut.posTE,P2.enableOut.randNum,P2.enableOut.sumEnablingProbTAout,P2.enableOut.endWhile,P2.enableOut.Index,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.disMarksInOut,$cse4[1],$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.fireIn[2],P1.fireOut[1],P1.enableIn.active[1],P1.enableIn.active[2],P1.enableIn.TEin_[1],P1.enableIn.TEin_[2],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.TEin[2],P1.enableIn.disTAin[1],P1.enableIn.disTAin[2],P1.enableIn.remTAin[1],P1.enableIn.remTAin[2],P1.enableIn.cumEnablingProb[1],P1.enableIn.cumEnablingProb[2],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.vec[2],P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,P1.outTransition[1].tokenInOut,T2.activation.emptied[1],T2.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.NoTokens,T3.activation.fed[1],T3.activation.emptied[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyOutputActiveVec[1],T3.activation.NoTokens,T3.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: 117 (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[2],P1.fireIn[1],P1.fireOut[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P1.disMarksInOut,P1.emptying.numtrue,P1.emptying.anytrue,T2.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.NoTokens,P1.feeding.numtrue,P1.feeding.anytrue,T3.activation.weaklyOutputActiveVec[1],T3.activation.weaklyInputActiveVec[1],T3.activation.active,T3.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_[2],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[2],P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[2],P1.enableIn.remTAin[1],P1.enableIn.Index,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[2],P1.enableIn.disTAin[1],$whenCondition2,P1.enableIn.TEin[2],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 (69): * Single equations (assignments): 48 * Array equations: 1 * Algorithm blocks: 19 * 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 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.001303/0.66, allocations: 0.5639 MB / 0.6114 GB, free: 10.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007747/0.6678, allocations: 5.28 MB / 0.6165 GB, free: 4.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.6678, allocations: 0 / 0.6165 GB, free: 4.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0077/0.6756, allocations: 6.449 MB / 0.6228 GB, free: 13.97 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.6767, allocations: 158.9 kB / 0.623 GB, free: 13.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007915/0.6846, allocations: 4.415 MB / 0.6273 GB, free: 9.367 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00124/0.6859, allocations: 1.478 MB / 0.6287 GB, free: 7.859 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0009778/0.6869, allocations: 342.2 kB / 0.629 GB, free: 7.523 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/0.6871, allocations: 87.42 kB / 0.6291 GB, free: 7.438 MB / 394.7 MB Notification: Performance of SimCode: time 1.082e-06/0.6871, allocations: 0 / 0.6291 GB, free: 7.438 MB / 394.7 MB Notification: Performance of Templates: time 0.05081/0.7379, allocations: 26.72 MB / 0.6552 GB, free: 12.42 MB / 426.7 MB make -j1 -f PNlib_PNlib.Examples.ConTest.Speed.makefile (rm -f PNlib_PNlib.Examples.ConTest.Speed.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.Speed.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.Speed.pipe >> ../files/PNlib_PNlib.Examples.ConTest.Speed.sim & ./PNlib_PNlib.Examples.ConTest.Speed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.ConTest.Speed.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.ConTest.Speed_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.Speed.mat","../files/PNlib_PNlib.Examples.ConTest.Speed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches