Running command: "" <> buildModelFMU(PNlib.Examples.HybTest.TCwithPD,fileNamePrefix="PNlib_PNlib_Examples_HybTest_TCwithPD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PNlib): time 2.06/2.06, allocations: 222.8 MB / 235 MB, free: 9.168 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.982e-05/3.993e-05, allocations: 7.984 kB / 289.7 MB, free: 3.969 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1071, allocations: 51.67 MB / 341.4 MB, free: 196 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4258/0.533, allocations: 82.61 MB / 424 MB, free: 7.785 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/0.5332, allocations: 63.97 kB / 424 MB, free: 7.723 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1512/0.6845, allocations: 32.82 MB / 456.8 MB, free: 6.832 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6845, allocations: 0 / 456.8 MB, free: 6.832 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.794e-05/0.6846, allocations: 31.94 kB / 456.9 MB, free: 6.801 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.007542/0.6922, allocations: 2.793 MB / 459.7 MB, free: 3.766 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/0.6923, allocations: 12.03 kB / 459.7 MB, free: 3.754 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001673/0.694, allocations: 356.1 kB / 460 MB, free: 3.395 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004331/0.6983, allocations: 469.3 kB / 460.5 MB, free: 2.934 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004104/0.7025, allocations: 1.048 MB / 461.5 MB, free: 1.848 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006489/0.7032, allocations: 404.9 kB / 461.9 MB, free: 1.402 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001316/0.7045, allocations: 248 kB / 462.2 MB, free: 1.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01253/0.7171, allocations: 4.068 MB / 466.2 MB, free: 12.94 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.339e-05/0.7172, allocations: 4 kB / 466.2 MB, free: 12.94 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005459/0.7178, allocations: 120 kB / 466.4 MB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004112/0.7182, allocations: 147.2 kB / 466.5 MB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009119/0.7273, allocations: 2.916 MB / 469.4 MB, free: 9.758 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02175/0.7491, allocations: 7.532 MB / 477 MB, free: 2.051 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008472/0.7576, allocations: 4.345 MB / 481.3 MB, free: 13.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007986/0.7657, allocations: 4.181 MB / 485.5 MB, free: 9.484 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001896/0.7659, allocations: 36.77 kB / 485.5 MB, free: 9.449 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007326/0.7733, allocations: 2.482 MB / 488 MB, free: 6.906 MB / 410.7 MB Notification: Performance of pre-optimization done (n=207): time 5.44e-06/0.7733, allocations: 0 / 488 MB, free: 6.906 MB / 410.7 MB Notification: Performance of matching and sorting (n=207): time 0.01323/0.7866, allocations: 4.522 MB / 492.5 MB, free: 2.223 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001671/0.7883, allocations: 1.463 MB / 494 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001915/0.7902, allocations: 0.8538 MB / 494.8 MB, free: 15.64 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006624/0.791, allocations: 141.7 kB / 495 MB, free: 15.49 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009322/0.7919, allocations: 0.6713 MB / 495.6 MB, free: 14.81 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001119/0.793, allocations: 0.5174 MB / 496.2 MB, free: 14.29 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000253/0.7933, allocations: 67.94 kB / 496.2 MB, free: 14.22 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003904/0.7937, allocations: 481.6 kB / 496.7 MB, free: 13.74 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003437/0.7972, allocations: 1.224 MB / 497.9 MB, free: 12.51 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004788/0.802, allocations: 2.242 MB / 0.4884 GB, free: 9.809 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004677/0.8067, allocations: 2.217 MB / 0.4906 GB, free: 7.402 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.566e-05/0.8069, allocations: 12 kB / 0.4906 GB, free: 7.391 MB / 426.7 MB Notification: Performance of matching and sorting (n=420) (initialization): time 0.01534/0.8222, allocations: 4.688 MB / 0.4952 GB, free: 2.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001411/0.8237, allocations: 0.9716 MB / 0.4961 GB, free: 1.344 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001657/0.8239, allocations: 39.98 kB / 0.4962 GB, free: 1.305 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002346/0.8263, allocations: 197.4 kB / 0.4964 GB, free: 1.109 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003187/0.8295, allocations: 359.1 kB / 0.4967 GB, free: 0.7578 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/0.8309, allocations: 1.089 MB / 0.4978 GB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003669/0.8346, allocations: 305.8 kB / 0.4981 GB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009723/0.8356, allocations: 172 kB / 0.4982 GB, free: 15.14 MB / 442.7 MB Warning: Assuming fixed start value for the following 58 variables: P3.enableIn.valid:DISCRETE(fixed = false protected = true ) "valid solution" type: Boolean P3.enableIn.benefitLimit:DISCRETE(fixed = false protected = true ) "best valid benefit" type: Real P3.enableIn.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real P3.enableIn.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P3.enableIn.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P3.enableIn.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P3.enableIn.sumEnablingProbTAin:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P3.enableIn.nTAin:DISCRETE(fixed = false protected = true ) "number ofactive input transitions" type: Integer P3.enableIn.nremTAin:DISCRETE(fixed = false protected = true ) "number of remaining active input transitions" type: Integer P3.enableIn.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P3.enableOut.valid:DISCRETE(fixed = false protected = true ) "valid solution" type: Boolean P3.enableOut.benefitLimit:DISCRETE(fixed = false protected = true ) "best valid benefit" type: Real P3.enableOut.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real P3.enableOut.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P3.enableOut.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P3.enableOut.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P3.enableOut.sumEnablingProbTAout:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P3.enableOut.nTAout:DISCRETE(fixed = false protected = true ) "number of active output transitions" type: Integer P3.enableOut.nremTAout:DISCRETE(fixed = false protected = true ) "number of remaining active output transitions" type: Integer P3.enableOut.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer 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 P3.firingSumIn.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer P3.firingSumOut.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer 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 P1.enableIn.arcWeightSum:DISCRETE(fixed = false protected = true ) "arc weight sum" type: Real P1.enableIn.nremTAin:DISCRETE(fixed = false protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = false protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P1.enableIn.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P1.enableIn.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 144 * Number of states: 0 () * Number of discrete variables: 349 ($PRE.P3.enableIn.valid,P3.enableIn.valid,$PRE.P3.enableIn.benefitLimit,P3.enableIn.benefitLimit,$PRE.P3.enableIn.benefitMax,P3.enableIn.benefitMax,$PRE.P3.enableIn.posTE,P3.enableIn.posTE,$PRE.P3.enableIn.k,P3.enableIn.k,$PRE.P3.enableIn.endWhile,P3.enableIn.endWhile,$PRE.P3.enableIn.state128[1],P3.enableIn.state128[1],$PRE.P3.enableIn.state128[2],P3.enableIn.state128[2],$PRE.P3.enableIn.state128[3],P3.enableIn.state128[3],$PRE.P3.enableIn.state128[4],P3.enableIn.state128[4],$PRE.P3.enableIn.randNum,P3.enableIn.randNum,$PRE.P3.enableIn.cumEnablingProb[1],P3.enableIn.cumEnablingProb[1],$PRE.P3.enableIn.sumEnablingProbTAin,P3.enableIn.sumEnablingProbTAin,$PRE.P3.enableIn.nTAin,P3.enableIn.nTAin,$PRE.P3.enableIn.nremTAin,P3.enableIn.nremTAin,$PRE.P3.enableIn.remTAin[1],P3.enableIn.remTAin[1],$PRE.P3.enableIn.Index,P3.enableIn.Index,$PRE.P3.enableOut.valid,P3.enableOut.valid,$PRE.P3.enableOut.benefitLimit,P3.enableOut.benefitLimit,$PRE.P3.enableOut.benefitMax,P3.enableOut.benefitMax,$PRE.P3.enableOut.posTE,P3.enableOut.posTE,$PRE.P3.enableOut.k,P3.enableOut.k,$PRE.P3.enableOut.endWhile,P3.enableOut.endWhile,$PRE.P3.enableOut.state128[1],P3.enableOut.state128[1],$PRE.P3.enableOut.state128[2],P3.enableOut.state128[2],$PRE.P3.enableOut.state128[3],P3.enableOut.state128[3],$PRE.P3.enableOut.state128[4],P3.enableOut.state128[4],$PRE.P3.enableOut.randNum,P3.enableOut.randNum,$PRE.P3.enableOut.cumEnablingProb[1],P3.enableOut.cumEnablingProb[1],$PRE.P3.enableOut.sumEnablingProbTAout,P3.enableOut.sumEnablingProbTAout,$PRE.P3.enableOut.nTAout,P3.enableOut.nTAout,$PRE.P3.enableOut.nremTAout,P3.enableOut.nremTAout,$PRE.P3.enableOut.remTAout[1],P3.enableOut.remTAout[1],$PRE.P3.enableOut.Index,P3.enableOut.Index,$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],$whenCondition9,$PRE.P3.reStart,$whenCondition8,$whenCondition7,P3.tokeninout,$PRE.P3.firingSumIn.firingSum,$PRE.P3.firingSumOut.firingSum,$PRE.P3.tokeninout,P3.outTransition[1].tokenInOut,$whenCondition11,P2.disMarksInOut,$PRE.P2.disMarksOut.anytrue,$PRE.P2.disMarksIn.anytrue,P2.disMarksOut.anytrue,P2.disMarksOut.numtrue,$whenCondition10,P1.disMarksInOut,$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksInOut,P1.outTransition[1].tokenInOut,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,$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,$whenCondition2,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$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.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.Index,P1.enableIn.Index,$whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,T1.outPlaces[2].enabledByInPlaces,P3.inTransition[1].emptied,T1.outPlaces[2].disTransition,P3.inTransition[1].disPlace,P3.outTransition[1].testValueint,P3.outTransition[1].normalArc,P3.outTransition[1].fed,T1.inPlaces[2].disTransition,P3.outTransition[1].disPlace,P3.outTransition[1].arcType,P2.inTransition[1].tint,P2.inTransition[1].maxTokensint,T1.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].disTransition,P2.inTransition[1].disPlace,P1.outTransition[1].tint,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,P1.outTransition[1].minTokensint,T1.inPlaces[1].disTransition,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,P3.enableIn.enablingPrio[1],P3.enableOut.enablingPrio[1],P3.reStart,T1.firingCon,P2.enableIn.enablingPrio[1],P2.reStart,P1.enableOut.enablingPrio[1],P1.reStart,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksOut.vec[1],P2.disMarksIn.anytrue,P2.disMarksIn.numtrue,P2.disMarksIn.vec[1],P3.enableIn.disTransition[1],$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$PRE.P1.fireOut[1],P1.fireOut[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.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,$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.tIntIn[2],T1.activation.tIntOut[2],T1.activation.arcWeightIntIn[2],T1.activation.arcWeightIntOut[2],T1.activation.minTokensInt[2],T1.activation.maxTokensInt[2],T1.activation.fed[1],T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyOutputActiveVec[2],T1.activation.NoTokens,T1.fire_,$PRE.P3.t,P3.t,$PRE.P3.activeOut[1],P3.activeOut[1],P3.activeConOut.vec[1],P3.activeConOut.anychange,P3.delayPassedOut.anytrue,P3.delayPassedOut.numtrue,P3.delayPassedIn.anytrue,P3.delayPassedIn.numtrue,P3.firingSumIn.arcWeight[1],P3.firingSumIn.firingSum,P3.firingSumOut.arcWeight[1],P3.firingSumOut.firingSum,P3.enableOut.TAout[1],P3.enableOut.TEout_[1],$PRE.P3.enableOut.TEout[1],P3.enableOut.TEout[1],$PRE.P3.enableOut.arcWeightSum,P3.enableOut.arcWeightSum,P3.enableIn.TAein[1],P3.enableIn.active[1],P3.enableIn.TEin_[1],$PRE.P3.enableIn.TEin[1],P3.enableIn.TEin[1],$PRE.P3.enableIn.arcWeightSum,P3.enableIn.arcWeightSum,T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.minTokensInt[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.tIntIn[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T1.activation.arcType[2],T1.activation.disPlaceIn[2],P3.enableOut.disTransition[1],T1.activation.fed[2],T1.activation.normalArc[2],T1.activation.testValueInt[2],T1.activation.disPlaceOut[2],T1.activation.emptied[2],P3.firingSumOut.fire[1],P3.firingSumIn.fire[1],P3.delayPassedIn.vec[1],P3.delayPassedOut.vec[1],P3.enableIn.arcWeight[1],T1.activation.arcWeightIntOut[1],P3.enableOut.arcWeight[1],T1.activation.arcWeightIntIn[1],P2.delayPassedIn.vec[1],P1.delayPassedOut.vec[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (363): * Single equations (assignments): 332 * Array equations: 0 * Algorithm blocks: 30 * 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 {2 3} Notification: Performance of prepare postOptimizeDAE: time 0.004905/0.8405, allocations: 1.682 MB / 0.4999 GB, free: 13.29 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001163/0.8417, allocations: 214.4 kB / 0.5001 GB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01885/0.8606, allocations: 4.797 MB / 0.5048 GB, free: 8.141 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.748e-05/0.8607, allocations: 11.98 kB / 0.5048 GB, free: 8.129 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.551e-05/0.8608, allocations: 4 kB / 0.5048 GB, free: 8.125 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.653e-05/0.8608, allocations: 3.984 kB / 0.5048 GB, free: 8.121 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02836/0.8892, allocations: 7.501 MB / 0.5121 GB, free: 440 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.972e-05/0.8893, allocations: 7.984 kB / 0.5121 GB, free: 432 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009293/0.8902, allocations: 79.83 kB / 0.5122 GB, free: 352 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009209/0.8912, allocations: 128.8 kB / 0.5123 GB, free: 220 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009901/0.8922, allocations: 127.9 kB / 0.5124 GB, free: 92 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2826/1.175, allocations: 1.035 MB / 0.5134 GB, free: 123 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/1.175, allocations: 7.031 kB / 0.5135 GB, free: 123 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02088/1.196, allocations: 7.91 MB / 0.5212 GB, free: 122 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003323/1.196, allocations: 213 kB / 0.5214 GB, free: 121.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001284/1.197, allocations: 232.5 kB / 0.5216 GB, free: 121.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002373/1.2, allocations: 197.3 kB / 0.5218 GB, free: 121.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001425/1.201, allocations: 0.5228 MB / 0.5223 GB, free: 121.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006275/1.202, allocations: 162.1 kB / 0.5225 GB, free: 121.9 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000985/1.203, allocations: 0.4951 MB / 0.5229 GB, free: 121.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.61e-07/1.203, allocations: 0 / 0.5229 GB, free: 121.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004507/1.207, allocations: 0.9209 MB / 0.5238 GB, free: 121.8 MB / 442.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: 180 ($whenCondition1,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],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.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,$whenCondition2,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,$cse1[1],$cse1[2],$whenCondition11,$whenCondition10,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,P1.disMarksInOut,P1.fireOut[1],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.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,P1.outTransition[1].tokenInOut,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,T1.activation.tIntIn[2],T1.activation.tIntOut[2],T1.activation.arcWeightIntIn[2],T1.activation.arcWeightIntOut[2],T1.activation.minTokensInt[2],T1.activation.maxTokensInt[2],T1.activation.fed[1],T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyOutputActiveVec[2],T1.activation.NoTokens,T1.fire_,P3.t,P3.tokeninout,P3.activeOut[1],P3.activeConOut.vec[1],P3.activeConOut.anychange,P3.delayPassedOut.anytrue,P3.delayPassedOut.numtrue,P3.delayPassedIn.anytrue,P3.delayPassedIn.numtrue,P3.firingSumIn.arcWeight[1],P3.firingSumIn.firingSum,P3.firingSumOut.arcWeight[1],P3.firingSumOut.firingSum,P3.enableOut.TAout[1],P3.enableOut.TEout_[1],P3.enableOut.state128[1],P3.enableOut.state128[2],P3.enableOut.state128[3],P3.enableOut.state128[4],P3.enableOut.TEout[1],P3.enableOut.remTAout[1],P3.enableOut.cumEnablingProb[1],P3.enableOut.arcWeightSum,P3.enableOut.nremTAout,P3.enableOut.nTAout,P3.enableOut.k,P3.enableOut.posTE,P3.enableOut.randNum,P3.enableOut.sumEnablingProbTAout,P3.enableOut.endWhile,P3.enableOut.Index,P3.enableOut.benefitMax,P3.enableOut.valid,P3.enableOut.benefitLimit,P3.enableIn.TAein[1],P3.enableIn.active[1],P3.enableIn.TEin_[1],P3.enableIn.state128[1],P3.enableIn.state128[2],P3.enableIn.state128[3],P3.enableIn.state128[4],P3.enableIn.TEin[1],P3.enableIn.remTAin[1],P3.enableIn.cumEnablingProb[1],P3.enableIn.arcWeightSum,P3.enableIn.nremTAin,P3.enableIn.nTAin,P3.enableIn.k,P3.enableIn.posTE,P3.enableIn.randNum,P3.enableIn.sumEnablingProbTAin,P3.enableIn.endWhile,P3.enableIn.Index,P3.enableIn.benefitMax,P3.enableIn.valid,P3.enableIn.benefitLimit,P3.outTransition[1].tokenInOut) * Number of discrete states: 153 (P3.firingSumOut.firingSum,P3.firingSumIn.firingSum,P3.t,P3.tokeninout,P3.delayPassedIn.numtrue,P3.delayPassedIn.anytrue,P3.delayPassedOut.numtrue,P3.delayPassedOut.anytrue,P3.activeOut[1],P3.activeConOut.anychange,i,P3.activeConOut.vec[i],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.fireOut[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P1.disMarksInOut,P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,T1.activation.weaklyOutputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.NoTokens,P3.enableIn.TEin_[1],P3.enableIn.valid,P3.enableIn.benefitLimit,P3.enableIn.benefitMax,P3.enableIn.posTE,P3.enableIn.k,P3.enableIn.endWhile,P3.enableIn.state128[4],P3.enableIn.state128[3],P3.enableIn.state128[2],P3.enableIn.state128[1],P3.enableIn.randNum,P3.enableIn.cumEnablingProb[1],P3.enableIn.sumEnablingProbTAin,P3.enableIn.nTAin,P3.enableIn.nremTAin,P3.enableIn.remTAin[1],P3.enableIn.Index,$whenCondition6,P3.enableIn.arcWeightSum,P3.enableIn.TEin[1],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],P3.enableOut.TEout_[1],P3.enableOut.valid,P3.enableOut.benefitLimit,P3.enableOut.benefitMax,P3.enableOut.posTE,P3.enableOut.k,P3.enableOut.endWhile,P3.enableOut.state128[4],P3.enableOut.state128[3],P3.enableOut.state128[2],P3.enableOut.state128[1],P3.enableOut.randNum,P3.enableOut.cumEnablingProb[1],P3.enableOut.sumEnablingProbTAout,P3.enableOut.nTAout,P3.enableOut.nremTAout,P3.enableOut.remTAout[1],P3.enableOut.Index,$whenCondition5,P3.enableOut.arcWeightSum,P3.enableOut.TEout[1],P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,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],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,$whenCondition2,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 56 * Array equations: 1 * Algorithm blocks: 24 * Record equations: 0 * When equations: 1 * 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 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0232/1.231, allocations: 9.362 MB / 0.533 GB, free: 119.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01124/1.242, allocations: 6.711 MB / 0.5395 GB, free: 115.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/1.242, allocations: 7.156 kB / 0.5395 GB, free: 115.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01109/1.253, allocations: 9.042 MB / 0.5484 GB, free: 109 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001952/1.255, allocations: 191.1 kB / 0.5486 GB, free: 108.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01567/1.271, allocations: 4.895 MB / 0.5533 GB, free: 107.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001265/1.272, allocations: 1.5 MB / 0.5548 GB, free: 106.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001595/1.274, allocations: 403 kB / 0.5552 GB, free: 106.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009771/1.275, allocations: 0.5909 MB / 0.5558 GB, free: 106 MB / 442.7 MB Notification: Performance of SimCode: time 1.663e-06/1.275, allocations: 7.281 kB / 0.5558 GB, free: 106 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.107/1.382, allocations: 46.79 MB / 0.6015 GB, free: 72.5 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001242/1.382, allocations: 187.4 kB / 0.6016 GB, free: 72.28 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.152/5.534, allocations: 0 / 0.6016 GB, free: 72.28 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result PNlib_PNlib.Examples.HybTest.TCwithPD_res.mat does not exist to compare? outputFormat=mat