Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.LoopAndArcweight.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PNlib.Examples.ConTest.LoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_ConTest_LoopAndArcweight",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.ConTest.LoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_ConTest_LoopAndArcweight",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001548/0.001549, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 189.9 kB / 16.25 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 222.9 MB / 239.9 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1949/0.1949, allocations: 16.76 MB / 306.8 MB, free: 15 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 67.91 kB / 371.3 MB, free: 3.738 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2636, allocations: 53.45 MB / 424.7 MB, free: 39.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.LoopAndArcweight): time 0.003322/0.2669, allocations: 2.847 MB / 427.5 MB, free: 37.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003582/0.2705, allocations: 2.29 MB / 429.8 MB, free: 36.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005917/0.2712, allocations: 7.031 kB / 429.8 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004722/0.2717, allocations: 171 kB / 430 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006518/0.2723, allocations: 164.9 kB / 430.2 MB, free: 36.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001825/0.2742, allocations: 0.9405 MB / 431.1 MB, free: 36.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001753/0.2759, allocations: 2.638 MB / 433.7 MB, free: 34.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003645/0.2763, allocations: 358.6 kB / 434.1 MB, free: 34.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006831/0.277, allocations: 0.9879 MB / 435.1 MB, free: 34.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006799/0.2777, allocations: 0.7814 MB / 435.9 MB, free: 33.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000218/0.2779, allocations: 204.2 kB / 436.1 MB, free: 33.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006625/0.2786, allocations: 0.5747 MB / 436.6 MB, free: 33.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002508/0.2788, allocations: 386.1 kB / 437 MB, free: 33.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005521/0.2794, allocations: 0.8729 MB / 437.9 MB, free: 33.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.2808, allocations: 2.248 MB / 440.1 MB, free: 32.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2808, allocations: 3.938 kB / 440.1 MB, free: 32.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2808, allocations: 0 / 440.1 MB, free: 32.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.044e-05/0.2808, allocations: 0 / 440.1 MB, free: 32.2 MB / 350.1 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.002284/0.2831, allocations: 2.373 MB / 442.5 MB, free: 30.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.2832, allocations: 13.39 kB / 442.5 MB, free: 30.45 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002621/0.2835, allocations: 269.6 kB / 442.8 MB, free: 30.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001415/0.2849, allocations: 354.4 kB / 443.1 MB, free: 30.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008382/0.2857, allocations: 0.7551 MB / 443.9 MB, free: 29.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002102/0.2859, allocations: 388.9 kB / 444.3 MB, free: 29.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002186/0.2862, allocations: 189 kB / 444.5 MB, free: 29.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003488/0.2897, allocations: 3.053 MB / 447.5 MB, free: 28.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.957e-05/0.2897, allocations: 0 / 447.5 MB, free: 28.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001647/0.2899, allocations: 90.11 kB / 447.6 MB, free: 28.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000183/0.2901, allocations: 161.9 kB / 447.8 MB, free: 28.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002796/0.2929, allocations: 2.222 MB / 450 MB, free: 27.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005716/0.2986, allocations: 5.755 MB / 455.7 MB, free: 23.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002605/0.3012, allocations: 2.921 MB / 458.7 MB, free: 22.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002321/0.3036, allocations: 2.754 MB / 461.4 MB, free: 20.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001721/0.3037, allocations: 122 kB / 461.5 MB, free: 20.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002324/0.3061, allocations: 1.711 MB / 463.2 MB, free: 19.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=148): time 2.775e-06/0.3061, allocations: 0 / 463.2 MB, free: 19.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=148): time 0.008059/0.3142, allocations: 5.431 MB / 468.7 MB, free: 17.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004384/0.3146, allocations: 1.072 MB / 469.7 MB, free: 16.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008605/0.3155, allocations: 0.6823 MB / 470.4 MB, free: 16.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001609/0.3157, allocations: 106.1 kB / 470.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003154/0.316, allocations: 0.513 MB / 471 MB, free: 15.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002812/0.3163, allocations: 391.6 kB / 471.4 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005877/0.3169, allocations: 468.2 kB / 471.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.247e-05/0.3169, allocations: 338.7 kB / 472.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001359/0.3183, allocations: 0.9045 MB / 473.1 MB, free: 14.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00161/0.3199, allocations: 1.631 MB / 474.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003064/0.323, allocations: 3.615 MB / 478.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.329e-05/0.323, allocations: 6.531 kB / 478.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=285) (initialization): time 0.004685/0.3277, allocations: 3.554 MB / 481.9 MB, free: 8.688 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002927/0.328, allocations: 0.6955 MB / 482.6 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002541/0.3306, allocations: 1.831 MB / 484.5 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001154/0.3318, allocations: 273 kB / 484.7 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000715/0.3325, allocations: 232.8 kB / 484.9 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007036/0.3332, allocations: 0.7652 MB / 485.7 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.3344, allocations: 263.2 kB / 486 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002963/0.3347, allocations: 120 kB / 486.1 MB, free: 5.598 MB / 350.1 MB Warning: Assuming fixed start value for the following 36 variables: P2.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P2.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P2.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P2.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P2.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P2.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P2.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P2.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P2.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P2.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P2.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 231 ($PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,P2.enableOut.randNum,$PRE.P2.enableOut.randNum,P2.enableOut.state128[4],$PRE.P2.enableOut.state128[4],P2.enableOut.state128[3],$PRE.P2.enableOut.state128[3],P2.enableOut.state128[2],$PRE.P2.enableOut.state128[2],P2.enableOut.state128[1],$PRE.P2.enableOut.state128[1],$PRE.P2.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,$whenCondition6,$PRE.P2.enableIn.posTE,P2.enableIn.posTE,$PRE.P2.enableIn.k,P2.enableIn.k,$PRE.P2.enableIn.endWhile,P2.enableIn.endWhile,P2.enableIn.randNum,$PRE.P2.enableIn.randNum,P2.enableIn.state128[4],$PRE.P2.enableIn.state128[4],P2.enableIn.state128[3],$PRE.P2.enableIn.state128[3],P2.enableIn.state128[2],$PRE.P2.enableIn.state128[2],P2.enableIn.state128[1],$PRE.P2.enableIn.state128[1],P2.enableIn.cumEnablingProb[1],$PRE.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,P2.enableIn.remTAin[1],$PRE.P2.enableIn.remTAin[1],$PRE.P2.enableIn.Index,P2.enableIn.Index,$PRE.P2.enableIn.arcWeightSum,P2.enableIn.arcWeightSum,P2.enableIn.disTAin[1],$PRE.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,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[1],$PRE.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,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$PRE.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,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],P1.enableIn.cumEnablingProb[1],$PRE.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,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$PRE.P1.enableIn.disTAin[1],$PRE.P1.disMarksInOut,P1.outTransition[1].tokenInOut,$PRE.P2.disMarksIn.anytrue,$PRE.P2.disMarksOut.anytrue,P2.disMarksInOut,$whenCondition5,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition4,P2.disMarksOut.numtrue,P2.disMarksOut.anytrue,P2.inTransition[1].disPlace,P2.inTransition[1].maxTokensint,P2.inTransition[1].tint,T1.outPlaces[2].disTransition,T1.outPlaces[2].enabledByInPlaces,P2.reStart,T1.firingCon,T1.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.outTransition[1].minTokensint,P1.outTransition[1].tint,P1.reStart,P1.disMarksOut.vec[1],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksIn.vec[1],P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P2.disMarksIn.vec[1],P2.disMarksIn.numtrue,P2.disMarksIn.anytrue,P1.delayPassedOut.vec[1],P1.delayPassedIn.vec[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntOut[2],P2.delayPassedIn.vec[1],T1.activation.disPlaceOut[2],T1.activation.maxTokensInt[2],T1.activation.tIntOut[2],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.minTokensInt[1],T1.activation.tIntIn[1],P2.emptying.numtrue,P2.emptying.anytrue,P2.feeding.numtrue,P2.feeding.anytrue,P2.feeding.vec[1],P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P2.enableIn.TEin[1],$PRE.P2.enableIn.TEin[1],P2.enableIn.TEin_[1],P2.enableIn.active[1],P2.fireIn[1],$PRE.P2.fireIn[1],T1.fire_,T1.activation.NoTokens,T1.activation.weaklyOutputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.emptied[2],T1.activation.emptied[1],T1.activation.fed[1],P1.emptying.numtrue,P1.emptying.anytrue,P1.emptying.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,P1.feeding.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.enableIn.TEin[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.fireOut[1],$PRE.P1.fireOut[1],P1.fireIn[1],$PRE.P1.fireIn[1],$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (240): * Single equations (assignments): 218 * Array equations: 0 * Algorithm blocks: 21 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.00201/0.3368, allocations: 1.467 MB / 487.6 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005791/0.3373, allocations: 147.5 kB / 487.7 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005775/0.3431, allocations: 4.357 MB / 492.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-05/0.3432, allocations: 8 kB / 492.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.3432, allocations: 4 kB / 492.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.3432, allocations: 11.92 kB / 492.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009148/0.3524, allocations: 6.366 MB / 498.4 MB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.005713/0.3581, allocations: 4.198 MB / 0.4909 GB, free: 4.906 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002469/0.3584, allocations: 55.91 kB / 0.4909 GB, free: 4.852 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004696/0.3589, allocations: 170.5 kB / 0.4911 GB, free: 4.684 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002019/0.3591, allocations: 91.94 kB / 0.4912 GB, free: 4.594 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006513/0.3597, allocations: 0.7397 MB / 0.4919 GB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.3598, allocations: 4.031 kB / 0.4919 GB, free: 3.824 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009213/0.369, allocations: 6.443 MB / 0.4982 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000216/0.3692, allocations: 179.7 kB / 0.4984 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004785/0.3697, allocations: 152 kB / 0.4985 GB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009666/0.3707, allocations: 151.9 kB / 0.4986 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005908/0.3713, allocations: 344.1 kB / 0.499 GB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000219/0.3715, allocations: 95.95 kB / 0.4991 GB, free: 12.33 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004495/0.372, allocations: 386.8 kB / 0.4994 GB, free: 11.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.372, allocations: 0 / 0.4994 GB, free: 11.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001893/0.3739, allocations: 0.581 MB / 0.5 GB, free: 11.37 MB / 382.1 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 (P2.disMarksInOut,$cse3[1],$whenCondition5,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,P1.outTransition[1].tokenInOut,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,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,$whenCondition6,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) * Number of discrete states: 106 (P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.enableOut.Index,P2.enableOut.endWhile,P2.enableOut.sumEnablingProbTAout,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.randNum,P2.enableOut.posTE,P2.enableOut.k,P2.enableOut.nTAout,P2.enableOut.nremTAout,P2.enableOut.arcWeightSum,$whenCondition6,P1.disMarksInOut,P2.fireIn[1],P2.disMarksOut.anytrue,P2.disMarksIn.anytrue,P1.fireIn[1],P1.fireOut[1],P1.disMarksOut.anytrue,P1.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.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],$whenCondition3,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],$whenCondition2,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],$whenCondition1,P1.enableIn.TEin[1],P2.disMarkChange,P1.disMarkChange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 40 * Array equations: 1 * Algorithm blocks: 17 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01056/0.3845, allocations: 7.411 MB / 0.5072 GB, free: 3.824 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00641/0.3909, allocations: 4.833 MB / 0.512 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/0.3909, allocations: 3.938 kB / 0.512 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005222/0.3962, allocations: 5.782 MB / 0.5176 GB, free: 8.723 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.3973, allocations: 184.4 kB / 0.5178 GB, free: 8.543 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02306/0.4203, allocations: 15.97 MB / 0.5334 GB, free: 7.551 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/0.4214, allocations: 1.268 MB / 0.5346 GB, free: 6.254 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006317/0.4221, allocations: 263.9 kB / 0.5349 GB, free: 5.992 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005074/0.4226, allocations: 431.3 kB / 0.5353 GB, free: 5.574 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4226, allocations: 0 / 0.5353 GB, free: 5.574 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3244/0.747, allocations: 33.65 MB / 0.5681 GB, free: 3.855 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003299/0.7474, allocations: 256.9 kB / 0.5684 GB, free: 3.594 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.684/3.432, allocations: 4 kB / 0.5684 GB, free: 3.59 MB / 446.1 MB (rm -f PNlib_PNlib.Examples.ConTest.LoopAndArcweight.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.LoopAndArcweight.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.LoopAndArcweight.pipe >> ../files/PNlib_PNlib.Examples.ConTest.LoopAndArcweight.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.ConTest.LoopAndArcweight_res.mat --tempDir=temp_PNlib_PNlib_Examples_ConTest_LoopAndArcweight_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_ConTest_LoopAndArcweight.fmu > PNlib_PNlib.Examples.ConTest.LoopAndArcweight.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.ConTest.LoopAndArcweight_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.LoopAndArcweight.mat","../files/PNlib_PNlib.Examples.ConTest.LoopAndArcweight.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches