Running command: "" <> buildModelFMU(PNlib.Examples.ExtTest.TESTest,fileNamePrefix="PNlib_PNlib_Examples_ExtTest_TESTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PNlib): time 2.038/2.038, allocations: 222.9 MB / 235 MB, free: 9.172 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.503e-05/3.51e-05, allocations: 4 kB / 289.7 MB, free: 3.973 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1245, allocations: 51.69 MB / 341.4 MB, free: 188 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4232/0.5478, allocations: 83.61 MB / 425 MB, free: 6.672 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.5481, allocations: 67.97 kB / 425 MB, free: 6.605 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1375/0.6856, allocations: 29.82 MB / 454.9 MB, free: 8.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.6857, allocations: 0 / 454.9 MB, free: 8.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.804e-05/0.6858, allocations: 24 kB / 454.9 MB, free: 8.707 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: 403 * Number of variables: 403 Notification: Performance of Generate backend data structure: time 0.006416/0.6922, allocations: 2.339 MB / 457.2 MB, free: 6.164 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.6923, allocations: 12.03 kB / 457.2 MB, free: 6.152 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001206/0.6935, allocations: 272.1 kB / 457.5 MB, free: 5.875 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001526/0.695, allocations: 258 kB / 457.7 MB, free: 5.621 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003352/0.6984, allocations: 0.8876 MB / 458.6 MB, free: 4.691 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004178/0.6989, allocations: 215.5 kB / 458.8 MB, free: 4.461 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008713/0.6998, allocations: 192 kB / 459 MB, free: 4.273 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008912/0.7087, allocations: 3.151 MB / 462.2 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.478e-05/0.7088, allocations: 7.938 kB / 462.2 MB, free: 0.9414 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004215/0.7092, allocations: 87.97 kB / 462.3 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004019/0.7097, allocations: 114 kB / 462.4 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006361/0.716, allocations: 2.117 MB / 464.5 MB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01594/0.732, allocations: 7.136 MB / 471.6 MB, free: 7.277 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006904/0.739, allocations: 3.558 MB / 475.2 MB, free: 3.695 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006409/0.7454, allocations: 3.395 MB / 478.6 MB, free: 300 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001854/0.7457, allocations: 93.66 kB / 478.7 MB, free: 188 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006016/0.7517, allocations: 2.111 MB / 480.8 MB, free: 14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=176): time 5.219e-06/0.7518, allocations: 0 / 480.8 MB, free: 14 MB / 410.7 MB Notification: Performance of matching and sorting (n=176): time 0.01097/0.7627, allocations: 3.848 MB / 484.6 MB, free: 10.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001214/0.764, allocations: 1.256 MB / 485.9 MB, free: 8.547 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/0.7656, allocations: 0.7405 MB / 486.6 MB, free: 7.797 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004711/0.7661, allocations: 117.7 kB / 486.8 MB, free: 7.676 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006332/0.7668, allocations: 0.535 MB / 487.3 MB, free: 7.129 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007256/0.7675, allocations: 438.9 kB / 487.7 MB, free: 6.695 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/0.7677, allocations: 52 kB / 487.8 MB, free: 6.645 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003028/0.768, allocations: 448.4 kB / 488.2 MB, free: 6.199 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0024/0.7705, allocations: 0.8793 MB / 489.1 MB, free: 5.316 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003298/0.7738, allocations: 1.705 MB / 490.8 MB, free: 3.227 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003393/0.7772, allocations: 1.733 MB / 492.5 MB, free: 1.344 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-05/0.7773, allocations: 8 kB / 492.5 MB, free: 1.336 MB / 410.7 MB Notification: Performance of matching and sorting (n=347) (initialization): time 0.009273/0.7866, allocations: 3.769 MB / 496.3 MB, free: 13.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006551/0.7873, allocations: 0.7507 MB / 497.1 MB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.687e-05/0.7874, allocations: 32.86 kB / 497.1 MB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.665e-05/0.7875, allocations: 40 kB / 497.1 MB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00169/0.7892, allocations: 299.3 kB / 497.4 MB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.197e-05/0.7893, allocations: 51.8 kB / 497.5 MB, free: 12.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002078/0.7914, allocations: 246.2 kB / 497.7 MB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004471/0.7919, allocations: 139.9 kB / 497.8 MB, free: 11.72 MB / 426.7 MB Warning: Assuming fixed start value for the following 50 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.enableIn.valid:DISCRETE(fixed = false protected = true ) "valid solution" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = false protected = true ) "best valid benefit" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real P1.enableIn.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.nTAin:DISCRETE(fixed = false protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = false protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P1.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 T2.ani:DISCRETE(fixed = false protected = true ) "for transition animation" type: Boolean T2.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 T1.TimeOver:DISCRETE(fixed = false ) type: Boolean T2.firingTime: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: 116 * Number of states: 0 () * Number of discrete variables: 288 ($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.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.state128[1],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[4],$PRE.P1.enableIn.randNum,P1.enableIn.randNum,$PRE.P1.enableIn.cumEnablingProb[1],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,$PRE.P1.enableIn.remTAin[1],P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.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,$whenCondition15,$PRE.P1.reStart,$whenCondition12,$PRE.P2.reStart,$PRE.T1.fireTime,T1.fireTime,$PRE.T1.ani,T1.ani,$PRE.T2.fireTime,T2.fireTime,$PRE.T2.ani,T2.ani,$whenCondition5,$PRE.T2.eventIndex,T2.eventIndex,$whenCondition11,$whenCondition10,P2.tokeninout,$PRE.P2.firingSumIn.firingSum,$PRE.P2.firingSumOut.firingSum,P2.firingSumOut.firingSum,$whenCondition14,$whenCondition13,P1.tokeninout,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,$PRE.P1.tokeninout,T1.tokenChange.vec[1],T1.tokenChange.anytrue,T1.tokenChange.numtrue,$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,$whenCondition1,P2.activeConOut.anychange,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,T2.enabledByInPlaces,T2.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,T1.inPlaces[1].disTransition,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,T1.outPlaces[1].disTransition,P2.inTransition[1].disPlace,T1.firingCon,T2.firingCon,P2.enableIn.enablingPrio[1],P2.reStart,P1.enableIn.enablingPrio[1],P1.enableOut.enablingPrio[1],P1.reStart,P1.enableIn.disTransition[1],P2.enableIn.disTransition[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition6,$PRE.P1.t,P1.t,P1.activeOut[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,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,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin[1],$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,$PRE.P2.t,P2.t,P2.enabledByInPlaces[1],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.T2.firingTime,T2.firingTime,$PRE.T2.eventPassed,T2.eventPassed,T2.activation.tIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.maxTokensInt[1],T2.activation.active,T2.active,$PRE.T1.putFireTime,T1.putFireTime,$PRE.T1.putEvent,T1.putEvent,$PRE.T1.state128[1],T1.state128[1],$PRE.T1.state128[2],T1.state128[2],$PRE.T1.state128[3],T1.state128[3],$PRE.T1.state128[4],T1.state128[4],$PRE.T1.r128,T1.r128,$PRE.T1.eventPassed,T1.eventPassed,T1.activation.tIntIn[1],T1.activation.tIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.minTokensInt[1],T1.activation.maxTokensInt[1],T1.activation.active,$PRE.T1.TimeOver,T1.TimeOver,T1.active,T1.activation.disPlaceOut[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T2.activation.disPlaceOut[1],P2.enableIn.arcWeight[1],P1.enableOut.arcWeight[1],P1.enableIn.arcWeight[1],P1.activeConOut.vec[1],P1.inTransition[1].emptied,P1.outTransition[1].fed,P2.inTransition[1].emptied) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (307): * Single equations (assignments): 282 * Array equations: 1 * Algorithm blocks: 24 * 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.003391/0.7953, allocations: 1.35 MB / 499.2 MB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008268/0.7961, allocations: 170.6 kB / 499.4 MB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01601/0.8122, allocations: 4.032 MB / 0.4916 GB, free: 5.922 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.834e-05/0.8123, allocations: 19.95 kB / 0.4916 GB, free: 5.902 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/0.8123, allocations: 0 / 0.4916 GB, free: 5.902 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.343e-05/0.8124, allocations: 3.984 kB / 0.4916 GB, free: 5.898 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0243/0.8367, allocations: 6.243 MB / 0.4977 GB, free: 15.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-05/0.8368, allocations: 7.953 kB / 0.4977 GB, free: 15.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006672/0.8374, allocations: 59.84 kB / 0.4978 GB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.929e-05/0.8375, allocations: 8 kB / 0.4978 GB, free: 15.42 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008122/0.8383, allocations: 107.9 kB / 0.4979 GB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.387e-06/0.8383, allocations: 0 / 0.4979 GB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.8384, allocations: 4 kB / 0.4979 GB, free: 15.31 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0168/0.8552, allocations: 4.516 MB / 0.5023 GB, free: 10.66 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004297/0.8557, allocations: 187.4 kB / 0.5025 GB, free: 10.45 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001613/0.8573, allocations: 183.9 kB / 0.5027 GB, free: 10.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002987/0.8603, allocations: 159.9 kB / 0.5028 GB, free: 10.12 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002029/0.8624, allocations: 476.3 kB / 0.5033 GB, free: 9.652 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008372/0.8633, allocations: 131.9 kB / 0.5034 GB, free: 9.523 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001258/0.8645, allocations: 459.1 kB / 0.5038 GB, free: 9.074 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.8645, allocations: 0 / 0.5038 GB, free: 9.074 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004764/0.8693, allocations: 0.7259 MB / 0.5045 GB, free: 8.348 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 157 ($whenCondition1,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,T2.active,P1.activeOut[1],$whenCondition14,$whenCondition13,$whenCondition15,$whenCondition11,$whenCondition10,$whenCondition12,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,P1.t,P1.tokeninout,P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],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.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,P2.t,P2.tokeninout,P2.enabledByInPlaces[1],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,T2.firingTime,T2.fireTime,T2.eventPassed,T2.ani,T2.eventIndex,T2.activation.tIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.maxTokensInt[1],T2.activation.active,T1.putFireTime,T1.putEvent,T1.state128[1],T1.state128[2],T1.state128[3],T1.state128[4],T1.r128,T1.fireTime,T1.eventPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.tIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.minTokensInt[1],T1.activation.maxTokensInt[1],T1.activation.active,T1.tokenChange.vec[1],T1.tokenChange.anytrue,T1.tokenChange.numtrue,T1.TimeOver,T1.active) * Number of discrete states: 114 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P2.firingSumOut.firingSum,P2.firingSumIn.firingSum,T1.putFireTime,T1.putEvent,T1.state128[4],T1.state128[3],T1.state128[2],T1.state128[1],T1.r128,$whenCondition6,T1.TimeOver,T2.eventIndex,$whenCondition5,P2.t,P1.t,P1.tokeninout,T1.tokenChange.numtrue,T1.tokenChange.anytrue,T1.activation.active,T1.eventPassed,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,T2.activation.active,T2.eventPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,$whenCondition3,P1.enableIn.arcWeightSum,P1.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,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],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],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,$whenCondition1,P2.enableOut.arcWeightSum,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.activeConOut.anychange) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 55 * Array equations: 1 * Algorithm blocks: 19 * 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.01592/0.8853, allocations: 5.724 MB / 0.5101 GB, free: 2.484 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.2826/1.168, allocations: 4.678 MB / 0.5147 GB, free: 125.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/1.168, allocations: 0.8438 kB / 0.5147 GB, free: 125.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01014/1.178, allocations: 7.377 MB / 0.5219 GB, free: 124.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/1.18, allocations: 174.2 kB / 0.5221 GB, free: 124.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/1.192, allocations: 3.59 MB / 0.5256 GB, free: 122.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001228/1.193, allocations: 1.31 MB / 0.5269 GB, free: 122.2 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00166/1.195, allocations: 346.9 kB / 0.5272 GB, free: 122.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008663/1.196, allocations: 469.3 kB / 0.5276 GB, free: 121.8 MB / 442.7 MB Notification: Performance of SimCode: time 1.433e-06/1.196, allocations: 0 / 0.5276 GB, free: 121.8 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1034/1.299, allocations: 37.62 MB / 0.5644 GB, free: 111.3 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002156/1.299, allocations: 159.7 kB / 0.5645 GB, free: 111.1 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.841/5.141, allocations: 0 / 0.5645 GB, free: 111.1 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result PNlib_PNlib.Examples.ExtTest.TESTest_res.mat does not exist to compare? outputFormat=mat