Running command: "" <> buildModelFMU(PNlib.Examples.DisTest.TEtest,fileNamePrefix="PNlib_PNlib_Examples_DisTest_TEtest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PNlib): time 2.169/2.169, allocations: 222.8 MB / 235 MB, free: 9.258 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.358e-05/4.348e-05, allocations: 5.875 kB / 289.7 MB, free: 3.984 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1095, allocations: 51.68 MB / 341.4 MB, free: 200 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4383/0.5479, allocations: 80.65 MB / 422 MB, free: 9.641 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/0.5482, allocations: 67.91 kB / 422.1 MB, free: 9.574 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1622/0.7104, allocations: 27.55 MB / 449.6 MB, free: 13.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.7105, allocations: 0 / 449.6 MB, free: 13.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.229e-05/0.7105, allocations: 24 kB / 449.7 MB, free: 13.95 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: 482 * Number of variables: 482 Notification: Performance of Generate backend data structure: time 0.006248/0.7168, allocations: 2.386 MB / 452 MB, free: 11.36 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/0.7169, allocations: 8.031 kB / 452 MB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001351/0.7183, allocations: 318.1 kB / 452.4 MB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00144/0.7197, allocations: 265.9 kB / 452.6 MB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003396/0.7231, allocations: 1.005 MB / 453.6 MB, free: 9.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000398/0.7236, allocations: 273.8 kB / 453.9 MB, free: 9.438 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008804/0.7245, allocations: 235.9 kB / 454.1 MB, free: 9.207 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0115/0.736, allocations: 3.968 MB / 458.1 MB, free: 5.078 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.241e-05/0.7361, allocations: 7.938 kB / 458.1 MB, free: 5.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004997/0.7366, allocations: 115.9 kB / 458.2 MB, free: 4.957 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004383/0.737, allocations: 146.5 kB / 458.3 MB, free: 4.812 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007929/0.745, allocations: 2.785 MB / 461.1 MB, free: 2.023 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01823/0.7633, allocations: 8.272 MB / 469.4 MB, free: 9.543 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008589/0.7719, allocations: 4.603 MB / 474 MB, free: 4.93 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008099/0.7801, allocations: 4.423 MB / 478.4 MB, free: 0.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001899/0.7803, allocations: 97.86 kB / 478.5 MB, free: 396 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006603/0.7869, allocations: 2.615 MB / 481.1 MB, free: 13.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=188): time 4.177e-06/0.787, allocations: 0 / 481.1 MB, free: 13.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=188): time 0.01222/0.7992, allocations: 4.744 MB / 485.9 MB, free: 8.836 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00118/0.8004, allocations: 1.311 MB / 487.2 MB, free: 7.289 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001695/0.8021, allocations: 0.8147 MB / 488 MB, free: 6.465 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005056/0.8027, allocations: 121.7 kB / 488.1 MB, free: 6.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007306/0.8034, allocations: 0.6241 MB / 488.8 MB, free: 5.703 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008383/0.8043, allocations: 478.5 kB / 489.2 MB, free: 5.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002206/0.8045, allocations: 60 kB / 489.3 MB, free: 5.172 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003176/0.8048, allocations: 465 kB / 489.7 MB, free: 4.707 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002919/0.8078, allocations: 1.095 MB / 490.8 MB, free: 3.609 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003744/0.8115, allocations: 2.058 MB / 492.9 MB, free: 1.113 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003712/0.8153, allocations: 1.87 MB / 494.8 MB, free: 15.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.124e-05/0.8154, allocations: 11.95 kB / 494.8 MB, free: 15.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=384) (initialization): time 0.01024/0.8256, allocations: 4.319 MB / 499.1 MB, free: 10.63 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006073/0.8263, allocations: 0.7239 MB / 499.8 MB, free: 9.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-05/0.8263, allocations: 35.92 kB / 499.8 MB, free: 9.734 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.063e-05/0.8264, allocations: 52 kB / 499.9 MB, free: 9.684 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00192/0.8284, allocations: 331.2 kB / 0.4885 GB, free: 9.359 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-05/0.8285, allocations: 71.72 kB / 0.4886 GB, free: 9.289 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002287/0.8308, allocations: 298.1 kB / 0.4889 GB, free: 8.996 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000383/0.8312, allocations: 148 kB / 0.489 GB, free: 8.852 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 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 P2.enableOut.benefitMax:DISCRETE(fixed = false protected = true ) "theoretical benefit" type: Real P2.enableOut.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P2.enableOut.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P2.enableOut.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.enableOut.nTAout:DISCRETE(fixed = false protected = true ) "number of active output transitions" type: Integer P2.enableOut.nremTAout:DISCRETE(fixed = false protected = true ) "number of remaining active output transitions" type: Integer P2.enableOut.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 P2.firingSumIn.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer P2.firingSumOut.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer T2.ani:DISCRETE(fixed = false protected = true ) "for transition animation" type: Boolean T2.fireTime:DISCRETE(fixed = false protected = true ) "for transition animation" type: Real T1.ani:DISCRETE(fixed = false protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = false protected = true ) "for transition animation" type: Real P1.firingSumIn.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer P1.firingSumOut.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer T2.firingTime:DISCRETE(fixed = false protected = true ) "next putative firing time" type: Real T1.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: 135 * Number of states: 0 () * Number of discrete variables: 306 ($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.P2.enableOut.valid,P2.enableOut.valid,$PRE.P2.enableOut.benefitLimit,P2.enableOut.benefitLimit,$PRE.P2.enableOut.benefitMax,P2.enableOut.benefitMax,$PRE.P2.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,$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.cumEnablingProb[1],P2.enableOut.cumEnablingProb[1],$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,$PRE.P2.enableOut.remTAout[1],P2.enableOut.remTAout[1],$PRE.P2.enableOut.Index,P2.enableOut.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,$whenCondition16,$PRE.P1.reStart,$whenCondition9,$PRE.P2.reStart,$whenCondition8,$whenCondition7,P2.tokeninout,$PRE.P2.firingSumIn.firingSum,$PRE.P2.firingSumOut.firingSum,$PRE.P2.tokeninout,P2.outTransition[1].tokenInOut,$PRE.T2.fireTime,T2.fireTime,$PRE.T2.ani,T2.ani,$whenCondition4,$PRE.T2.eventIndex,T2.eventIndex,$PRE.T1.fireTime,T1.fireTime,$PRE.T1.ani,T1.ani,$whenCondition3,$PRE.T1.eventIndex,T1.eventIndex,$whenCondition15,$whenCondition14,P1.tokeninout,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,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,P2.outTransition[1].testValueint,P2.outTransition[1].normalArc,T2.inPlaces[1].disTransition,P2.outTransition[1].disPlace,P2.outTransition[1].arcType,T1.outPlaces[1].disTransition,P2.inTransition[1].disPlace,P2.enableIn.enablingPrio[1],P2.enableOut.enablingPrio[1],P2.reStart,T2.firingCon,T1.firingCon,P1.enableIn.enablingPrio[1],P1.enableOut.enablingPrio[1],P1.reStart,P1.enableIn.disTransition[1],P2.enableIn.disTransition[1],$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition1,$whenCondition2,$whenCondition5,$whenCondition6,$PRE.P1.t,P1.t,P1.activeOut[1],P1.enabledByInPlaces[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.T1.firingTime,T1.firingTime,$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,T1.active,$PRE.T2.firingTime,T2.firingTime,$PRE.T2.eventPassed,T2.eventPassed,T2.activation.tIntIn[1],T2.activation.tIntOut[1],T2.activation.arcWeightIntIn[1],T2.activation.arcWeightIntOut[1],T2.activation.minTokensInt[1],T2.activation.maxTokensInt[1],T2.activation.active,T2.active,$PRE.P2.t,P2.t,P2.activeOut[1],P2.enabledByInPlaces[1],P2.activeConOut.anychange,P2.delayPassedOut.vec[1],P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.delayPassedIn.vec[1],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.firingSumIn.fire[1],P2.firingSumIn.arcWeight[1],P2.firingSumIn.firingSum,P2.firingSumOut.fire[1],P2.firingSumOut.arcWeight[1],P2.firingSumOut.firingSum,P2.enableOut.TAout[1],P2.enableOut.TEout_[1],$PRE.P2.enableOut.TEout[1],P2.enableOut.TEout[1],$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,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,T1.activation.disPlaceOut[1],T2.activation.arcType[1],T2.activation.disPlaceIn[1],P2.enableOut.disTransition[1],T2.activation.normalArc[1],T2.activation.testValueInt[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.activeConOut.vec[1],P1.enableIn.arcWeight[1],P2.enableOut.arcWeight[1],P2.enableIn.arcWeight[1],P1.enableOut.arcWeight[1],P1.activeConOut.vec[1],P1.inTransition[1].emptied,P1.outTransition[1].fed,P2.outTransition[1].fed,P2.inTransition[1].emptied) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (346): * Single equations (assignments): 322 * Array equations: 2 * Algorithm blocks: 22 * 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.002788/0.834, allocations: 1.421 MB / 0.4904 GB, free: 7.305 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006465/0.8347, allocations: 198.4 kB / 0.4906 GB, free: 7.109 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01377/0.8484, allocations: 5.189 MB / 0.4956 GB, free: 1.793 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.276e-05/0.8486, allocations: 12 kB / 0.4956 GB, free: 1.781 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.8486, allocations: 0 / 0.4956 GB, free: 1.781 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.978e-05/0.8486, allocations: 7.922 kB / 0.4957 GB, free: 1.773 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02061/0.8692, allocations: 7.879 MB / 0.5034 GB, free: 9.723 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/0.8693, allocations: 0 / 0.5034 GB, free: 9.723 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005602/0.8699, allocations: 75.84 kB / 0.5034 GB, free: 9.648 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-05/0.8699, allocations: 0 / 0.5034 GB, free: 9.648 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004557/0.8704, allocations: 115.9 kB / 0.5035 GB, free: 9.535 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.065e-05/0.8704, allocations: 4 kB / 0.5035 GB, free: 9.531 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.8704, allocations: 0 / 0.5035 GB, free: 9.531 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01346/0.8839, allocations: 5.395 MB / 0.5088 GB, free: 4.008 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003008/0.8842, allocations: 191.4 kB / 0.509 GB, free: 3.801 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009217/0.8852, allocations: 179.9 kB / 0.5092 GB, free: 3.625 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002284/0.8875, allocations: 207.8 kB / 0.5094 GB, free: 3.422 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002087/0.8896, allocations: 0.75 MB / 0.5101 GB, free: 2.672 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005459/0.8901, allocations: 147.9 kB / 0.5102 GB, free: 2.527 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009576/0.8911, allocations: 499.1 kB / 0.5107 GB, free: 2.039 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.8911, allocations: 4 kB / 0.5107 GB, free: 2.035 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004155/0.8953, allocations: 0.7999 MB / 0.5115 GB, free: 1.234 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 164 (P2.activeOut[1],T2.active,P1.activeOut[1],T1.active,$whenCondition15,$whenCondition14,$whenCondition16,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,P1.t,P1.tokeninout,P1.enabledByInPlaces[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],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,P1.outTransition[1].tokenInOut,T1.firingTime,T1.fireTime,T1.eventPassed,T1.ani,T1.eventIndex,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,T2.firingTime,T2.fireTime,T2.eventPassed,T2.ani,T2.eventIndex,T2.activation.tIntIn[1],T2.activation.tIntOut[1],T2.activation.arcWeightIntIn[1],T2.activation.arcWeightIntOut[1],T2.activation.minTokensInt[1],T2.activation.maxTokensInt[1],T2.activation.active,P2.t,P2.tokeninout,P2.enabledByInPlaces[1],P2.activeConOut.anychange,P2.delayPassedOut.vec[1],P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.delayPassedIn.vec[1],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.firingSumIn.fire[1],P2.firingSumIn.arcWeight[1],P2.firingSumIn.firingSum,P2.firingSumOut.fire[1],P2.firingSumOut.arcWeight[1],P2.firingSumOut.firingSum,P2.enableOut.TAout[1],P2.enableOut.TEout_[1],P2.enableOut.state128[1],P2.enableOut.state128[2],P2.enableOut.state128[3],P2.enableOut.state128[4],P2.enableOut.TEout[1],P2.enableOut.remTAout[1],P2.enableOut.cumEnablingProb[1],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,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,P2.outTransition[1].tokenInOut) * Number of discrete states: 110 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P2.firingSumOut.firingSum,P2.firingSumIn.firingSum,P2.t,P2.tokeninout,P2.activeConOut.anychange,T2.eventIndex,$whenCondition4,T1.eventIndex,$whenCondition3,P1.t,P1.tokeninout,T1.activation.active,T1.eventPassed,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,T2.activation.active,T2.eventPassed,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.enableOut.TEout_[1],P2.enableOut.valid,P2.enableOut.benefitLimit,P2.enableOut.benefitMax,P2.enableOut.posTE,P2.enableOut.k,P2.enableOut.endWhile,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.randNum,P2.enableOut.cumEnablingProb[1],P2.enableOut.sumEnablingProbTAout,P2.enableOut.nTAout,P2.enableOut.nremTAout,P2.enableOut.remTAout[1],P2.enableOut.Index,$whenCondition5,P2.enableOut.arcWeightSum,P2.enableOut.TEout[1],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,$whenCondition2,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,$whenCondition1,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,$whenCondition6,P2.enableIn.arcWeightSum,P2.enableIn.TEin[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 68 * Array equations: 2 * Algorithm blocks: 18 * Record equations: 0 * When equations: 8 * 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.2998/1.195, allocations: 6.508 MB / 0.5178 GB, free: 128 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0118/1.207, allocations: 5.407 MB / 0.5231 GB, free: 126.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.397e-06/1.207, allocations: 1.156 kB / 0.5231 GB, free: 126.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01223/1.219, allocations: 8.953 MB / 0.5319 GB, free: 121.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/1.221, allocations: 182.1 kB / 0.532 GB, free: 121.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01503/1.236, allocations: 4.307 MB / 0.5363 GB, free: 120.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00136/1.238, allocations: 1.428 MB / 0.5376 GB, free: 119.6 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001945/1.24, allocations: 440.2 kB / 0.5381 GB, free: 119.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008527/1.241, allocations: 0.5142 MB / 0.5386 GB, free: 119.2 MB / 442.7 MB Notification: Performance of SimCode: time 1.233e-06/1.241, allocations: 0 / 0.5386 GB, free: 119.2 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1153/1.356, allocations: 43.74 MB / 0.5813 GB, free: 94.8 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/1.356, allocations: 165.7 kB / 0.5814 GB, free: 94.57 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.136/5.492, allocations: 0 / 0.5814 GB, free: 94.57 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result PNlib_PNlib.Examples.DisTest.TEtest_res.mat does not exist to compare? outputFormat=mat