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 2.2.0-master/package.mo", uses=false) Using package PNlib with version 2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.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.001225/0.001225, allocations: 108 kB / 15.63 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 194.5 kB / 16.55 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.1824/0.1824, allocations: 16.74 MB / 307.1 MB, free: 14.99 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001823, allocations: 63.91 kB / 371.8 MB, free: 3.355 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2822, allocations: 53.45 MB / 425.2 MB, free: 39.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.00254/0.2848, allocations: 1.858 MB / 427.1 MB, free: 38.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002646/0.2874, allocations: 1.912 MB / 429 MB, free: 37.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002009/0.2876, allocations: 5.469 kB / 429 MB, free: 37.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002923/0.2879, allocations: 108.8 kB / 429.1 MB, free: 37.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002963/0.2883, allocations: 116.8 kB / 429.2 MB, free: 37.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0015/0.2898, allocations: 0.9029 MB / 430.1 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009649/0.2908, allocations: 1.427 MB / 431.6 MB, free: 36.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/0.291, allocations: 162.9 kB / 431.7 MB, free: 36.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003664/0.2913, allocations: 0.531 MB / 432.2 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003288/0.2917, allocations: 356.4 kB / 432.6 MB, free: 36.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.2918, allocations: 87.66 kB / 432.7 MB, free: 36.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000555/0.2924, allocations: 0.5041 MB / 433.2 MB, free: 36.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.2925, allocations: 148.4 kB / 433.3 MB, free: 36.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002813/0.2928, allocations: 394.9 kB / 433.7 MB, free: 35.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008258/0.2936, allocations: 1.167 MB / 434.9 MB, free: 35.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2936, allocations: 4 kB / 434.9 MB, free: 35.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2936, allocations: 0 / 434.9 MB, free: 35.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.415e-06/0.2937, allocations: 0 / 434.9 MB, free: 35.36 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.001277/0.2949, allocations: 1.269 MB / 436.2 MB, free: 34.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.295, allocations: 13.23 kB / 436.2 MB, free: 34.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001192/0.2951, allocations: 128.3 kB / 436.3 MB, free: 34.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002688/0.2954, allocations: 95.89 kB / 436.4 MB, free: 34.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005044/0.2959, allocations: 439.4 kB / 436.8 MB, free: 33.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.373e-05/0.296, allocations: 80.11 kB / 436.9 MB, free: 33.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.2961, allocations: 88.39 kB / 437 MB, free: 33.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001624/0.2977, allocations: 1.321 MB / 438.3 MB, free: 33.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.2978, allocations: 2.812 kB / 438.3 MB, free: 33.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.302e-05/0.2979, allocations: 34.58 kB / 438.3 MB, free: 33.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.878e-05/0.298, allocations: 57.81 kB / 438.4 MB, free: 33.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001249/0.2992, allocations: 0.9006 MB / 439.3 MB, free: 32.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003059/0.3023, allocations: 3.306 MB / 442.6 MB, free: 30.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001245/0.3035, allocations: 1.457 MB / 444.1 MB, free: 29.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001019/0.3046, allocations: 1.361 MB / 445.4 MB, free: 28.69 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.692e-05/0.3047, allocations: 87.31 kB / 445.5 MB, free: 28.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001126/0.3058, allocations: 0.8927 MB / 446.4 MB, free: 28.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 1.873e-06/0.3058, allocations: 0 / 446.4 MB, free: 28.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.003145/0.309, allocations: 2.532 MB / 448.9 MB, free: 27.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001982/0.3092, allocations: 0.5603 MB / 449.5 MB, free: 26.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000368/0.3095, allocations: 426.9 kB / 449.9 MB, free: 26.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.064e-05/0.3096, allocations: 69.58 kB / 450 MB, free: 26.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.3098, allocations: 274.8 kB / 450.2 MB, free: 26.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.3099, allocations: 191.4 kB / 450.4 MB, free: 25.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002562/0.3102, allocations: 225.5 kB / 450.7 MB, free: 25.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.018e-05/0.3102, allocations: 377.7 kB / 451 MB, free: 25.49 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005745/0.3108, allocations: 443.6 kB / 451.5 MB, free: 25.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007087/0.3115, allocations: 0.813 MB / 452.3 MB, free: 24.72 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002231/0.3138, allocations: 2.539 MB / 454.8 MB, free: 22.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/0.3138, allocations: 6.562 kB / 454.8 MB, free: 22.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002072/0.3159, allocations: 1.824 MB / 456.6 MB, free: 21.9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001269/0.316, allocations: 334.7 kB / 457 MB, free: 21.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/0.3161, allocations: 11.72 kB / 457 MB, free: 21.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.889e-05/0.3161, allocations: 17.47 kB / 457 MB, free: 21.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003412/0.3164, allocations: 130 kB / 457.1 MB, free: 21.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.062e-05/0.3165, allocations: 25.73 kB / 457.1 MB, free: 21.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004718/0.3169, allocations: 132.2 kB / 457.3 MB, free: 21.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.291e-05/0.317, allocations: 61.52 kB / 457.3 MB, free: 21.45 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.0007492/0.3178, allocations: 0.7581 MB / 458.1 MB, free: 20.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.3179, allocations: 76.88 kB / 458.2 MB, free: 20.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002589/0.3205, allocations: 1.946 MB / 460.1 MB, free: 20 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.866e-05/0.3206, allocations: 12.03 kB / 460.1 MB, free: 19.99 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3206, allocations: 0 / 460.1 MB, free: 19.99 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.3206, allocations: 4.938 kB / 460.1 MB, free: 19.99 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003781/0.3244, allocations: 2.98 MB / 463.1 MB, free: 18.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.3244, allocations: 1.344 kB / 463.1 MB, free: 18.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.3245, allocations: 23.77 kB / 463.1 MB, free: 18.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.3245, allocations: 2.406 kB / 463.1 MB, free: 18.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.995e-05/0.3246, allocations: 42.78 kB / 463.2 MB, free: 18.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.3246, allocations: 10.25 kB / 463.2 MB, free: 18.54 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3246, allocations: 1.156 kB / 463.2 MB, free: 18.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003021/0.3277, allocations: 2.314 MB / 465.5 MB, free: 17.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.192e-05/0.3278, allocations: 132.8 kB / 465.6 MB, free: 17.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001862/0.328, allocations: 78.36 kB / 465.7 MB, free: 17.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004724/0.3284, allocations: 74.42 kB / 465.8 MB, free: 17.26 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005036/0.329, allocations: 324.3 kB / 466.1 MB, free: 17.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001416/0.3291, allocations: 49.66 kB / 466.1 MB, free: 17.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002917/0.3294, allocations: 251.6 kB / 466.4 MB, free: 17.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3294, allocations: 0 / 466.4 MB, free: 17.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001124/0.3306, allocations: 341.3 kB / 466.7 MB, free: 16.97 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.004069/0.3346, allocations: 3.138 MB / 469.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002571/0.3372, allocations: 2.072 MB / 471.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.3373, allocations: 3.344 kB / 471.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002429/0.3397, allocations: 3.062 MB / 475 MB, free: 11.78 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006825/0.3404, allocations: 117.6 kB / 475.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01161/0.352, allocations: 8.017 MB / 483.1 MB, free: 7.047 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000555/0.3526, allocations: 0.9215 MB / 484.1 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004036/0.353, allocations: 140.8 kB / 484.2 MB, free: 6.309 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002541/0.3533, allocations: 188.2 kB / 484.4 MB, free: 6.176 MB / 350.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3533, allocations: 0 / 484.4 MB, free: 6.176 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04201/0.3953, allocations: 17.71 MB / 0.4903 GB, free: 6.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.541/6.936, allocations: 6.938 kB / 0.4903 GB, free: 6.246 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) "" Variables in the reference:P1.t,T1.active,T1.fire,time Variables in the result:P1.N,P1.animateMarking,P1.benefitType,P1.color[1],P1.color[2],P1.color[3],P1.enablingBeneOut[1],P1.enablingPrioOut[1],P1.enablingProbOut[1],P1.enablingType,P1.levelCon,P1.localSeedIn,P1.localSeedOut,P1.maxTokens,P1.minTokens,P1.nIn,P1.nOut,P1.outTransition[1].active,P1.outTransition[1].arcType,P1.outTransition[1].arcWeight,P1.outTransition[1].arcWeightint,P1.outTransition[1].decreasingFactor,P1.outTransition[1].disPlace,P1.outTransition[1].disTransition,P1.outTransition[1].enable,P1.outTransition[1].fed,P1.outTransition[1].fire,P1.outTransition[1].instSpeed,P1.outTransition[1].maxSpeed,P1.outTransition[1].minTokens,P1.outTransition[1].minTokensint,P1.outTransition[1].normalArc,P1.outTransition[1].prelimSpeed,P1.outTransition[1].speedSum,P1.outTransition[1].t,P1.outTransition[1].testValue,P1.outTransition[1].testValueint,P1.outTransition[1].tint,P1.outTransition[1].tokenInOut,P1.pd_t,P1.reStart,P1.reStartTokens,P1.showCapacity,P1.showTokenFlow,P1.startTokens,P1.t,T1.active,T1.arcWeightIn[1],T1.delay,T1.fire,T1.firingCon,T1.inPlaces[1].active,T1.inPlaces[1].arcType,T1.inPlaces[1].arcWeight,T1.inPlaces[1].arcWeightint,T1.inPlaces[1].decreasingFactor,T1.inPlaces[1].disPlace,T1.inPlaces[1].disTransition,T1.inPlaces[1].enable,T1.inPlaces[1].fed,T1.inPlaces[1].fire,T1.inPlaces[1].instSpeed,T1.inPlaces[1].maxSpeed,T1.inPlaces[1].minTokens,T1.inPlaces[1].minTokensint,T1.inPlaces[1].normalArc,T1.inPlaces[1].prelimSpeed,T1.inPlaces[1].speedSum,T1.inPlaces[1].t,T1.inPlaces[1].testValue,T1.inPlaces[1].testValueint,T1.inPlaces[1].tint,T1.inPlaces[1].tokenInOut,T1.nIn,T1.nOut,settings.M,settings.N,settings.animateHazardFunc,settings.animateMarking,settings.animatePlace,settings.animatePutFireTime,settings.animateSpeed,settings.animateTIarc,settings.animateTransition,settings.animateWeightTIarc,settings.globalSeed,settings.scale,settings.showCapacity,settings.showPlaceName,settings.showTime,settings.showTokenFlow,settings.showTransitionName,settings.timeFire,time