Running command: "" <> buildModelFMU(PNlib.Examples.ExtTest.IAwithPCtoTC,fileNamePrefix="PNlib_PNlib_Examples_ExtTest_IAwithPCtoTC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PNlib): time 2.041/2.041, allocations: 222.8 MB / 235 MB, free: 9.258 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.711e-05/3.715e-05, allocations: 4 kB / 289.7 MB, free: 3.969 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1079, allocations: 51.69 MB / 341.4 MB, free: 192 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4169/0.5249, allocations: 80.41 MB / 421.8 MB, free: 9.871 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/0.5252, allocations: 63.97 kB / 421.8 MB, free: 9.809 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1454/0.6707, allocations: 33.55 MB / 455.4 MB, free: 8.195 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6708, allocations: 0 / 455.4 MB, free: 8.195 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000106/0.6709, allocations: 35.94 kB / 455.4 MB, free: 8.16 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: 644 * Number of variables: 644 Notification: Performance of Generate backend data structure: time 0.007718/0.6786, allocations: 2.954 MB / 458.4 MB, free: 4.957 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.6787, allocations: 8.031 kB / 458.4 MB, free: 4.949 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00177/0.6805, allocations: 410.3 kB / 458.8 MB, free: 4.539 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005148/0.6856, allocations: 0.5712 MB / 459.4 MB, free: 3.965 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004157/0.6899, allocations: 1.076 MB / 460.4 MB, free: 2.844 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001012/0.6909, allocations: 0.5935 MB / 461 MB, free: 2.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001534/0.6925, allocations: 275.9 kB / 461.3 MB, free: 1.891 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01324/0.7058, allocations: 4.249 MB / 465.6 MB, free: 13.44 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.731e-05/0.7059, allocations: 7.938 kB / 465.6 MB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006545/0.7066, allocations: 139.9 kB / 465.7 MB, free: 13.29 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004517/0.707, allocations: 159.7 kB / 465.9 MB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009612/0.7166, allocations: 2.983 MB / 468.8 MB, free: 10.15 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02323/0.7399, allocations: 9.171 MB / 478 MB, free: 0.7383 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007783/0.7478, allocations: 3.974 MB / 482 MB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007003/0.7548, allocations: 3.477 MB / 485.5 MB, free: 9.172 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003398/0.7552, allocations: 117.9 kB / 485.6 MB, free: 9.039 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007044/0.7623, allocations: 2.27 MB / 487.8 MB, free: 6.707 MB / 410.7 MB Notification: Performance of pre-optimization done (n=222): time 7.073e-06/0.7624, allocations: 3.938 kB / 487.8 MB, free: 6.703 MB / 410.7 MB Notification: Performance of matching and sorting (n=222): time 0.01409/0.7765, allocations: 4.421 MB / 492.3 MB, free: 2.109 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001602/0.7781, allocations: 1.484 MB / 493.8 MB, free: 364 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002151/0.7803, allocations: 0.9128 MB / 494.7 MB, free: 15.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007884/0.7812, allocations: 145.7 kB / 494.8 MB, free: 15.29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001109/0.7823, allocations: 0.7646 MB / 495.6 MB, free: 14.51 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001327/0.7836, allocations: 0.5715 MB / 496.1 MB, free: 13.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003854/0.784, allocations: 68 kB / 496.2 MB, free: 13.86 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004717/0.7845, allocations: 489.9 kB / 496.7 MB, free: 13.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004008/0.7886, allocations: 1.306 MB / 498 MB, free: 12.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005129/0.7937, allocations: 2.356 MB / 0.4886 GB, free: 9.238 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004948/0.7987, allocations: 2.376 MB / 0.4909 GB, free: 6.656 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-05/0.7989, allocations: 8 kB / 0.4909 GB, free: 6.648 MB / 426.7 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.01319/0.8121, allocations: 4.993 MB / 0.4958 GB, free: 1.453 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001152/0.8133, allocations: 1.053 MB / 0.4969 GB, free: 208 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006471/0.8198, allocations: 2.477 MB / 0.4993 GB, free: 13.64 MB / 442.7 MB Warning: The Tearing heuristic has chosen variables with annotation attribute 'tearingSelect = avoid'. Use -d=tearingdump and -d=tearingdumpV for more information. Notification: Performance of postOpt tearingSystem (initialization): time 0.00194/0.8218, allocations: 364.6 kB / 0.4996 GB, free: 13.28 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002392/0.8242, allocations: 391.4 kB / 0.5 GB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003204/0.8274, allocations: 1.768 MB / 0.5017 GB, free: 10.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003393/0.8309, allocations: 373.6 kB / 0.5021 GB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009447/0.8318, allocations: 188 kB / 0.5023 GB, free: 10.44 MB / 442.7 MB Warning: Assuming fixed start value for the following 54 variables: P3.enableIn.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P3.enableIn.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P3.enableIn.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P3.enableIn.sumEnablingProbTAin:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P3.enableIn.nTAin:DISCRETE(fixed = false protected = true ) "number ofactive input transitions" type: Integer P3.enableIn.nremTAin:DISCRETE(fixed = false protected = true ) "number of remaining active input transitions" type: Integer P3.enableIn.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P3.enableIn.arcWeightSum:DISCRETE(fixed = false protected = true ) "arc weight sum" 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.enableIn.arcWeightSum:DISCRETE(fixed = false protected = true ) "arc weight sum" type: Real P1.enableOut.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.nTAout:DISCRETE(fixed = false protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = false protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.Index:DISCRETE(fixed = false protected = true ) type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = false protected = true ) "arc weight sum" type: Real P3.disMarksOut.anytrue:DISCRETE(fixed = false protected = true ) type: Boolean P3.disMarksIn.anytrue:DISCRETE(fixed = false protected = true ) type: Boolean P2.disMarksOut.anytrue:DISCRETE(fixed = false protected = true ) type: Boolean P2.disMarksIn.anytrue:DISCRETE(fixed = false protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = false protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = false protected = true ) type: Boolean P3.enableOut.arcWeightSum:DISCRETE(fixed = false protected = true ) "arc weight sum" type: Real P3.enableOut.nremTAout:DISCRETE(fixed = false protected = true ) "number of remaining active output transitions" type: Integer P3.enableOut.nTAout:DISCRETE(fixed = false protected = true ) "number of active output transitions" type: Integer P3.enableOut.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P3.enableOut.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P3.enableOut.sumEnablingProbTAout:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P3.enableOut.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P3.enableOut.Index:DISCRETE(fixed = false protected = true ) type: Integer P2.enableOut.arcWeightSum:DISCRETE(fixed = false protected = true ) "arc weight sum" type: Real P2.enableOut.nremTAout:DISCRETE(fixed = false protected = true ) "number of remaining active output transitions" type: Integer P2.enableOut.nTAout:DISCRETE(fixed = false protected = true ) "number of active output transitions" type: Integer P2.enableOut.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P2.enableOut.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.enableOut.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P2.enableOut.Index:DISCRETE(fixed = false protected = true ) type: Integer P1.enableIn.arcWeightSum:DISCRETE(fixed = false protected = true ) "arc weight sum" type: Real P1.enableIn.nremTAin:DISCRETE(fixed = false protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = false protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P1.enableIn.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P1.enableIn.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 148 * Number of states: 0 () * Number of discrete variables: 347 ($PRE.P3.enableIn.posTE,P3.enableIn.posTE,$PRE.P3.enableIn.k,P3.enableIn.k,$PRE.P3.enableIn.endWhile,P3.enableIn.endWhile,$PRE.P3.enableIn.state128[1],P3.enableIn.state128[1],$PRE.P3.enableIn.state128[2],P3.enableIn.state128[2],$PRE.P3.enableIn.state128[3],P3.enableIn.state128[3],$PRE.P3.enableIn.state128[4],P3.enableIn.state128[4],$PRE.P3.enableIn.randNum,P3.enableIn.randNum,$PRE.P3.enableIn.cumEnablingProb[1],P3.enableIn.cumEnablingProb[1],$PRE.P3.enableIn.sumEnablingProbTAin,P3.enableIn.sumEnablingProbTAin,$PRE.P3.enableIn.nTAin,P3.enableIn.nTAin,$PRE.P3.enableIn.nremTAin,P3.enableIn.nremTAin,$PRE.P3.enableIn.remTAin[1],P3.enableIn.remTAin[1],$PRE.P3.enableIn.Index,P3.enableIn.Index,$PRE.P3.enableIn.arcWeightSum,P3.enableIn.arcWeightSum,$PRE.P3.enableIn.disTAin[1],P3.enableIn.disTAin[1],$PRE.P2.enableIn.posTE,P2.enableIn.posTE,$PRE.P2.enableIn.k,P2.enableIn.k,$PRE.P2.enableIn.endWhile,P2.enableIn.endWhile,$PRE.P2.enableIn.state128[1],P2.enableIn.state128[1],$PRE.P2.enableIn.state128[2],P2.enableIn.state128[2],$PRE.P2.enableIn.state128[3],P2.enableIn.state128[3],$PRE.P2.enableIn.state128[4],P2.enableIn.state128[4],$PRE.P2.enableIn.randNum,P2.enableIn.randNum,$PRE.P2.enableIn.cumEnablingProb[1],P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.sumEnablingProbTAin,P2.enableIn.sumEnablingProbTAin,$PRE.P2.enableIn.nTAin,P2.enableIn.nTAin,$PRE.P2.enableIn.nremTAin,P2.enableIn.nremTAin,$PRE.P2.enableIn.remTAin[1],P2.enableIn.remTAin[1],$PRE.P2.enableIn.Index,P2.enableIn.Index,$PRE.P2.enableIn.arcWeightSum,P2.enableIn.arcWeightSum,$PRE.P2.enableIn.disTAin[1],P2.enableIn.disTAin[1],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.state128[1],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[4],$PRE.P1.enableOut.randNum,P1.enableOut.randNum,$PRE.P1.enableOut.cumEnablingProb[2],P1.enableOut.cumEnablingProb[2],$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[2],P1.enableOut.remTAout[2],$PRE.P1.enableOut.remTAout[1],P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.disTAout[2],P1.enableOut.disTAout[2],$PRE.P1.enableOut.disTAout[1],P1.enableOut.disTAout[1],$whenCondition9,P3.disMarksInOut,$PRE.P3.disMarksOut.anytrue,$PRE.P3.disMarksIn.anytrue,P3.disMarksOut.anytrue,P3.disMarksOut.numtrue,$whenCondition8,P2.disMarksInOut,$PRE.P2.disMarksOut.anytrue,$PRE.P2.disMarksIn.anytrue,P2.disMarksOut.anytrue,P2.disMarksOut.numtrue,$whenCondition7,P1.disMarksInOut,$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksInOut,P1.outTransition[1].tokenInOut,T2.inPlaces[1].tokenInOut,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,$PRE.P3.enableOut.arcWeightSum,P3.enableOut.arcWeightSum,$PRE.P3.enableOut.nremTAout,P3.enableOut.nremTAout,$PRE.P3.enableOut.nTAout,P3.enableOut.nTAout,$PRE.P3.enableOut.k,P3.enableOut.k,$PRE.P3.enableOut.posTE,P3.enableOut.posTE,$PRE.P3.enableOut.state128[1],P3.enableOut.state128[1],$PRE.P3.enableOut.state128[2],P3.enableOut.state128[2],$PRE.P3.enableOut.state128[3],P3.enableOut.state128[3],$PRE.P3.enableOut.state128[4],P3.enableOut.state128[4],$PRE.P3.enableOut.randNum,P3.enableOut.randNum,$PRE.P3.enableOut.sumEnablingProbTAout,P3.enableOut.sumEnablingProbTAout,$PRE.P3.enableOut.endWhile,P3.enableOut.endWhile,$PRE.P3.enableOut.Index,P3.enableOut.Index,$whenCondition3,P3.delayPassedOut.anytrue,P3.delayPassedOut.numtrue,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.state128[1],P2.enableOut.state128[1],$PRE.P2.enableOut.state128[2],P2.enableOut.state128[2],$PRE.P2.enableOut.state128[3],P2.enableOut.state128[3],$PRE.P2.enableOut.state128[4],P2.enableOut.state128[4],$PRE.P2.enableOut.randNum,P2.enableOut.randNum,$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,$PRE.P2.enableOut.Index,P2.enableOut.Index,$whenCondition2,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.state128[1],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[4],$PRE.P1.enableIn.randNum,P1.enableIn.randNum,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.Index,P1.enableIn.Index,$whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P3.inTransition[1].tint,P3.inTransition[1].maxTokensint,T2.outPlaces[1].enabledByInPlaces,T2.outPlaces[1].disTransition,P3.inTransition[1].disPlace,P1.outTransition[2].tint,P1.outTransition[2].minTokensint,T2.inPlaces[1].disTransition,P1.outTransition[2].disPlace,P2.inTransition[1].tint,P2.inTransition[1].maxTokensint,T1.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].disTransition,P2.inTransition[1].disPlace,P1.outTransition[1].tint,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,P1.outTransition[1].minTokensint,T1.inPlaces[1].disTransition,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,T2.firingCon,T1.firingCon,P3.enableIn.enablingPrio[1],P3.reStart,P2.enableIn.enablingPrio[1],P2.reStart,P1.enableOut.enablingPrio[2],P1.enableOut.enablingPrio[1],P1.reStart,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksOut.vec[2],P1.disMarksOut.vec[1],P2.disMarksIn.anytrue,P2.disMarksIn.numtrue,P2.disMarksIn.vec[1],P3.disMarksIn.anytrue,P3.disMarksIn.numtrue,P3.disMarksIn.vec[1],$whenCondition4,$whenCondition5,$whenCondition6,TA1.testColor[1],TA1.testColor[2],TA1.testColor[3],$PRE.P1.fireOut[1],P1.fireOut[1],$PRE.P1.fireOut[2],P1.fireOut[2],P1.enableOut.TAout[1],P1.enableOut.TAout[2],P1.enableOut.TEout_[1],P1.enableOut.TEout_[2],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout[1],$PRE.P1.enableOut.TEout[2],P1.enableOut.TEout[2],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.vec[2],P1.emptying.anytrue,P1.emptying.numtrue,$PRE.P2.fireIn[1],P2.fireIn[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],$PRE.P2.enableIn.TEin[1],P2.enableIn.TEin[1],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.feeding.vec[1],P2.feeding.anytrue,P2.feeding.numtrue,P2.emptying.anytrue,P2.emptying.numtrue,$PRE.P3.fireIn[1],P3.fireIn[1],P3.enableIn.active[1],P3.enableIn.TEin_[1],$PRE.P3.enableIn.TEin[1],P3.enableIn.TEin[1],P3.delayPassedIn.anytrue,P3.delayPassedIn.numtrue,P3.feeding.vec[1],P3.feeding.anytrue,P3.feeding.numtrue,P3.emptying.anytrue,P3.emptying.numtrue,T1.activation.fed[1],T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,T1.fire_,T2.activation.arcType[1],T2.activation.fed[1],T2.activation.emptied[1],T2.activation.normalArc[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],T2.activation.NoTokens,T2.fire_,P1.outTransition[2].arcWeightint,T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.minTokensInt[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.tIntIn[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T2.activation.disPlaceIn[1],T2.activation.minTokensInt[1],T2.activation.tIntIn[1],T2.activation.disPlaceOut[1],T2.activation.maxTokensInt[1],T2.activation.tIntOut[1],T2.activation.arcWeightIntOut[1],T2.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntIn[1],P3.delayPassedIn.vec[1],P2.delayPassedIn.vec[1],P1.delayPassedOut.vec[2],P1.delayPassedOut.vec[1],T2.activation.testValueInt[1],TA1.outTransition.arcType,P1.outTransition[2].testValueint,P1.outTransition[2].normalArc,P1.outTransition[2].arcType) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (369): * Single equations (assignments): 336 * Array equations: 0 * Algorithm blocks: 32 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {7 7} Notification: Performance of prepare postOptimizeDAE: time 0.003393/0.8353, allocations: 1.723 MB / 0.5039 GB, free: 8.531 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008468/0.8362, allocations: 206.3 kB / 0.5041 GB, free: 8.328 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01212/0.8483, allocations: 4.494 MB / 0.5085 GB, free: 3.699 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.54e-05/0.8484, allocations: 12 kB / 0.5085 GB, free: 3.688 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.8484, allocations: 4 kB / 0.5085 GB, free: 3.684 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.522e-05/0.8485, allocations: 7.969 kB / 0.5085 GB, free: 3.676 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3/1.148, allocations: 7.176 MB / 0.5156 GB, free: 123.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0109/1.159, allocations: 4.282 MB / 0.5197 GB, free: 123.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008494/1.16, allocations: 97.58 kB / 0.5198 GB, free: 123.1 MB / 442.7 MB Warning: The Tearing heuristic has chosen variables with annotation attribute 'tearingSelect = avoid'. Use -d=tearingdump and -d=tearingdumpV for more information. Notification: Performance of postOpt tearingSystem (simulation): time 0.001186/1.162, allocations: 273.5 kB / 0.5201 GB, free: 123.1 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008538/1.162, allocations: 121.5 kB / 0.5202 GB, free: 123.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002668/1.165, allocations: 1.787 MB / 0.5219 GB, free: 121.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/1.165, allocations: 1.094 kB / 0.522 GB, free: 121.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01964/1.185, allocations: 7.589 MB / 0.5294 GB, free: 120.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000392/1.185, allocations: 223 kB / 0.5296 GB, free: 120.7 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001754/1.187, allocations: 236.8 kB / 0.5298 GB, free: 120.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0033/1.19, allocations: 239 kB / 0.53 GB, free: 120.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00226/1.193, allocations: 0.6082 MB / 0.5306 GB, free: 120.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001001/1.194, allocations: 152.8 kB / 0.5308 GB, free: 120.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001154/1.195, allocations: 0.5321 MB / 0.5313 GB, free: 120.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.31e-07/1.195, allocations: 0 / 0.5313 GB, free: 120.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004707/1.2, allocations: 0.8051 MB / 0.5321 GB, free: 120.6 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (P1.t_,P2.t_,P3.t_) * Number of discrete variables: 181 ($whenCondition1,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,$whenCondition2,P2.enableOut.state128[1],P2.enableOut.state128[2],P2.enableOut.state128[3],P2.enableOut.state128[4],P2.enableOut.arcWeightSum,P2.enableOut.nremTAout,P2.enableOut.nTAout,P2.enableOut.k,P2.enableOut.posTE,P2.enableOut.randNum,P2.enableOut.sumEnablingProbTAout,P2.enableOut.endWhile,P2.enableOut.Index,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,$whenCondition3,P3.enableOut.state128[1],P3.enableOut.state128[2],P3.enableOut.state128[3],P3.enableOut.state128[4],P3.enableOut.arcWeightSum,P3.enableOut.nremTAout,P3.enableOut.nTAout,P3.enableOut.k,P3.enableOut.posTE,P3.enableOut.randNum,P3.enableOut.sumEnablingProbTAout,P3.enableOut.endWhile,P3.enableOut.Index,P3.delayPassedOut.anytrue,P3.delayPassedOut.numtrue,P2.disMarksInOut,P3.disMarksInOut,$cse1[1],$cse3[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition6,TA1.testColor[1],TA1.testColor[2],TA1.testColor[3],P1.disMarksInOut,P1.fireOut[1],P1.fireOut[2],P1.enableOut.TAout[1],P1.enableOut.TAout[2],P1.enableOut.TEout_[1],P1.enableOut.TEout_[2],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.TEout[2],P1.enableOut.disTAout[1],P1.enableOut.disTAout[2],P1.enableOut.remTAout[1],P1.enableOut.remTAout[2],P1.enableOut.cumEnablingProb[1],P1.enableOut.cumEnablingProb[2],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.vec[2],P1.emptying.anytrue,P1.emptying.numtrue,P1.outTransition[1].tokenInOut,P2.fireIn[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],P2.enableIn.state128[1],P2.enableIn.state128[2],P2.enableIn.state128[3],P2.enableIn.state128[4],P2.enableIn.TEin[1],P2.enableIn.disTAin[1],P2.enableIn.remTAin[1],P2.enableIn.cumEnablingProb[1],P2.enableIn.arcWeightSum,P2.enableIn.nremTAin,P2.enableIn.nTAin,P2.enableIn.k,P2.enableIn.posTE,P2.enableIn.randNum,P2.enableIn.sumEnablingProbTAin,P2.enableIn.endWhile,P2.enableIn.Index,P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.disMarksOut.anytrue,P2.disMarksOut.numtrue,P2.disMarksIn.anytrue,P2.disMarksIn.numtrue,P2.feeding.vec[1],P2.feeding.anytrue,P2.feeding.numtrue,P2.emptying.anytrue,P2.emptying.numtrue,P3.fireIn[1],P3.enableIn.active[1],P3.enableIn.TEin_[1],P3.enableIn.state128[1],P3.enableIn.state128[2],P3.enableIn.state128[3],P3.enableIn.state128[4],P3.enableIn.TEin[1],P3.enableIn.disTAin[1],P3.enableIn.remTAin[1],P3.enableIn.cumEnablingProb[1],P3.enableIn.arcWeightSum,P3.enableIn.nremTAin,P3.enableIn.nTAin,P3.enableIn.k,P3.enableIn.posTE,P3.enableIn.randNum,P3.enableIn.sumEnablingProbTAin,P3.enableIn.endWhile,P3.enableIn.Index,P3.delayPassedIn.anytrue,P3.delayPassedIn.numtrue,P3.disMarksOut.anytrue,P3.disMarksOut.numtrue,P3.disMarksIn.anytrue,P3.disMarksIn.numtrue,P3.feeding.vec[1],P3.feeding.anytrue,P3.feeding.numtrue,P3.emptying.anytrue,P3.emptying.numtrue,T1.activation.fed[1],T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,T1.fire_,T2.activation.arcType[1],T2.activation.fed[1],T2.activation.emptied[1],T2.activation.normalArc[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],T2.activation.NoTokens,T2.fire_,T2.inPlaces[1].tokenInOut) * Number of discrete states: 156 (P3.fireIn[1],P3.disMarksOut.anytrue,P3.disMarksIn.anytrue,P3.emptying.numtrue,P3.emptying.anytrue,P3.feeding.numtrue,P3.feeding.anytrue,P3.disMarksIn.numtrue,P3.disMarksOut.numtrue,P3.delayPassedIn.numtrue,P3.delayPassedIn.anytrue,P2.fireIn[1],P2.disMarksOut.anytrue,P2.disMarksIn.anytrue,P2.emptying.numtrue,P2.emptying.anytrue,P2.feeding.numtrue,P2.feeding.anytrue,P2.disMarksIn.numtrue,P2.disMarksOut.numtrue,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P1.fireOut[2],P1.fireOut[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P1.disMarksInOut,P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.NoTokens,P2.enableIn.TEin_[1],P2.enableIn.posTE,P2.enableIn.k,P2.enableIn.endWhile,P2.enableIn.state128[4],P2.enableIn.state128[3],P2.enableIn.state128[2],P2.enableIn.state128[1],P2.enableIn.randNum,P2.enableIn.cumEnablingProb[1],P2.enableIn.sumEnablingProbTAin,P2.enableIn.nTAin,P2.enableIn.nremTAin,P2.enableIn.remTAin[1],P2.enableIn.Index,P2.enableIn.arcWeightSum,P2.enableIn.disTAin[1],$whenCondition5,P2.enableIn.TEin[1],T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,T2.activation.NoTokens,P3.enableIn.TEin_[1],P3.enableIn.posTE,P3.enableIn.k,P3.enableIn.endWhile,P3.enableIn.state128[4],P3.enableIn.state128[3],P3.enableIn.state128[2],P3.enableIn.state128[1],P3.enableIn.randNum,P3.enableIn.cumEnablingProb[1],P3.enableIn.sumEnablingProbTAin,P3.enableIn.nTAin,P3.enableIn.nremTAin,P3.enableIn.remTAin[1],P3.enableIn.Index,P3.enableIn.arcWeightSum,P3.enableIn.disTAin[1],$whenCondition6,P3.enableIn.TEin[1],P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout_[2],P1.enableOut.TEout_[1],P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[2],P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[2],P1.enableOut.remTAout[1],P1.enableOut.Index,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[2],P1.enableOut.disTAout[1],$whenCondition4,P1.enableOut.TEout[2],P1.enableOut.TEout[1],P3.disMarkChange,P2.disMarkChange,P1.disMarkChange,P3.delayPassedOut.numtrue,P3.delayPassedOut.anytrue,P3.enableOut.arcWeightSum,P3.enableOut.nremTAout,P3.enableOut.nTAout,P3.enableOut.k,P3.enableOut.posTE,P3.enableOut.randNum,P3.enableOut.state128[4],P3.enableOut.state128[3],P3.enableOut.state128[2],P3.enableOut.state128[1],P3.enableOut.sumEnablingProbTAout,P3.enableOut.endWhile,P3.enableOut.Index,$whenCondition3,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.enableOut.arcWeightSum,P2.enableOut.nremTAout,P2.enableOut.nTAout,P2.enableOut.k,P2.enableOut.posTE,P2.enableOut.randNum,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.sumEnablingProbTAout,P2.enableOut.endWhile,P2.enableOut.Index,$whenCondition2,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 62 * Array equations: 2 * Algorithm blocks: 26 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.02082/1.22, allocations: 8.953 MB / 0.5408 GB, free: 116.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01206/1.233, allocations: 6.797 MB / 0.5475 GB, free: 112.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.377e-06/1.233, allocations: 0 / 0.5475 GB, free: 112.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01044/1.243, allocations: 7.833 MB / 0.5551 GB, free: 106.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002061/1.245, allocations: 189.6 kB / 0.5553 GB, free: 106.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01532/1.261, allocations: 4.881 MB / 0.5601 GB, free: 105.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001485/1.262, allocations: 1.632 MB / 0.5616 GB, free: 104.4 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001727/1.264, allocations: 412.1 kB / 0.562 GB, free: 104.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001284/1.265, allocations: 0.684 MB / 0.5627 GB, free: 103.7 MB / 442.7 MB Notification: Performance of SimCode: time 1.873e-06/1.265, allocations: 0 / 0.5627 GB, free: 103.7 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1458/1.411, allocations: 48 MB / 0.6096 GB, free: 63.29 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002784/1.411, allocations: 195.8 kB / 0.6098 GB, free: 63.07 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.369/5.78, allocations: 0 / 0.6098 GB, free: 63.07 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result PNlib_PNlib.Examples.ExtTest.IAwithPCtoTC_res.mat does not exist to compare? outputFormat=mat