Running command: translateModel(PNlib.Examples.DisTest.TTcircle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.active|T1.fire|T2.active|T2.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.TTcircle") Notification: Performance of loadModel(PNlib): time 2.222/2.222, allocations: 222.9 MB / 235 MB, free: 9.164 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.228e-05/3.246e-05, allocations: 4 kB / 289.6 MB, free: 4.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09133/0.09139, allocations: 51.69 MB / 341.3 MB, free: 288 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3985/0.49, allocations: 80.59 MB / 421.9 MB, free: 9.855 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/0.4902, allocations: 63.97 kB / 421.9 MB, free: 9.793 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1069/0.5972, allocations: 27.67 MB / 449.6 MB, free: 14.06 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.333e-06/0.5972, allocations: 0 / 449.6 MB, free: 14.06 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.504e-05/0.5973, allocations: 27.94 kB / 449.6 MB, free: 14.04 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.005514/0.6029, allocations: 2.286 MB / 451.9 MB, free: 11.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.6029, allocations: 8.031 kB / 451.9 MB, free: 11.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001788/0.6047, allocations: 262 kB / 452.2 MB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003255/0.608, allocations: 1.001 MB / 453.2 MB, free: 10.26 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004783/0.6085, allocations: 277.8 kB / 453.4 MB, free: 9.961 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009689/0.6095, allocations: 228 kB / 453.7 MB, free: 9.738 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01037/0.6199, allocations: 3.867 MB / 457.5 MB, free: 5.707 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.23e-05/0.62, allocations: 7.938 kB / 457.5 MB, free: 5.699 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004815/0.6205, allocations: 112 kB / 457.6 MB, free: 5.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003196/0.6208, allocations: 130.5 kB / 457.8 MB, free: 5.461 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006953/0.6278, allocations: 2.699 MB / 460.5 MB, free: 2.758 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01841/0.6462, allocations: 8.181 MB / 468.7 MB, free: 10.37 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007392/0.6537, allocations: 4.513 MB / 473.2 MB, free: 5.84 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006947/0.6607, allocations: 4.348 MB / 477.5 MB, free: 1.492 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001784/0.6609, allocations: 94.03 kB / 477.6 MB, free: 1.383 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005969/0.6669, allocations: 2.488 MB / 480.1 MB, free: 14.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=172): time 4.637e-06/0.6669, allocations: 0 / 480.1 MB, free: 14.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=172): time 0.011/0.6779, allocations: 4.505 MB / 484.6 MB, free: 10.22 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001285/0.6793, allocations: 1.152 MB / 485.7 MB, free: 8.871 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001556/0.6809, allocations: 0.8068 MB / 486.6 MB, free: 8.059 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004363/0.6813, allocations: 121.7 kB / 486.7 MB, free: 7.934 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007596/0.6821, allocations: 0.6162 MB / 487.3 MB, free: 7.305 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008367/0.6829, allocations: 431.1 kB / 487.7 MB, free: 6.879 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001935/0.6832, allocations: 55.98 kB / 487.8 MB, free: 6.824 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003699/0.6835, allocations: 452.6 kB / 488.2 MB, free: 6.375 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002495/0.6861, allocations: 1.044 MB / 489.3 MB, free: 5.328 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003581/0.6897, allocations: 1.935 MB / 491.2 MB, free: 2.984 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003285/0.693, allocations: 1.761 MB / 492.9 MB, free: 1.094 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.564e-05/0.6931, allocations: 8 kB / 493 MB, free: 1.086 MB / 410.7 MB Notification: Performance of matching and sorting (n=358) (initialization): time 0.009359/0.7024, allocations: 4.093 MB / 497 MB, free: 12.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006547/0.7031, allocations: 0.6737 MB / 497.7 MB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.388e-05/0.7032, allocations: 28.09 kB / 497.7 MB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.714e-05/0.7033, allocations: 48 kB / 497.8 MB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/0.7047, allocations: 327.2 kB / 498.1 MB, free: 11.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.372e-05/0.7048, allocations: 55.8 kB / 498.2 MB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001899/0.7067, allocations: 286.1 kB / 498.5 MB, free: 11.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004089/0.7071, allocations: 144 kB / 498.6 MB, free: 11.19 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 T2.ani:DISCRETE(fixed = false protected = true ) "for transition animation" type: Boolean T2.fireTime:DISCRETE(fixed = false protected = true ) "for transition animation" type: Real P2.firingSumIn.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer P2.firingSumOut.firingSum:DISCRETE(fixed = false protected = true ) "firing sum" type: Integer 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: 127 * Number of states: 0 () * Number of discrete variables: 294 ($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,$whenCondition14,$PRE.P1.reStart,$whenCondition9,$PRE.P2.reStart,$PRE.T2.fireTime,T2.fireTime,$PRE.T2.ani,T2.ani,$whenCondition8,$whenCondition7,P2.tokeninout,$PRE.P2.firingSumIn.firingSum,$PRE.P2.firingSumOut.firingSum,$PRE.P2.tokeninout,P2.outTransition[1].tokenInOut,$PRE.T1.fireTime,T1.fireTime,$PRE.T1.ani,T1.ani,$whenCondition13,$whenCondition12,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,T2.firingCon,P2.enableIn.enablingPrio[1],P2.enableOut.enablingPrio[1],P2.reStart,T1.firingCon,P1.enableIn.enablingPrio[1],P1.enableOut.enablingPrio[1],P1.reStart,P1.enableIn.disTransition[1],P2.enableIn.disTransition[1],$whenCondition11,$whenCondition10,$whenCondition6,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$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,T1.activation.tIntIn[1],T1.activation.tIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.minTokensInt[1],T1.activation.maxTokensInt[1],T1.activation.active,$PRE.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,$PRE.T2.firingTime,T2.firingTime,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,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],P1.enableIn.arcWeight[1],P2.enableOut.arcWeight[1],P2.activeConOut.vec[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 (326): * Single equations (assignments): 306 * Array equations: 0 * Algorithm blocks: 20 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002427/0.7095, allocations: 1.35 MB / 499.9 MB, free: 9.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005597/0.7101, allocations: 182.6 kB / 0.4884 GB, free: 9.551 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01121/0.7213, allocations: 4.943 MB / 0.4932 GB, free: 4.496 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/0.7214, allocations: 8 kB / 0.4932 GB, free: 4.488 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.7214, allocations: 4 kB / 0.4932 GB, free: 4.484 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/0.7214, allocations: 3.984 kB / 0.4932 GB, free: 4.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01734/0.7388, allocations: 7.562 MB / 0.5006 GB, free: 12.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/0.7389, allocations: 3.953 kB / 0.5006 GB, free: 12.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004259/0.7393, allocations: 71.83 kB / 0.5007 GB, free: 12.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.547e-05/0.7393, allocations: 4 kB / 0.5007 GB, free: 12.68 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005192/0.7399, allocations: 111.9 kB / 0.5008 GB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.269e-05/0.7399, allocations: 11.97 kB / 0.5008 GB, free: 12.56 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.7399, allocations: 0 / 0.5008 GB, free: 12.56 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01183/0.7517, allocations: 5.137 MB / 0.5058 GB, free: 7.309 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003314/0.7521, allocations: 191.4 kB / 0.506 GB, free: 7.102 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001116/0.7533, allocations: 183.9 kB / 0.5062 GB, free: 6.922 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002042/0.7553, allocations: 187.8 kB / 0.5064 GB, free: 6.738 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001896/0.7572, allocations: 0.7616 MB / 0.5071 GB, free: 5.977 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00076/0.758, allocations: 151.9 kB / 0.5073 GB, free: 5.828 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009281/0.759, allocations: 487.1 kB / 0.5077 GB, free: 5.348 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.53e-07/0.759, allocations: 0 / 0.5077 GB, free: 5.348 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003469/0.7625, allocations: 0.7688 MB / 0.5085 GB, free: 4.578 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: 156 (P2.activeOut[1],P1.activeOut[1],$whenCondition13,$whenCondition12,$whenCondition14,$whenCondition11,$whenCondition10,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition6,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,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.ani,T1.activation.tIntIn[1],T1.activation.tIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.minTokensInt[1],T1.activation.maxTokensInt[1],T1.activation.active,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,T2.firingTime,T2.fireTime,T2.ani,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) * Number of discrete states: 104 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P2.firingSumOut.firingSum,P2.firingSumIn.firingSum,P2.t,P2.tokeninout,P2.activeConOut.anychange,P1.t,P1.tokeninout,T1.activation.active,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,T2.activation.active,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,$whenCondition3,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,$whenCondition4,P2.enableIn.arcWeightSum,P2.enableIn.TEin[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 16 * 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.00202/0.7645, allocations: 0.6496 MB / 0.5091 GB, free: 3.926 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.2767/1.041, allocations: 5.13 MB / 0.5141 GB, free: 130 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.308e-05/1.041, allocations: 0 / 0.5141 GB, free: 130 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01749/1.059, allocations: 8.747 MB / 0.5227 GB, free: 127.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00202/1.061, allocations: 173.9 kB / 0.5228 GB, free: 127.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01755/1.078, allocations: 3.587 MB / 0.5263 GB, free: 126.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001503/1.08, allocations: 1.405 MB / 0.5277 GB, free: 125.6 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001473/1.082, allocations: 423.4 kB / 0.5281 GB, free: 125.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002842/1.082, allocations: 92.7 kB / 0.5282 GB, free: 125.5 MB / 442.7 MB Notification: Performance of SimCode: time 1.794e-06/1.082, allocations: 4.594 kB / 0.5282 GB, free: 125.5 MB / 442.7 MB Notification: Performance of Templates: time 0.06172/1.144, allocations: 30.59 MB / 0.5581 GB, free: 119.3 MB / 442.7 MB