Running command: "" <> buildModelFMU(PNlib.Examples.ExtTest.TAwithWeaklyActivation,fileNamePrefix="PNlib_PNlib_Examples_ExtTest_TAwithWeaklyActivation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PNlib): time 2.127/2.127, allocations: 222.9 MB / 235 MB, free: 9.258 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.553e-05/3.568e-05, allocations: 4 kB / 289.7 MB, free: 3.98 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1056, allocations: 51.68 MB / 341.4 MB, free: 204 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4269/0.5326, allocations: 80.46 MB / 421.8 MB, free: 9.824 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/0.5329, allocations: 63.97 kB / 421.9 MB, free: 9.762 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1465/0.6794, allocations: 29.71 MB / 451.6 MB, free: 12 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6794, allocations: 0 / 451.6 MB, free: 12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.352e-05/0.6795, allocations: 40 kB / 451.6 MB, free: 11.96 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: 594 * Number of variables: 594 Notification: Performance of Generate backend data structure: time 0.006955/0.6865, allocations: 2.523 MB / 454.2 MB, free: 9.242 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.6866, allocations: 12.03 kB / 454.2 MB, free: 9.23 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001654/0.6882, allocations: 369.1 kB / 454.5 MB, free: 8.859 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005219/0.6935, allocations: 481.2 kB / 455 MB, free: 8.387 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006797/0.7004, allocations: 1.037 MB / 456 MB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001417/0.7019, allocations: 0.5739 MB / 456.6 MB, free: 6.652 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001864/0.7038, allocations: 267.9 kB / 456.9 MB, free: 6.391 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01388/0.7177, allocations: 4.023 MB / 460.9 MB, free: 2.211 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.219e-05/0.7179, allocations: 7.938 kB / 460.9 MB, free: 2.203 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00054/0.7184, allocations: 119.9 kB / 461 MB, free: 2.086 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004503/0.7189, allocations: 167.6 kB / 461.2 MB, free: 1.922 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009154/0.728, allocations: 2.877 MB / 464.1 MB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02254/0.7506, allocations: 8.508 MB / 472.6 MB, free: 6.293 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007332/0.758, allocations: 3.68 MB / 476.3 MB, free: 2.559 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006671/0.7648, allocations: 3.302 MB / 479.6 MB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000326/0.7651, allocations: 125.7 kB / 479.7 MB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006085/0.7712, allocations: 2.097 MB / 481.8 MB, free: 12.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=185): time 5.019e-06/0.7713, allocations: 0 / 481.8 MB, free: 12.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=185): time 0.01151/0.7828, allocations: 4.041 MB / 485.8 MB, free: 8.793 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001348/0.7842, allocations: 1.136 MB / 487 MB, free: 7.457 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001946/0.7862, allocations: 0.8539 MB / 487.8 MB, free: 6.594 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006643/0.7869, allocations: 117.7 kB / 487.9 MB, free: 6.473 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009813/0.7879, allocations: 0.7174 MB / 488.6 MB, free: 5.742 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001115/0.7891, allocations: 0.4904 MB / 489.1 MB, free: 5.246 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002811/0.7894, allocations: 60 kB / 489.2 MB, free: 5.188 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003732/0.7897, allocations: 460.7 kB / 489.6 MB, free: 4.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003542/0.7933, allocations: 1.2 MB / 490.8 MB, free: 3.527 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004525/0.7979, allocations: 2.063 MB / 492.9 MB, free: 1.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004209/0.8021, allocations: 1.967 MB / 494.9 MB, free: 14.96 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.622e-05/0.8022, allocations: 8 kB / 494.9 MB, free: 14.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=365) (initialization): time 0.01184/0.8141, allocations: 4.302 MB / 499.2 MB, free: 10.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009249/0.8151, allocations: 0.796 MB / 500 MB, free: 9.559 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006226/0.8213, allocations: 2.471 MB / 0.4907 GB, free: 7.004 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001749/0.8231, allocations: 372.7 kB / 0.491 GB, free: 6.637 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002084/0.8253, allocations: 331.2 kB / 0.4913 GB, free: 6.312 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001662/0.827, allocations: 0.9463 MB / 0.4923 GB, free: 5.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003055/0.8301, allocations: 322 kB / 0.4926 GB, free: 5.023 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007476/0.8309, allocations: 156 kB / 0.4927 GB, free: 4.871 MB / 426.7 MB Warning: Assuming fixed start value for the following 36 variables: 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 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.enableIn.arcWeightSum:DISCRETE(fixed = false protected = true ) "arc weight sum" type: Real P2.disMarksOut.anytrue:DISCRETE(fixed = false protected = true ) type: Boolean P2.disMarksIn.anytrue:DISCRETE(fixed = false protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = false protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = false protected = true ) type: Boolean P2.enableOut.arcWeightSum:DISCRETE(fixed = false protected = true ) "arc weight sum" type: Real P2.enableOut.nremTAout:DISCRETE(fixed = false protected = true ) "number of remaining active output transitions" type: Integer P2.enableOut.nTAout:DISCRETE(fixed = false protected = true ) "number of active output transitions" type: Integer P2.enableOut.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P2.enableOut.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.enableOut.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P2.enableOut.Index:DISCRETE(fixed = false protected = true ) type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 121 * Number of states: 0 () * Number of discrete variables: 280 ($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],$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.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.disTAin[1],P1.enableIn.disTAin[1],$whenCondition6,P2.disMarksInOut,$PRE.P2.disMarksOut.anytrue,$PRE.P2.disMarksIn.anytrue,P2.disMarksOut.anytrue,P2.disMarksOut.numtrue,$whenCondition5,P1.disMarksInOut,$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksInOut,P1.outTransition[2].tokenInOut,T2.inPlaces[1].tokenInOut,$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,$whenCondition1,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P1.outTransition[1].tint,P1.outTransition[1].minTokensint,T2.inPlaces[1].disTransition,P1.outTransition[1].disPlace,P1.outTransition[2].tint,P1.outTransition[2].testValueint,P1.outTransition[2].normalArc,P1.outTransition[2].minTokensint,T3.inPlaces[1].disTransition,P1.outTransition[2].disPlace,P1.outTransition[2].arcType,P2.inTransition[1].tint,P2.inTransition[1].maxTokensint,T2.outPlaces[1].enabledByInPlaces,T2.outPlaces[1].disTransition,P2.inTransition[1].disPlace,P1.inTransition[1].tint,P1.inTransition[1].maxTokensint,T1.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,T3.firingCon,T2.firingCon,T1.firingCon,P2.enableIn.enablingPrio[1],P2.reStart,P1.enableOut.enablingPrio[2],P1.enableOut.enablingPrio[1],P1.enableIn.enablingPrio[1],P1.reStart,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksOut.vec[2],P1.disMarksOut.vec[1],P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.disMarksIn.vec[1],P2.disMarksIn.anytrue,P2.disMarksIn.numtrue,P2.disMarksIn.vec[1],$whenCondition2,$whenCondition3,$whenCondition4,$PRE.P1.fireIn[1],P1.fireIn[1],$PRE.P1.fireOut[1],P1.fireOut[1],$PRE.P1.fireOut[2],P1.fireOut[2],P1.enableIn.active[1],P1.enableIn.TEin_[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin[1],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.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.feeding.vec[1],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,TA1.testColor[1],TA1.testColor[2],TA1.testColor[3],T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,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_,T3.activation.fed[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.NoTokens,T3.fire_,P1.outTransition[1].arcWeightint,T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T2.activation.disPlaceOut[1],T2.activation.maxTokensInt[1],T2.activation.tIntOut[1],T3.activation.arcType[1],T3.activation.disPlaceIn[1],T3.activation.minTokensInt[1],T3.activation.normalArc[1],T3.activation.testValueInt[1],T3.activation.tIntIn[1],T2.activation.disPlaceIn[1],T2.activation.minTokensInt[1],T2.activation.tIntIn[1],T3.activation.arcWeightIntIn[1],T2.activation.arcWeightIntOut[1],T2.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T2.activation.testValueInt[1],P2.delayPassedIn.vec[1],P1.delayPassedIn.vec[1],P1.delayPassedOut.vec[2],P1.delayPassedOut.vec[1],T1.fire_,TA1.outTransition.arcType,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,P1.outTransition[1].arcType) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (306): * Single equations (assignments): 282 * Array equations: 0 * Algorithm blocks: 23 * 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 {3 14} Notification: Performance of prepare postOptimizeDAE: time 0.002832/0.8337, allocations: 1.407 MB / 0.4941 GB, free: 3.336 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007566/0.8345, allocations: 182.5 kB / 0.4943 GB, free: 3.156 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01228/0.8468, allocations: 4.421 MB / 0.4986 GB, free: 14.62 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.834e-05/0.8469, allocations: 12 kB / 0.4986 GB, free: 14.61 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.8469, allocations: 0 / 0.4986 GB, free: 14.61 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.979e-05/0.847, allocations: 3.984 kB / 0.4986 GB, free: 14.61 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01943/0.8664, allocations: 6.887 MB / 0.5053 GB, free: 7.547 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.01181/0.8783, allocations: 4.215 MB / 0.5094 GB, free: 3.219 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007271/0.8791, allocations: 87.77 kB / 0.5095 GB, free: 3.133 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002342/0.8814, allocations: 469.1 kB / 0.51 GB, free: 2.672 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000794/0.8822, allocations: 111.9 kB / 0.5101 GB, free: 2.562 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001465/0.8837, allocations: 0.9187 MB / 0.511 GB, free: 1.621 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.8838, allocations: 3.938 kB / 0.511 GB, free: 1.617 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3087/1.192, allocations: 6.956 MB / 0.5178 GB, free: 127.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003573/1.193, allocations: 201 kB / 0.518 GB, free: 127.7 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001285/1.194, allocations: 187.3 kB / 0.5181 GB, free: 127.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00276/1.197, allocations: 224.6 kB / 0.5184 GB, free: 127.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001988/1.199, allocations: 0.6053 MB / 0.519 GB, free: 127.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007412/1.2, allocations: 129.9 kB / 0.5191 GB, free: 127.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001076/1.201, allocations: 0.5009 MB / 0.5196 GB, free: 127.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-07/1.201, allocations: 0.9375 kB / 0.5196 GB, free: 127.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004034/1.205, allocations: 0.7248 MB / 0.5203 GB, free: 127.6 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 141 ($whenCondition1,P2.enableOut.state128[1],P2.enableOut.state128[2],P2.enableOut.state128[3],P2.enableOut.state128[4],P2.enableOut.arcWeightSum,P2.enableOut.nremTAout,P2.enableOut.nTAout,P2.enableOut.k,P2.enableOut.posTE,P2.enableOut.randNum,P2.enableOut.sumEnablingProbTAout,P2.enableOut.endWhile,P2.enableOut.Index,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.disMarksInOut,$cse3[1],$cse5[1],$whenCondition6,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition4,P1.disMarksInOut,P1.fireIn[1],P1.fireOut[1],P1.fireOut[2],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.disTAin[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.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.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.feeding.vec[1],P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.vec[2],P1.emptying.anytrue,P1.emptying.numtrue,P1.outTransition[2].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,TA1.testColor[1],TA1.testColor[2],TA1.testColor[3],T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,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,T3.activation.fed[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.NoTokens,T3.fire_) * Number of discrete states: 117 (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.fireIn[1],P1.fireOut[2],P1.fireOut[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P1.disMarksInOut,P1.emptying.numtrue,P1.emptying.anytrue,T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.NoTokens,P1.feeding.numtrue,P1.feeding.anytrue,T3.activation.weaklyInputActiveVec[1],T3.activation.active,T3.activation.NoTokens,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,T2.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],$whenCondition4,P2.enableIn.TEin[1],P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,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],$whenCondition3,P1.enableOut.TEout[2],P1.enableOut.TEout[1],P1.enableIn.TEin_[1],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,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$whenCondition2,P1.enableIn.TEin[1],P2.disMarkChange,P1.disMarkChange,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,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 58 * Array equations: 2 * Algorithm blocks: 19 * 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 {3 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.02118/1.226, allocations: 8.179 MB / 0.5283 GB, free: 126.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01163/1.238, allocations: 5.667 MB / 0.5338 GB, free: 123.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.717e-06/1.238, allocations: 3.562 kB / 0.5338 GB, free: 123.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009498/1.247, allocations: 6.781 MB / 0.5404 GB, free: 118.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/1.249, allocations: 158.8 kB / 0.5406 GB, free: 118.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/1.262, allocations: 4.512 MB / 0.545 GB, free: 116.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001254/1.263, allocations: 1.539 MB / 0.5465 GB, free: 116.1 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001524/1.265, allocations: 376.7 kB / 0.5468 GB, free: 116.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009494/1.266, allocations: 0.6077 MB / 0.5474 GB, free: 115.6 MB / 442.7 MB Notification: Performance of SimCode: time 1.042e-06/1.266, allocations: 1.969 kB / 0.5474 GB, free: 115.6 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1139/1.38, allocations: 43.58 MB / 0.59 GB, free: 85.16 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000231/1.38, allocations: 214.3 kB / 0.5902 GB, free: 84.92 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.061/5.441, allocations: 0 / 0.5902 GB, free: 84.92 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result PNlib_PNlib.Examples.ExtTest.TAwithWeaklyActivation_res.mat does not exist to compare? outputFormat=mat