Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.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.DisTest.DisLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.DisLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight",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.0009906/0.0009906, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.007378/0.007378, allocations: 173.5 kB / 16.27 MB, free: 6.613 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.323/1.323, allocations: 223.3 MB / 240.3 MB, free: 5.359 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.73 MB / 308.2 MB, free: 15.64 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000335/0.0003351, allocations: 12.28 kB / 373.5 MB, free: 3.031 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2875, allocations: 54.48 MB / 428 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.001909/0.2895, allocations: 1.602 MB / 429.6 MB, free: 37.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003314/0.2928, allocations: 2.213 MB / 431.8 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001987/0.293, allocations: 7.094 kB / 431.8 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002759/0.2933, allocations: 90.78 kB / 431.9 MB, free: 37.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003227/0.2937, allocations: 100.5 kB / 432 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.2949, allocations: 0.7532 MB / 432.8 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008528/0.2958, allocations: 1.179 MB / 433.9 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002864/0.2961, allocations: 254.9 kB / 434.2 MB, free: 36.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004104/0.2965, allocations: 436.7 kB / 434.6 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003496/0.2969, allocations: 422.5 kB / 435 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.297, allocations: 54.19 kB / 435.1 MB, free: 36.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007499/0.2977, allocations: 0.7103 MB / 435.8 MB, free: 36.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.2979, allocations: 166.6 kB / 436 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000384/0.2983, allocations: 0.5084 MB / 436.5 MB, free: 36.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001164/0.2995, allocations: 1.622 MB / 438.1 MB, free: 35.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.2995, allocations: 0 / 438.1 MB, free: 35.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2995, allocations: 0 / 438.1 MB, free: 35.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.2995, allocations: 0 / 438.1 MB, free: 35.65 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.001372/0.3009, allocations: 1.332 MB / 439.4 MB, free: 34.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.3009, allocations: 8.906 kB / 439.4 MB, free: 34.6 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001955/0.3011, allocations: 171 kB / 439.6 MB, free: 34.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003674/0.3015, allocations: 132.4 kB / 439.7 MB, free: 34.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006057/0.3021, allocations: 0.5487 MB / 440.3 MB, free: 34.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/0.3023, allocations: 135.8 kB / 440.4 MB, free: 33.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000169/0.3024, allocations: 116.1 kB / 440.5 MB, free: 33.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002493/0.3049, allocations: 2.029 MB / 442.5 MB, free: 33.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.305, allocations: 7.938 kB / 442.6 MB, free: 33.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/0.3051, allocations: 64.75 kB / 442.6 MB, free: 33.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001323/0.3052, allocations: 89.23 kB / 442.7 MB, free: 33.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001882/0.3071, allocations: 1.429 MB / 444.1 MB, free: 32.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004091/0.3112, allocations: 4.235 MB / 448.4 MB, free: 29.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002088/0.3133, allocations: 2.407 MB / 450.8 MB, free: 28.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001967/0.3153, allocations: 2.307 MB / 453.1 MB, free: 26.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001168/0.3155, allocations: 83.58 kB / 453.2 MB, free: 26.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001722/0.3172, allocations: 1.318 MB / 454.5 MB, free: 26.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=91): time 2.535e-06/0.3172, allocations: 0 / 454.5 MB, free: 26.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=91): time 0.005571/0.3228, allocations: 3.967 MB / 458.4 MB, free: 24.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003479/0.3231, allocations: 0.6566 MB / 459.1 MB, free: 24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006422/0.3238, allocations: 0.5085 MB / 459.6 MB, free: 23.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001072/0.3239, allocations: 75.78 kB / 459.7 MB, free: 23.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002469/0.3242, allocations: 358.7 kB / 460 MB, free: 23.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001966/0.3244, allocations: 224.9 kB / 460.3 MB, free: 23.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002143/0.3246, allocations: 178.5 kB / 460.4 MB, free: 23.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.929e-05/0.3247, allocations: 324.6 kB / 460.8 MB, free: 22.85 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/0.3258, allocations: 0.5549 MB / 461.3 MB, free: 22.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001389/0.3272, allocations: 1.024 MB / 462.3 MB, free: 21.9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004035/0.3312, allocations: 3.205 MB / 465.5 MB, free: 19.53 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.486e-05/0.3312, allocations: 4.312 kB / 465.5 MB, free: 19.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003783/0.335, allocations: 2.228 MB / 467.8 MB, free: 18.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002125/0.3353, allocations: 352.6 kB / 468.1 MB, free: 18.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.898e-05/0.3353, allocations: 14.28 kB / 468.1 MB, free: 18.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.604e-05/0.3354, allocations: 20.5 kB / 468.1 MB, free: 18.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005303/0.3359, allocations: 161.2 kB / 468.3 MB, free: 18.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.943e-05/0.3359, allocations: 32.06 kB / 468.3 MB, free: 18.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007654/0.3367, allocations: 176.2 kB / 468.5 MB, free: 18.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/0.3369, allocations: 69.88 kB / 468.6 MB, free: 18.01 MB / 350.1 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" 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.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" 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 ) "priority Index" type: Integer T1.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer T1.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 149 ($PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,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.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,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.reStart,$whenCondition7,$PRE.P1.tokeninout,P1.outTransition[1].tokenInOut,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,P1.enableIn.disTransition[1],$PRE.T1.firingTime,$PRE.P1.enableIn.arcWeightSum,$PRE.P1.enableIn.TEin[1],$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[1],P1.enableIn.arcWeight[1],T1.activation.disPlaceOut[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.active,T1.activation.maxTokensInt[1],T1.activation.minTokensInt[1],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntOut[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.firingSumIn.firingSum,P1.firingSumIn.arcWeight[1],P1.firingSumIn.fire[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.enabledByInPlaces[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,P1.outTransition[1].fed,P1.inTransition[1].emptied) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 154 * Array equations: 1 * Algorithm blocks: 10 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001536/0.3384, allocations: 0.8998 MB / 469.5 MB, free: 17.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002094/0.3386, allocations: 99 kB / 469.6 MB, free: 17.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005271/0.3439, allocations: 3.343 MB / 472.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-05/0.3439, allocations: 15.34 kB / 472.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.344, allocations: 0 / 472.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.344, allocations: 3.141 kB / 472.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007121/0.3511, allocations: 4.755 MB / 477.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.3511, allocations: 4 kB / 477.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/0.3513, allocations: 40.89 kB / 477.7 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-06/0.3513, allocations: 2.766 kB / 477.7 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001368/0.3515, allocations: 52.97 kB / 477.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.3515, allocations: 1.969 kB / 477.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3515, allocations: 1.062 kB / 477.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005416/0.3569, allocations: 3.475 MB / 481.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.3571, allocations: 143.3 kB / 481.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002632/0.3573, allocations: 94.48 kB / 481.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006567/0.358, allocations: 98.89 kB / 481.6 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006563/0.3587, allocations: 374.1 kB / 482 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/0.3588, allocations: 67 kB / 482 MB, free: 12.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003856/0.3592, allocations: 304.6 kB / 482.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3592, allocations: 0 / 482.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001843/0.3611, allocations: 488.2 kB / 482.8 MB, free: 11.79 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 81 (T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,P1.t,P1.outTransition[1].tokenInOut,P1.tokeninout,P1.activeOut[1],P1.enabledByInPlaces[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.firingSumIn.fire[1],P1.firingSumIn.arcWeight[1],P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.tIntOut[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.minTokensInt[1],T1.activation.maxTokensInt[1],T1.activation.active) * Number of discrete states: 56 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,$whenCondition1,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.TEin_[1],P1.enableIn.valid,P1.enableIn.benefitLimit,P1.enableIn.benefitMax,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,$whenCondition2,P1.enableIn.arcWeightSum,P1.enableIn.TEin[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 36 * Array equations: 1 * Algorithm blocks: 8 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005445/0.3665, allocations: 4.384 MB / 487.2 MB, free: 7.938 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002968/0.3695, allocations: 2.677 MB / 489.9 MB, free: 5.137 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3695, allocations: 0 / 489.9 MB, free: 5.137 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002934/0.3725, allocations: 4.482 MB / 494.3 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007257/0.3732, allocations: 129.5 kB / 494.5 MB, free: 432 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0143/0.3875, allocations: 10.18 MB / 0.4928 GB, free: 5.738 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007592/0.3884, allocations: 1.03 MB / 0.4938 GB, free: 4.684 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006413/0.389, allocations: 213.7 kB / 0.494 GB, free: 4.473 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003608/0.3894, allocations: 251.3 kB / 0.4943 GB, free: 4.227 MB / 366.1 MB Notification: Performance of SimCode: time 1.493e-06/0.3894, allocations: 0 / 0.4943 GB, free: 4.227 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04098/0.4304, allocations: 22.98 MB / 0.5167 GB, free: 13.26 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/0.4306, allocations: 224.2 kB / 0.5169 GB, free: 13 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.455/2.886, allocations: 3.938 kB / 0.5169 GB, free: 13 MB / 398.1 MB (rm -f PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe >> ../files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_DisLoopAndArcweight.fmu > PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.DisLoopAndArcweight.mat","../files/PNlib_PNlib.Examples.DisTest.DisLoopAndArcweight.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches