Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTD.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.PDtoTD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTD",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.001126/0.001126, allocations: 91.69 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.008113/0.008113, allocations: 172 kB / 16.26 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.342/1.342, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1913/0.1913, allocations: 16.73 MB / 308.2 MB, free: 15.61 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002851/0.0002851, allocations: 12 kB / 373.5 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2784, allocations: 54.48 MB / 428 MB, free: 37.99 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.001753/0.2802, allocations: 1.609 MB / 429.6 MB, free: 37.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003153/0.2834, allocations: 2.203 MB / 431.8 MB, free: 37.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001731/0.2836, allocations: 6.812 kB / 431.8 MB, free: 37.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002554/0.2838, allocations: 90.39 kB / 431.9 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000292/0.2841, allocations: 92.06 kB / 432 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.2854, allocations: 0.7492 MB / 432.7 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007924/0.2862, allocations: 1.119 MB / 433.9 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001892/0.2864, allocations: 149.3 kB / 434 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003158/0.2867, allocations: 416.2 kB / 434.4 MB, free: 37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002886/0.287, allocations: 305 kB / 434.7 MB, free: 36.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.379e-05/0.2871, allocations: 33.25 kB / 434.7 MB, free: 36.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000476/0.2876, allocations: 460.9 kB / 435.2 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.2877, allocations: 120.6 kB / 435.3 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002583/0.2879, allocations: 356.2 kB / 435.7 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007252/0.2887, allocations: 1.055 MB / 436.7 MB, free: 36.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.2887, allocations: 0 / 436.7 MB, free: 36.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2887, allocations: 0 / 436.7 MB, free: 36.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.2887, allocations: 0 / 436.7 MB, free: 36.13 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001091/0.2898, allocations: 1.135 MB / 437.9 MB, free: 35.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.2898, allocations: 9.469 kB / 437.9 MB, free: 35.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001476/0.29, allocations: 124.5 kB / 438 MB, free: 35.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002658/0.2903, allocations: 92.58 kB / 438.1 MB, free: 35.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004343/0.2907, allocations: 433.7 kB / 438.5 MB, free: 34.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.056e-05/0.2908, allocations: 88.58 kB / 438.6 MB, free: 34.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.2909, allocations: 74.98 kB / 438.7 MB, free: 34.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/0.2926, allocations: 1.33 MB / 440 MB, free: 34.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.2926, allocations: 0 / 440 MB, free: 34.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.028e-05/0.2927, allocations: 41.3 kB / 440 MB, free: 34.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.439e-05/0.2928, allocations: 57.33 kB / 440.1 MB, free: 34.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.2941, allocations: 0.9049 MB / 441 MB, free: 33.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002808/0.2969, allocations: 3.307 MB / 444.3 MB, free: 31.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/0.2982, allocations: 1.458 MB / 445.8 MB, free: 30.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001071/0.2993, allocations: 1.36 MB / 447.1 MB, free: 29.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.911e-05/0.2993, allocations: 83.45 kB / 447.2 MB, free: 29.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001086/0.3004, allocations: 0.9021 MB / 448.1 MB, free: 29.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.094e-06/0.3004, allocations: 0 / 448.1 MB, free: 29.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.003193/0.3036, allocations: 2.538 MB / 450.6 MB, free: 27.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001935/0.3039, allocations: 0.5669 MB / 451.2 MB, free: 27.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003408/0.3042, allocations: 414.2 kB / 451.6 MB, free: 27.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.837e-05/0.3043, allocations: 77.08 kB / 451.7 MB, free: 27.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.3044, allocations: 263.2 kB / 451.9 MB, free: 26.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.3046, allocations: 193.4 kB / 452.1 MB, free: 26.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.3047, allocations: 142.2 kB / 452.3 MB, free: 26.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.688e-05/0.3048, allocations: 377 kB / 452.6 MB, free: 26.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000601/0.3054, allocations: 442 kB / 453.1 MB, free: 26.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007182/0.3061, allocations: 0.8137 MB / 453.9 MB, free: 25.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002253/0.3084, allocations: 2.548 MB / 456.4 MB, free: 23.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/0.3084, allocations: 3.406 kB / 456.4 MB, free: 23.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002109/0.3105, allocations: 1.832 MB / 458.3 MB, free: 22.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000121/0.3106, allocations: 335.1 kB / 458.6 MB, free: 22.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.3107, allocations: 12.38 kB / 458.6 MB, free: 22.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/0.3107, allocations: 25.56 kB / 458.6 MB, free: 22.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003435/0.3111, allocations: 122.7 kB / 458.8 MB, free: 22.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.046e-05/0.3111, allocations: 28.23 kB / 458.8 MB, free: 22.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004755/0.3116, allocations: 138.2 kB / 458.9 MB, free: 22.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-05/0.3117, allocations: 58.11 kB / 459 MB, free: 22.33 MB / 350.1 MB Warning: Assuming fixed start value for the following 25 variables: 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 P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority 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.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.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 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: 52 * Number of states: 0 () * Number of discrete variables: 128 ($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,T1.inPlaces[1].tokenInOut,$PRE.P1.tokeninout,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumIn.firingSum,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,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],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,$PRE.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[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.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,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.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,T1.enabledByOutPlaces,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 124 * 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.0006816/0.3123, allocations: 0.7492 MB / 459.7 MB, free: 21.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.3125, allocations: 70.53 kB / 459.8 MB, free: 21.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002562/0.315, allocations: 1.959 MB / 461.7 MB, free: 20.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-05/0.3151, allocations: 5.156 kB / 461.8 MB, free: 20.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.3151, allocations: 0 / 461.8 MB, free: 20.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.3151, allocations: 12.69 kB / 461.8 MB, free: 20.87 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003734/0.3188, allocations: 2.98 MB / 464.7 MB, free: 19.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.3188, allocations: 1.438 kB / 464.7 MB, free: 19.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.319, allocations: 25.88 kB / 464.8 MB, free: 19.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.319, allocations: 5.25 kB / 464.8 MB, free: 19.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.511e-05/0.3191, allocations: 42.72 kB / 464.8 MB, free: 19.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.3191, allocations: 2.125 kB / 464.8 MB, free: 19.42 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.3191, allocations: 1.641 kB / 464.8 MB, free: 19.42 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003159/0.3223, allocations: 2.324 MB / 467.1 MB, free: 18.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.156e-05/0.3223, allocations: 130.2 kB / 467.3 MB, free: 18.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/0.3226, allocations: 78.78 kB / 467.4 MB, free: 18.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000493/0.3231, allocations: 69.64 kB / 467.4 MB, free: 18.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005474/0.3236, allocations: 326.7 kB / 467.7 MB, free: 18.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.893e-05/0.3237, allocations: 49.48 kB / 467.8 MB, free: 18.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002373/0.324, allocations: 251.6 kB / 468 MB, free: 17.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.324, allocations: 0 / 468 MB, free: 17.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001561/0.3255, allocations: 339.2 kB / 468.4 MB, free: 17.86 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 68 ($whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],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.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,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,T1.inPlaces[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 52 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,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,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.benefitLimit,P1.enableIn.valid,P1.enableIn.benefitMax,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 24 * 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.003936/0.3295, allocations: 3.155 MB / 471.5 MB, free: 16.12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002656/0.3322, allocations: 2.071 MB / 473.6 MB, free: 14.92 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3322, allocations: 3.938 kB / 473.6 MB, free: 14.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002539/0.3347, allocations: 3.053 MB / 476.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007028/0.3354, allocations: 102.4 kB / 476.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01213/0.3476, allocations: 8.123 MB / 484.9 MB, free: 7.789 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000479/0.3481, allocations: 0.9175 MB / 485.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004417/0.3486, allocations: 143.4 kB / 485.9 MB, free: 7.047 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002374/0.3488, allocations: 191.4 kB / 486.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3488, allocations: 3.938 kB / 486.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0305/0.3793, allocations: 16.94 MB / 0.4913 GB, free: 7.645 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/0.3795, allocations: 208 kB / 0.4915 GB, free: 7.391 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.219/2.598, allocations: 4.062 kB / 0.4915 GB, free: 7.387 MB / 366.1 MB (rm -f PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.PDtoTD_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTD_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_PDtoTD.fmu > PNlib_PNlib.Examples.DisTest.PDtoTD.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.mat","../files/PNlib_PNlib.Examples.DisTest.PDtoTD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches