Running command: "" <> buildModelFMU(PNlib.Examples.ConTest.LoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_ConTest_LoopAndArcweight",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PNlib): time 2.05/2.05, allocations: 222.9 MB / 235 MB, free: 9.25 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.75e-05/3.754e-05, allocations: 11.98 kB / 289.7 MB, free: 3.973 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1087, allocations: 51.68 MB / 341.4 MB, free: 200 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4905/0.5993, allocations: 80.06 MB / 421.4 MB, free: 10.21 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/0.5996, allocations: 67.97 kB / 421.5 MB, free: 10.14 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1007/0.7004, allocations: 22.61 MB / 444.1 MB, free: 3.488 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.7004, allocations: 3.938 kB / 444.1 MB, free: 3.484 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.897e-05/0.7005, allocations: 20 kB / 444.1 MB, free: 3.465 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.005027/0.7055, allocations: 2.068 MB / 446.2 MB, free: 1.219 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.7056, allocations: 12.03 kB / 446.2 MB, free: 1.207 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00102/0.7066, allocations: 276.4 kB / 446.5 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00354/0.7102, allocations: 410 kB / 446.9 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003047/0.7133, allocations: 0.8081 MB / 447.7 MB, free: 15.67 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005765/0.7139, allocations: 393.7 kB / 448.1 MB, free: 15.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008295/0.7148, allocations: 187.9 kB / 448.2 MB, free: 15.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009333/0.7241, allocations: 2.955 MB / 451.2 MB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.376e-05/0.7242, allocations: 3.938 kB / 451.2 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003798/0.7246, allocations: 91.97 kB / 451.3 MB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003446/0.725, allocations: 114.4 kB / 451.4 MB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006551/0.7315, allocations: 2.102 MB / 453.5 MB, free: 9.676 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0151/0.7467, allocations: 5.728 MB / 459.2 MB, free: 3.781 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005386/0.7521, allocations: 2.749 MB / 462 MB, free: 1.016 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005195/0.7574, allocations: 2.605 MB / 464.6 MB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002815/0.7577, allocations: 117.6 kB / 464.7 MB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004384/0.7621, allocations: 1.653 MB / 466.4 MB, free: 12.57 MB / 394.7 MB Notification: Performance of pre-optimization done (n=145): time 4.749e-06/0.7622, allocations: 4 kB / 466.4 MB, free: 12.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=145): time 0.00963/0.7718, allocations: 3.287 MB / 469.6 MB, free: 9.164 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001006/0.7729, allocations: 0.9982 MB / 470.6 MB, free: 7.988 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/0.7742, allocations: 0.6246 MB / 471.3 MB, free: 7.355 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004455/0.7747, allocations: 105.7 kB / 471.4 MB, free: 7.246 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000632/0.7753, allocations: 0.519 MB / 471.9 MB, free: 6.715 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006033/0.776, allocations: 379.5 kB / 472.3 MB, free: 6.34 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/0.7761, allocations: 51.98 kB / 472.3 MB, free: 6.289 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000275/0.7764, allocations: 423.3 kB / 472.7 MB, free: 5.867 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00231/0.7788, allocations: 0.8554 MB / 473.6 MB, free: 5.012 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002985/0.7818, allocations: 1.55 MB / 475.1 MB, free: 3.133 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003109/0.7849, allocations: 1.594 MB / 476.7 MB, free: 1.41 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-05/0.785, allocations: 12 kB / 476.7 MB, free: 1.398 MB / 394.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.008504/0.7935, allocations: 3.35 MB / 480.1 MB, free: 13.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006585/0.7942, allocations: 0.6922 MB / 480.8 MB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-05/0.7943, allocations: 28.89 kB / 480.8 MB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00236/0.7967, allocations: 336.6 kB / 481.1 MB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/0.7982, allocations: 243.4 kB / 481.4 MB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009979/0.7992, allocations: 0.7279 MB / 482.1 MB, free: 11.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001907/0.8011, allocations: 226.5 kB / 482.3 MB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003221/0.8015, allocations: 136 kB / 482.5 MB, free: 11.38 MB / 410.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: 99 * Number of states: 0 () * Number of discrete variables: 234 ($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[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,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,$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[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,P2.inTransition[1].tint,P2.inTransition[1].maxTokensint,T1.outPlaces[2].enabledByInPlaces,T1.outPlaces[2].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,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,P2.enableIn.enablingPrio[1],P2.reStart,T1.firingCon,P1.enableOut.enablingPrio[1],P1.enableIn.enablingPrio[1],P1.reStart,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,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],P1.enableIn.active[1],P1.enableIn.TEin_[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout[1],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.anytrue,P1.emptying.numtrue,T1.activation.fed[1],T1.activation.emptied[1],T1.activation.emptied[2],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyOutputActiveVec[2],T1.activation.NoTokens,T1.fire_,$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,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],T1.activation.disPlaceOut[2],T1.activation.maxTokensInt[2],T1.activation.tIntOut[2],P2.delayPassedIn.vec[1],T1.activation.arcWeightIntOut[2],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntIn[1],P1.delayPassedIn.vec[1],P1.delayPassedOut.vec[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (244): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 21 * 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 {2 5} Notification: Performance of prepare postOptimizeDAE: time 0.002286/0.8038, allocations: 1.198 MB / 483.7 MB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005969/0.8044, allocations: 150.9 kB / 483.8 MB, free: 9.914 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009033/0.8135, allocations: 3.438 MB / 487.2 MB, free: 6.371 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-05/0.8136, allocations: 4 kB / 487.2 MB, free: 6.367 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.8136, allocations: 4 kB / 487.2 MB, free: 6.363 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.8136, allocations: 3.984 kB / 487.3 MB, free: 6.359 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01357/0.8272, allocations: 5.445 MB / 492.7 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.532e-05/0.8273, allocations: 4 kB / 492.7 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004761/0.8278, allocations: 59.89 kB / 492.8 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001029/0.8288, allocations: 216.7 kB / 493 MB, free: 492 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004657/0.8293, allocations: 91.94 kB / 493.1 MB, free: 400 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008823/0.8302, allocations: 0.7045 MB / 493.8 MB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.8302, allocations: 0 / 493.8 MB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01452/0.8448, allocations: 5.468 MB / 499.2 MB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002685/0.8451, allocations: 167.9 kB / 499.4 MB, free: 9.871 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008727/0.846, allocations: 159.9 kB / 499.6 MB, free: 9.715 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001826/0.8478, allocations: 163.9 kB / 499.7 MB, free: 9.555 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001047/0.8489, allocations: 352.2 kB / 0.4883 GB, free: 9.211 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004044/0.8493, allocations: 111.9 kB / 0.4884 GB, free: 9.102 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007289/0.8501, allocations: 377.5 kB / 0.4888 GB, free: 8.734 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.8501, allocations: 0 / 0.4888 GB, free: 8.734 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003043/0.8531, allocations: 0.5851 MB / 0.4894 GB, free: 8.148 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 119 ($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,$cse1[1],$whenCondition6,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition4,P1.disMarksInOut,P1.fireIn[1],P1.fireOut[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.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.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.disTAout[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.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.anytrue,P1.emptying.numtrue,P1.outTransition[1].tokenInOut,T1.activation.fed[1],T1.activation.emptied[1],T1.activation.emptied[2],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyOutputActiveVec[2],T1.activation.NoTokens,T1.fire_,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) * Number of discrete states: 106 (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[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P1.disMarksInOut,P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,T1.activation.weaklyOutputActiveVec[2],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],$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_[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[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$whenCondition3,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 (56): * Single equations (assignments): 37 * Array equations: 1 * Algorithm blocks: 17 * 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 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01627/0.8694, allocations: 6.566 MB / 0.4958 GB, free: 1.441 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009239/0.8787, allocations: 4.488 MB / 0.5002 GB, free: 12.69 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/0.8788, allocations: 0 / 0.5002 GB, free: 12.69 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009066/0.8879, allocations: 5.608 MB / 0.5056 GB, free: 6.863 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.889, allocations: 126 kB / 0.5058 GB, free: 6.738 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/0.8993, allocations: 3.196 MB / 0.5089 GB, free: 3.492 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001305/0.9007, allocations: 1.296 MB / 0.5102 GB, free: 2.164 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00114/0.9019, allocations: 248.5 kB / 0.5104 GB, free: 1.918 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000814/0.9027, allocations: 427.3 kB / 0.5108 GB, free: 1.504 MB / 442.7 MB Notification: Performance of SimCode: time 1.002e-06/0.9027, allocations: 0 / 0.5108 GB, free: 1.504 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.361/1.264, allocations: 33.24 MB / 0.5433 GB, free: 127.2 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002248/1.264, allocations: 203.8 kB / 0.5434 GB, free: 127 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.688/4.952, allocations: 0 / 0.5434 GB, free: 127 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result PNlib_PNlib.Examples.ConTest.LoopAndArcweight_res.mat does not exist to compare? outputFormat=mat