Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTDfunction.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.PDtoTDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTDfunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTDfunction",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.001431/0.001431, allocations: 108 kB / 15.63 MB, free: 112 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.001684/0.001684, allocations: 194.4 kB / 16.56 MB, free: 6.656 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.409/1.409, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.1752/0.1752, allocations: 16.76 MB / 307.2 MB, free: 14.93 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 63.91 kB / 371.8 MB, free: 3.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.285, allocations: 53.45 MB / 425.2 MB, free: 39.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.002402/0.2875, allocations: 1.863 MB / 427.1 MB, free: 38.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002505/0.29, allocations: 1.915 MB / 429 MB, free: 37.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001902/0.2902, allocations: 5.906 kB / 429 MB, free: 37.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00026/0.2905, allocations: 108.9 kB / 429.1 MB, free: 37.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002747/0.2908, allocations: 114.6 kB / 429.2 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.2921, allocations: 0.9037 MB / 430.1 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009906/0.2931, allocations: 1.427 MB / 431.6 MB, free: 36.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002133/0.2933, allocations: 169.3 kB / 431.7 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003908/0.2937, allocations: 0.5293 MB / 432.3 MB, free: 36.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003312/0.2941, allocations: 350.4 kB / 432.6 MB, free: 36.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.2942, allocations: 88.53 kB / 432.7 MB, free: 36.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005601/0.2948, allocations: 0.5062 MB / 433.2 MB, free: 36.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.2949, allocations: 152.4 kB / 433.3 MB, free: 36.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000281/0.2952, allocations: 395.2 kB / 433.7 MB, free: 35.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008404/0.296, allocations: 1.169 MB / 434.9 MB, free: 35.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.296, allocations: 0 / 434.9 MB, free: 35.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.296, allocations: 0 / 434.9 MB, free: 35.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.2961, allocations: 2.844 kB / 434.9 MB, free: 35.38 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.001234/0.2973, allocations: 1.27 MB / 436.2 MB, free: 34.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.2973, allocations: 12.39 kB / 436.2 MB, free: 34.36 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001174/0.2975, allocations: 127 kB / 436.3 MB, free: 34.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002597/0.2977, allocations: 91.48 kB / 436.4 MB, free: 34.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004541/0.2982, allocations: 435.2 kB / 436.8 MB, free: 33.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.956e-05/0.2983, allocations: 86.72 kB / 436.9 MB, free: 33.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.713e-05/0.2984, allocations: 82.3 kB / 437 MB, free: 33.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/0.3, allocations: 1.324 MB / 438.3 MB, free: 33.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.3, allocations: 2.656 kB / 438.3 MB, free: 33.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-05/0.3001, allocations: 34.58 kB / 438.4 MB, free: 33.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.863e-05/0.3002, allocations: 58.06 kB / 438.4 MB, free: 33.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/0.3014, allocations: 0.915 MB / 439.3 MB, free: 32.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002755/0.3042, allocations: 3.323 MB / 442.6 MB, free: 30.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/0.3055, allocations: 1.578 MB / 444.2 MB, free: 29.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001079/0.3066, allocations: 1.451 MB / 445.7 MB, free: 28.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.019e-05/0.3067, allocations: 83.67 kB / 445.8 MB, free: 28.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001119/0.3078, allocations: 0.919 MB / 446.7 MB, free: 28.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 3.246e-06/0.3078, allocations: 0 / 446.7 MB, free: 28.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.003269/0.3111, allocations: 2.621 MB / 449.3 MB, free: 26.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001853/0.3113, allocations: 0.5395 MB / 449.8 MB, free: 26.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000348/0.3116, allocations: 416.1 kB / 450.2 MB, free: 26.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.809e-05/0.3117, allocations: 64.66 kB / 450.3 MB, free: 26.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.3118, allocations: 262.2 kB / 450.6 MB, free: 25.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.312, allocations: 189.4 kB / 450.7 MB, free: 25.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002598/0.3122, allocations: 233 kB / 451 MB, free: 25.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.666e-05/0.3123, allocations: 375.9 kB / 451.3 MB, free: 25.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005668/0.3129, allocations: 444.5 kB / 451.8 MB, free: 25.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006981/0.3136, allocations: 0.8016 MB / 452.6 MB, free: 24.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002173/0.3158, allocations: 2.555 MB / 455.1 MB, free: 22.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.177e-05/0.3158, allocations: 3.062 kB / 455.1 MB, free: 22.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002052/0.3179, allocations: 1.822 MB / 457 MB, free: 21.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001414/0.318, allocations: 335.4 kB / 457.3 MB, free: 21.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/0.3181, allocations: 9.844 kB / 457.3 MB, free: 21.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.58e-05/0.3181, allocations: 18.41 kB / 457.3 MB, free: 21.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003356/0.3184, allocations: 123.2 kB / 457.4 MB, free: 21.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.139e-05/0.3185, allocations: 28.97 kB / 457.5 MB, free: 21.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000443/0.3189, allocations: 130.7 kB / 457.6 MB, free: 21.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.893e-05/0.319, allocations: 59.47 kB / 457.6 MB, free: 21.35 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: 51 * 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.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.enableOut.arcWeight[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 (134): * Single equations (assignments): 123 * 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.0007429/0.3197, allocations: 0.7565 MB / 458.4 MB, free: 20.78 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/0.3199, allocations: 76.22 kB / 458.5 MB, free: 20.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002653/0.3226, allocations: 2.018 MB / 460.5 MB, free: 19.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/0.3226, allocations: 7.469 kB / 460.5 MB, free: 19.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3226, allocations: 0.9062 kB / 460.5 MB, free: 19.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.3226, allocations: 5.188 kB / 460.5 MB, free: 19.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003775/0.3264, allocations: 3.039 MB / 463.5 MB, free: 18.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.3264, allocations: 1.062 kB / 463.6 MB, free: 18.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.3265, allocations: 34.28 kB / 463.6 MB, free: 18.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-06/0.3266, allocations: 6.062 kB / 463.6 MB, free: 18.4 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.009e-05/0.3267, allocations: 39.7 kB / 463.6 MB, free: 18.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.3267, allocations: 5.062 kB / 463.6 MB, free: 18.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.3267, allocations: 1.125 kB / 463.6 MB, free: 18.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002964/0.3296, allocations: 2.378 MB / 466 MB, free: 17.24 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.948e-05/0.3297, allocations: 137.5 kB / 466.1 MB, free: 17.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001916/0.3299, allocations: 74.3 kB / 466.2 MB, free: 17.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004513/0.3304, allocations: 82.78 kB / 466.3 MB, free: 17.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005024/0.3309, allocations: 328.7 kB / 466.6 MB, free: 16.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/0.331, allocations: 45.77 kB / 466.7 MB, free: 16.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002227/0.3312, allocations: 243.8 kB / 466.9 MB, free: 16.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3312, allocations: 0 / 466.9 MB, free: 16.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001118/0.3324, allocations: 339 kB / 467.2 MB, free: 16.78 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: 69 ($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.arcWeight[1],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 (39): * Single equations (assignments): 26 * 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.00389/0.3363, allocations: 3.2 MB / 470.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002357/0.3386, allocations: 2.108 MB / 472.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3387, allocations: 0 / 472.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002077/0.3407, allocations: 3.152 MB / 475.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005965/0.3414, allocations: 113.5 kB / 475.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/0.3523, allocations: 8.101 MB / 483.9 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/0.3528, allocations: 0.922 MB / 484.8 MB, free: 6.027 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003612/0.3531, allocations: 144.3 kB / 485 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002195/0.3534, allocations: 191.5 kB / 485.2 MB, free: 5.879 MB / 350.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3534, allocations: 4 kB / 485.2 MB, free: 5.875 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03687/0.3902, allocations: 17.76 MB / 0.4911 GB, free: 5.426 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.426/6.816, allocations: 4.062 kB / 0.4911 GB, free: 5.422 MB / 366.1 MB (rm -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTDfunction_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_PDtoTDfunction.fmu > PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.mat","../files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.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