Running command: "" <> buildModelFMU(PNlib.Examples.DisTest.TFDtest,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TFDtest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PNlib): time 2.197/2.197, allocations: 222.9 MB / 235 MB, free: 9.242 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.023e-05/5.025e-05, allocations: 0 / 289.7 MB, free: 3.973 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1088, allocations: 51.67 MB / 341.4 MB, free: 200 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4566/0.5654, allocations: 80.61 MB / 422 MB, free: 9.68 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.5657, allocations: 71.97 kB / 422 MB, free: 9.609 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09523/0.6609, allocations: 21.66 MB / 443.7 MB, free: 3.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.141e-06/0.661, allocations: 0 / 443.7 MB, free: 3.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.497e-05/0.6611, allocations: 23.88 kB / 443.7 MB, free: 3.887 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.004851/0.6659, allocations: 1.909 MB / 445.6 MB, free: 1.797 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.666, allocations: 12.03 kB / 445.6 MB, free: 1.785 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008758/0.6669, allocations: 209.6 kB / 445.8 MB, free: 1.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009592/0.6679, allocations: 186.6 kB / 446 MB, free: 1.387 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002056/0.6699, allocations: 0.6633 MB / 446.7 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002647/0.6702, allocations: 153.4 kB / 446.8 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005385/0.6708, allocations: 144 kB / 447 MB, free: 392 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006569/0.6774, allocations: 2.274 MB / 449.2 MB, free: 13.97 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.776e-05/0.6774, allocations: 3.938 kB / 449.3 MB, free: 13.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003053/0.6778, allocations: 75.95 kB / 449.3 MB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002192/0.678, allocations: 69.95 kB / 449.4 MB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004499/0.6825, allocations: 1.491 MB / 450.9 MB, free: 12.33 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01189/0.6944, allocations: 5.513 MB / 456.4 MB, free: 6.637 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004887/0.6994, allocations: 2.567 MB / 459 MB, free: 4.043 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004584/0.704, allocations: 2.411 MB / 461.4 MB, free: 1.625 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001732/0.7042, allocations: 89.55 kB / 461.5 MB, free: 1.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004353/0.7086, allocations: 1.539 MB / 463 MB, free: 15.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=144): time 4.819e-06/0.7086, allocations: 0 / 463 MB, free: 15.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=144): time 0.007336/0.716, allocations: 2.841 MB / 465.8 MB, free: 12.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008181/0.7169, allocations: 0.9998 MB / 466.8 MB, free: 11.8 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.718, allocations: 0.542 MB / 467.4 MB, free: 11.25 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002972/0.7183, allocations: 109.7 kB / 467.5 MB, free: 11.14 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004328/0.7187, allocations: 400.5 kB / 467.9 MB, free: 10.74 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005095/0.7193, allocations: 355.9 kB / 468.2 MB, free: 10.39 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.7194, allocations: 40 kB / 468.3 MB, free: 10.35 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002691/0.7197, allocations: 427.2 kB / 468.7 MB, free: 9.922 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001864/0.7216, allocations: 0.6796 MB / 469.4 MB, free: 9.242 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00245/0.724, allocations: 1.356 MB / 470.7 MB, free: 7.57 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002576/0.7267, allocations: 1.384 MB / 472.1 MB, free: 6.062 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.562e-05/0.7267, allocations: 8 kB / 472.1 MB, free: 6.055 MB / 394.7 MB Notification: Performance of matching and sorting (n=282) (initialization): time 0.007241/0.734, allocations: 3.024 MB / 475.1 MB, free: 2.898 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005398/0.7346, allocations: 0.623 MB / 475.8 MB, free: 2.152 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.486e-05/0.7346, allocations: 20 kB / 475.8 MB, free: 2.133 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.773e-05/0.7347, allocations: 36 kB / 475.8 MB, free: 2.098 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/0.7361, allocations: 236.1 kB / 476 MB, free: 1.867 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-05/0.7362, allocations: 47.86 kB / 476.1 MB, free: 1.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001652/0.7378, allocations: 194.7 kB / 476.3 MB, free: 1.629 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002919/0.7382, allocations: 112.4 kB / 476.4 MB, free: 1.52 MB / 394.7 MB Warning: Assuming fixed start value for the following 48 variables: P2.enableIn.valid:DISCRETE(fixed = false protected = true ) "valid solution" type: Boolean P2.enableIn.benefitLimit:DISCRETE(fixed = false protected = true ) "best valid benefit" type: Real P2.enableIn.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real 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 P1.enableOut.valid:DISCRETE(fixed = false protected = true ) "valid solution" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = false protected = true ) "best valid benefit" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" 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 ) "priority Index" type: Integer T1.ani:DISCRETE(fixed = false protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = false protected = true ) "for transition animation" type: Real P2.firingSumIn.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer P2.firingSumOut.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer P1.firingSumOut.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer 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 ) "priority Index" type: Integer P2.enableOut.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real P2.enableOut.valid:DISCRETE(fixed = false protected = true ) "valid solution" type: Boolean P2.enableOut.benefitLimit:DISCRETE(fixed = false protected = true ) "best valid benefit" 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 P1.enableIn.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real P1.enableIn.valid:DISCRETE(fixed = false protected = true ) "valid solution" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = false protected = true ) "best valid benefit" type: Real T1.firingTimeOut:DISCRETE(fixed = false protected = true ) "next putative firing time" type: Real T1.firingTimeIn:DISCRETE(fixed = false protected = true ) "next putative firing time" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 244 ($PRE.P2.enableIn.valid,P2.enableIn.valid,$PRE.P2.enableIn.benefitLimit,P2.enableIn.benefitLimit,$PRE.P2.enableIn.benefitMax,P2.enableIn.benefitMax,$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.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$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,$whenCondition14,$PRE.P1.reStart,$whenCondition11,$PRE.P2.reStart,$PRE.T1.fireTime,T1.fireTime,$PRE.T1.ani,T1.ani,$whenCondition10,$whenCondition9,P2.tokeninout,$PRE.P2.firingSumIn.firingSum,$PRE.P2.firingSumOut.firingSum,P2.firingSumOut.firingSum,$whenCondition13,$whenCondition12,P1.tokeninout,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,P1.firingSumIn.firingSum,$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,$PRE.P2.enableOut.benefitMax,P2.enableOut.benefitMax,$PRE.P2.enableOut.valid,P2.enableOut.valid,$PRE.P2.enableOut.benefitLimit,P2.enableOut.benefitLimit,$whenCondition2,P2.activeConOut.anychange,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.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,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,T1.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].disTransition,P2.inTransition[1].disPlace,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,T1.inPlaces[1].disTransition,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,T1.firingCon,P2.enableIn.enablingPrio[1],P2.reStart,P1.enableOut.enablingPrio[1],P1.reStart,P2.enableIn.disTransition[1],$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$PRE.P1.t,P1.t,P1.activeOut[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout[1],$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,$PRE.P2.t,P2.t,P2.delayPassedIn.vec[1],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.firingSumIn.fire[1],P2.firingSumIn.arcWeight[1],P2.firingSumIn.firingSum,P2.enableIn.TAein[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],$PRE.P2.enableIn.TEin[1],P2.enableIn.TEin[1],$PRE.P2.enableIn.arcWeightSum,P2.enableIn.arcWeightSum,$PRE.T1.firingTimeIn,T1.firingTimeIn,$PRE.T1.firingTimeOut,T1.firingTimeOut,$PRE.T1.durationPassedIn,T1.durationPassedIn,$PRE.T1.durationPassedOut,T1.durationPassedOut,T1.prefire,T1.activationIn.tIntIn[1],T1.activationIn.arcWeightIntIn[1],T1.activationIn.minTokensInt[1],T1.activationIn.active,T1.activationOut.tIntOut[1],T1.activationOut.arcWeightIntOut[1],T1.activationOut.maxTokensInt[1],T1.activationOut.active,T1.activeIn,T1.activeOut,$PRE.T1.fire,T1.fire,T1.activationIn.arcType[1],T1.activationIn.disPlaceIn[1],P1.enableOut.disTransition[1],T1.activationIn.normalArc[1],T1.activationIn.testValueInt[1],T1.activationOut.disPlaceOut[1],P2.enableIn.arcWeight[1],P1.enableOut.arcWeight[1],P1.activeConOut.vec[1],P2.inTransition[1].emptied,P1.outTransition[1].fed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (254): * Single equations (assignments): 234 * Array equations: 0 * Algorithm blocks: 20 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002132/0.7403, allocations: 1.131 MB / 477.5 MB, free: 280 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004513/0.7408, allocations: 138.9 kB / 477.7 MB, free: 140 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006998/0.7478, allocations: 2.698 MB / 480.4 MB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.018e-05/0.7479, allocations: 11.98 kB / 480.4 MB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.7479, allocations: 4 kB / 480.4 MB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.7479, allocations: 0 / 480.4 MB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01119/0.7591, allocations: 4.447 MB / 484.8 MB, free: 8.773 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.335e-05/0.7592, allocations: 4 kB / 484.8 MB, free: 8.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003741/0.7595, allocations: 43.91 kB / 484.9 MB, free: 8.727 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-05/0.7596, allocations: 4 kB / 484.9 MB, free: 8.723 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000363/0.76, allocations: 87.84 kB / 485 MB, free: 8.637 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.006e-05/0.76, allocations: 4 kB / 485 MB, free: 8.633 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.565e-06/0.76, allocations: 3.938 kB / 485 MB, free: 8.629 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008386/0.7684, allocations: 3.41 MB / 488.4 MB, free: 5.086 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002302/0.7687, allocations: 163.9 kB / 488.5 MB, free: 4.906 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006846/0.7694, allocations: 147.9 kB / 488.7 MB, free: 4.762 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001456/0.7708, allocations: 123.9 kB / 488.8 MB, free: 4.641 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001237/0.7721, allocations: 408.1 kB / 489.2 MB, free: 4.242 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004105/0.7725, allocations: 99.94 kB / 489.3 MB, free: 4.145 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006652/0.7732, allocations: 349.5 kB / 489.6 MB, free: 3.801 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.7732, allocations: 0 / 489.6 MB, free: 3.801 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00296/0.7762, allocations: 0.6048 MB / 490.2 MB, free: 3.195 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 133 ($whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,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.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,$whenCondition2,P2.activeConOut.anychange,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,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.enableOut.benefitMax,P2.enableOut.valid,P2.enableOut.benefitLimit,P1.activeOut[1],T1.activeIn,T1.activeOut,$whenCondition13,$whenCondition12,$whenCondition14,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,P1.t,P1.tokeninout,P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,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.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.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,P1.outTransition[1].tokenInOut,P2.t,P2.tokeninout,P2.delayPassedIn.vec[1],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.firingSumIn.fire[1],P2.firingSumIn.arcWeight[1],P2.firingSumIn.firingSum,P2.firingSumOut.firingSum,P2.enableIn.TAein[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.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.enableIn.benefitMax,P2.enableIn.valid,P2.enableIn.benefitLimit,T1.firingTimeIn,T1.firingTimeOut,T1.fireTime,T1.durationPassedIn,T1.durationPassedOut,T1.ani,T1.prefire,T1.activationIn.tIntIn[1],T1.activationIn.arcWeightIntIn[1],T1.activationIn.minTokensInt[1],T1.activationIn.active,T1.activationOut.tIntOut[1],T1.activationOut.arcWeightIntOut[1],T1.activationOut.maxTokensInt[1],T1.activationOut.active,T1.fire) * Number of discrete states: 98 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P2.firingSumOut.firingSum,P2.firingSumIn.firingSum,T1.fire,P2.t,T1.activationOut.active,T1.durationPassedOut,P1.t,P1.tokeninout,T1.activationIn.active,T1.durationPassedIn,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P2.enableIn.TEin_[1],P2.enableIn.valid,P2.enableIn.benefitLimit,P2.enableIn.benefitMax,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,$whenCondition4,P2.enableIn.arcWeightSum,P2.enableIn.TEin[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,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,$whenCondition3,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],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,P2.enableOut.benefitMax,P2.enableOut.valid,P2.enableOut.benefitLimit,$whenCondition2,P2.enableOut.arcWeightSum,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.activeConOut.anychange,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,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 16 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01076/0.787, allocations: 4.59 MB / 494.8 MB, free: 14.47 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007667/0.7947, allocations: 3.623 MB / 498.5 MB, free: 10.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.7948, allocations: 3.938 kB / 498.5 MB, free: 10.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008273/0.8031, allocations: 5.621 MB / 0.4923 GB, free: 4.777 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/0.8044, allocations: 142.1 kB / 0.4924 GB, free: 4.645 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008761/0.8132, allocations: 2.632 MB / 0.495 GB, free: 1.965 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000985/0.8142, allocations: 1.13 MB / 0.4961 GB, free: 0.8086 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001125/0.8154, allocations: 260.8 kB / 0.4963 GB, free: 0.5508 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006955/0.8161, allocations: 347.3 kB / 0.4967 GB, free: 216 kB / 426.7 MB Notification: Performance of SimCode: time 1.062e-06/0.8161, allocations: 0 / 0.4967 GB, free: 216 kB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3673/1.183, allocations: 29.17 MB / 0.5251 GB, free: 130.9 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002187/1.184, allocations: 158.1 kB / 0.5253 GB, free: 130.7 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.498/4.682, allocations: 4 kB / 0.5253 GB, free: 130.7 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result PNlib_PNlib.Examples.DisTest.TFDtest_res.mat does not exist to compare? outputFormat=mat