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.001044/0.00105, allocations: 90.67 kB / 15.36 MB, free: 0.7344 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.008223/0.008223, allocations: 169.5 kB / 16.26 MB, free: 6.68 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.405/1.405, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1991/0.1991, allocations: 16.74 MB / 308.2 MB, free: 15.66 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003519/0.0003521, allocations: 12 kB / 373.5 MB, free: 3.031 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2877, allocations: 54.47 MB / 428 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.LoopAndArcweight): time 0.002711/0.2905, allocations: 2.441 MB / 430.4 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004108/0.2946, allocations: 2.652 MB / 433.1 MB, free: 36.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004347/0.295, allocations: 11.19 kB / 433.1 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003561/0.2954, allocations: 168.8 kB / 433.3 MB, free: 36.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005053/0.2959, allocations: 167.9 kB / 433.4 MB, free: 36.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001702/0.2976, allocations: 0.8968 MB / 434.3 MB, free: 36.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001579/0.2992, allocations: 2.12 MB / 436.4 MB, free: 35.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003745/0.2996, allocations: 349.3 kB / 436.8 MB, free: 35.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006964/0.3003, allocations: 0.7532 MB / 437.5 MB, free: 35.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006465/0.301, allocations: 0.6584 MB / 438.2 MB, free: 34.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001612/0.3011, allocations: 75.09 kB / 438.3 MB, free: 34.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007771/0.3019, allocations: 449 kB / 438.7 MB, free: 34.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000269/0.3022, allocations: 325.1 kB / 439 MB, free: 34.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006139/0.3028, allocations: 0.7624 MB / 439.8 MB, free: 34.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00163/0.3045, allocations: 2.044 MB / 441.8 MB, free: 33.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3045, allocations: 0 / 441.8 MB, free: 33.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.3045, allocations: 0 / 441.8 MB, free: 33.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.167e-05/0.3045, allocations: 0 / 441.8 MB, free: 33.39 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.002188/0.3067, allocations: 2.033 MB / 443.9 MB, free: 31.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.3068, allocations: 12.88 kB / 443.9 MB, free: 31.79 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003128/0.3071, allocations: 263.3 kB / 444.1 MB, free: 31.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001537/0.3086, allocations: 359.6 kB / 444.5 MB, free: 31.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009733/0.3096, allocations: 0.7484 MB / 445.2 MB, free: 31.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002413/0.3099, allocations: 389.4 kB / 445.6 MB, free: 30.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002473/0.3101, allocations: 186.1 kB / 445.8 MB, free: 30.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003861/0.314, allocations: 3.065 MB / 448.9 MB, free: 29.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.191e-05/0.314, allocations: 3.938 kB / 448.9 MB, free: 29.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001841/0.3142, allocations: 89.34 kB / 449 MB, free: 29.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000224/0.3145, allocations: 154.8 kB / 449.1 MB, free: 29.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003199/0.3177, allocations: 2.242 MB / 451.3 MB, free: 28.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006767/0.3245, allocations: 5.768 MB / 457.1 MB, free: 25.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00298/0.3275, allocations: 2.946 MB / 460.1 MB, free: 23.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003091/0.3306, allocations: 2.766 MB / 462.8 MB, free: 21.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001984/0.3308, allocations: 110 kB / 462.9 MB, free: 21.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002551/0.3334, allocations: 1.718 MB / 464.7 MB, free: 21.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=148): time 3.517e-06/0.3334, allocations: 0 / 464.7 MB, free: 21.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=148): time 0.008985/0.3424, allocations: 5.507 MB / 470.2 MB, free: 18.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004736/0.3429, allocations: 1.074 MB / 471.2 MB, free: 17.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009486/0.3439, allocations: 0.6815 MB / 471.9 MB, free: 17.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001801/0.344, allocations: 101.2 kB / 472 MB, free: 17.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003232/0.3444, allocations: 0.5168 MB / 472.5 MB, free: 16.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003116/0.3447, allocations: 396.3 kB / 472.9 MB, free: 16.63 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003367/0.345, allocations: 279.5 kB / 473.2 MB, free: 16.53 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.254e-05/0.3451, allocations: 332.2 kB / 473.5 MB, free: 16.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001519/0.3466, allocations: 0.9129 MB / 474.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001843/0.3485, allocations: 1.639 MB / 476.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003574/0.3521, allocations: 3.626 MB / 479.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.28e-05/0.3521, allocations: 5.531 kB / 479.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005139/0.3573, allocations: 3.573 MB / 483.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003231/0.3576, allocations: 0.6956 MB / 484 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002563/0.3602, allocations: 1.835 MB / 485.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001227/0.3615, allocations: 341.5 kB / 486.1 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007532/0.3622, allocations: 238.5 kB / 486.4 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005405/0.3628, allocations: 0.7708 MB / 487.1 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/0.3639, allocations: 273.7 kB / 487.4 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001585/0.364, allocations: 116 kB / 487.5 MB, free: 7.059 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.001609/0.3657, allocations: 1.472 MB / 489 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003343/0.366, allocations: 146.9 kB / 489.1 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005376/0.3714, allocations: 4.379 MB / 493.5 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.096e-05/0.3715, allocations: 8 kB / 493.5 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.3715, allocations: 0 / 493.5 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.3715, allocations: 7.922 kB / 493.5 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009333/0.3808, allocations: 6.403 MB / 499.9 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.006019/0.3869, allocations: 4.214 MB / 0.4923 GB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002642/0.3872, allocations: 55.91 kB / 0.4924 GB, free: 5.906 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006354/0.3878, allocations: 228.7 kB / 0.4926 GB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000189/0.388, allocations: 87.94 kB / 0.4927 GB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006413/0.3887, allocations: 0.7514 MB / 0.4934 GB, free: 4.816 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3887, allocations: 4.062 kB / 0.4934 GB, free: 4.812 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009552/0.3983, allocations: 6.483 MB / 0.4998 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002582/0.3986, allocations: 179.7 kB / 0.4999 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004418/0.399, allocations: 155.9 kB / 0.5001 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/0.4001, allocations: 171.9 kB / 0.5002 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006092/0.4007, allocations: 336.3 kB / 0.5006 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002439/0.4009, allocations: 107.9 kB / 0.5007 GB, free: 13.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005022/0.4015, allocations: 382.8 kB / 0.501 GB, free: 12.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4015, allocations: 0 / 0.501 GB, free: 12.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002058/0.4035, allocations: 0.5849 MB / 0.5016 GB, free: 12.29 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.01089/0.4144, allocations: 7.43 MB / 0.5089 GB, free: 4.719 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006032/0.4205, allocations: 4.612 MB / 0.5134 GB, free: 15.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.4205, allocations: 0 / 0.5134 GB, free: 15.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005436/0.426, allocations: 5.78 MB / 0.519 GB, free: 9.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.4272, allocations: 190.8 kB / 0.5192 GB, free: 9.652 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02448/0.4517, allocations: 16.01 MB / 0.5348 GB, free: 8.613 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001298/0.453, allocations: 1.269 MB / 0.5361 GB, free: 7.316 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007311/0.4538, allocations: 259.6 kB / 0.5363 GB, free: 7.059 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006175/0.4544, allocations: 431.3 kB / 0.5367 GB, free: 6.641 MB / 414.1 MB Notification: Performance of SimCode: time 1.373e-06/0.4544, allocations: 0 / 0.5367 GB, free: 6.641 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06122/0.5156, allocations: 32.28 MB / 0.5682 GB, free: 6.309 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002012/0.5159, allocations: 246.4 kB / 0.5685 GB, free: 6.055 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.74/3.256, allocations: 3.938 kB / 0.5685 GB, free: 6.051 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