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.001068/0.001068, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001407/0.001407, allocations: 194.5 kB / 16.25 MB, free: 6.625 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.3/1.3, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1679/0.1679, allocations: 16.76 MB / 306.8 MB, free: 15.02 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 63.91 kB / 371.2 MB, free: 3.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2339, allocations: 53.46 MB / 424.7 MB, free: 39.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.DisLoopAndArcweight): time 0.002252/0.2362, allocations: 1.974 MB / 426.7 MB, free: 38.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002196/0.2384, allocations: 1.945 MB / 428.6 MB, free: 37.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001438/0.2386, allocations: 5.656 kB / 428.6 MB, free: 37.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002468/0.2388, allocations: 89.22 kB / 428.7 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002794/0.2391, allocations: 101.2 kB / 428.8 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.2402, allocations: 0.8081 MB / 429.6 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008285/0.241, allocations: 1.506 MB / 431.1 MB, free: 36.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002303/0.2412, allocations: 265.4 kB / 431.4 MB, free: 36.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003148/0.2416, allocations: 0.5751 MB / 432 MB, free: 36.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003216/0.2419, allocations: 496.5 kB / 432.4 MB, free: 36.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001366/0.242, allocations: 139.8 kB / 432.6 MB, free: 36.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006914/0.2427, allocations: 0.8009 MB / 433.4 MB, free: 35.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001676/0.2429, allocations: 201.5 kB / 433.6 MB, free: 35.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004191/0.2433, allocations: 0.5778 MB / 434.2 MB, free: 35.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001429/0.2448, allocations: 1.754 MB / 435.9 MB, free: 34.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.2448, allocations: 4 kB / 435.9 MB, free: 34.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2448, allocations: 0 / 435.9 MB, free: 34.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.366e-05/0.2448, allocations: 0 / 435.9 MB, free: 34.7 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.001641/0.2465, allocations: 1.559 MB / 437.5 MB, free: 33.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.2465, allocations: 12.8 kB / 437.5 MB, free: 33.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001809/0.2467, allocations: 171.9 kB / 437.7 MB, free: 33.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003738/0.2471, allocations: 126.6 kB / 437.8 MB, free: 33.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005936/0.2477, allocations: 0.5425 MB / 438.3 MB, free: 33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.2478, allocations: 144.2 kB / 438.5 MB, free: 32.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.2479, allocations: 115.5 kB / 438.6 MB, free: 32.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002365/0.2503, allocations: 2.032 MB / 440.6 MB, free: 32.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.2504, allocations: 6.922 kB / 440.6 MB, free: 32.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/0.2505, allocations: 57.27 kB / 440.7 MB, free: 31.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001214/0.2506, allocations: 89.47 kB / 440.8 MB, free: 31.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001841/0.2524, allocations: 1.426 MB / 442.2 MB, free: 31.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004534/0.257, allocations: 4.267 MB / 446.5 MB, free: 28.63 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001846/0.2589, allocations: 2.397 MB / 448.8 MB, free: 27.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001792/0.2607, allocations: 2.307 MB / 451.2 MB, free: 25.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.495e-05/0.2608, allocations: 90.55 kB / 451.2 MB, free: 25.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001513/0.2623, allocations: 1.317 MB / 452.6 MB, free: 25.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=91): time 1.953e-06/0.2623, allocations: 0 / 452.6 MB, free: 25.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=91): time 0.004604/0.2669, allocations: 3.954 MB / 456.5 MB, free: 23.6 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002516/0.2672, allocations: 0.6614 MB / 457.2 MB, free: 22.94 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004922/0.2677, allocations: 0.5116 MB / 457.7 MB, free: 22.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.093e-05/0.2678, allocations: 76.92 kB / 457.8 MB, free: 22.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.2679, allocations: 350.4 kB / 458.1 MB, free: 22.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/0.2681, allocations: 232.6 kB / 458.3 MB, free: 22.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003216/0.2684, allocations: 296.5 kB / 458.6 MB, free: 22.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.753e-05/0.2685, allocations: 329.5 kB / 458.9 MB, free: 21.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007297/0.2692, allocations: 0.5495 MB / 459.5 MB, free: 21.56 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009039/0.2701, allocations: 1.025 MB / 460.5 MB, free: 20.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002774/0.2729, allocations: 3.192 MB / 463.7 MB, free: 18.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/0.2729, allocations: 3.875 kB / 463.7 MB, free: 18.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.00267/0.2756, allocations: 2.23 MB / 465.9 MB, free: 17.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001332/0.2758, allocations: 356.4 kB / 466.3 MB, free: 17.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.131e-05/0.2758, allocations: 13.75 kB / 466.3 MB, free: 17.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.754e-05/0.2758, allocations: 21.33 kB / 466.3 MB, free: 17.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004228/0.2762, allocations: 160.1 kB / 466.5 MB, free: 17.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.365e-05/0.2763, allocations: 27.33 kB / 466.5 MB, free: 17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005617/0.2768, allocations: 161.7 kB / 466.7 MB, free: 16.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-05/0.277, allocations: 69.42 kB / 466.7 MB, free: 16.91 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.0009168/0.2779, allocations: 0.8955 MB / 467.6 MB, free: 16.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/0.2781, allocations: 104.8 kB / 467.7 MB, free: 16.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004041/0.2821, allocations: 3.349 MB / 471.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.647e-05/0.2821, allocations: 7.031 kB / 471.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.2821, allocations: 0 / 471.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.2822, allocations: 3.094 kB / 471.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005808/0.288, allocations: 4.756 MB / 475.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-06/0.288, allocations: 0.7031 kB / 475.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.2881, allocations: 36.28 kB / 475.9 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.2882, allocations: 2.25 kB / 475.9 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000121/0.2883, allocations: 57.33 kB / 475.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.2883, allocations: 2.156 kB / 475.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2883, allocations: 0 / 475.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004257/0.2926, allocations: 3.477 MB / 479.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.357e-05/0.2927, allocations: 144.1 kB / 479.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002441/0.2929, allocations: 94.05 kB / 479.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005988/0.2935, allocations: 104.6 kB / 479.8 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005587/0.2941, allocations: 371.9 kB / 480.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001337/0.2942, allocations: 63.48 kB / 480.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003012/0.2945, allocations: 300.9 kB / 480.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2946, allocations: 3.938 kB / 480.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001359/0.2959, allocations: 487.3 kB / 481 MB, free: 10.69 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.00471/0.3006, allocations: 4.385 MB / 485.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003096/0.3037, allocations: 2.805 MB / 488.1 MB, free: 4.082 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.3038, allocations: 5.859 kB / 488.1 MB, free: 4.078 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002531/0.3063, allocations: 4.49 MB / 492.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006824/0.307, allocations: 141.4 kB / 492.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01255/0.3196, allocations: 10.16 MB / 0.4912 GB, free: 4.832 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005632/0.3202, allocations: 1.033 MB / 0.4922 GB, free: 3.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004593/0.3206, allocations: 217.2 kB / 0.4924 GB, free: 3.555 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002897/0.3209, allocations: 247.4 kB / 0.4926 GB, free: 3.312 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3209, allocations: 0 / 0.4926 GB, free: 3.312 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1087/0.4296, allocations: 23.92 MB / 0.516 GB, free: 11.41 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/0.4299, allocations: 224.3 kB / 0.5162 GB, free: 11.16 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.395/2.825, allocations: 5.859 kB / 0.5162 GB, free: 11.15 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