Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTT.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.PDtoTT,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTT,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTT",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.001532/0.001532, 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.00179/0.00179, allocations: 192.5 kB / 16.55 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.318/1.318, 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.1825/0.1825, allocations: 16.75 MB / 307.2 MB, free: 14.91 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002192, allocations: 63.89 kB / 371.8 MB, free: 3.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3118, allocations: 53.45 MB / 425.2 MB, free: 39.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTT): time 0.003022/0.3149, allocations: 1.857 MB / 427.1 MB, free: 38.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003431/0.3184, allocations: 1.955 MB / 429 MB, free: 38.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003426/0.3187, allocations: 12.66 kB / 429.1 MB, free: 38.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003456/0.3191, allocations: 102.7 kB / 429.2 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003371/0.3195, allocations: 125.3 kB / 429.3 MB, free: 38.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001814/0.3213, allocations: 0.9087 MB / 430.2 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001166/0.3225, allocations: 1.421 MB / 431.6 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002487/0.3227, allocations: 159.8 kB / 431.8 MB, free: 36.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004325/0.3232, allocations: 0.5372 MB / 432.3 MB, free: 36.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003874/0.3236, allocations: 348.5 kB / 432.6 MB, free: 36.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.3237, allocations: 90.97 kB / 432.7 MB, free: 36.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006671/0.3244, allocations: 0.5057 MB / 433.2 MB, free: 36.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001623/0.3245, allocations: 148.1 kB / 433.4 MB, free: 36.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002945/0.3248, allocations: 391.2 kB / 433.8 MB, free: 36.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009589/0.3258, allocations: 1.17 MB / 434.9 MB, free: 35.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3258, allocations: 0 / 434.9 MB, free: 35.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3258, allocations: 0 / 434.9 MB, free: 35.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.216e-06/0.3258, allocations: 0 / 434.9 MB, free: 35.56 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001377/0.3272, allocations: 1.279 MB / 436.2 MB, free: 34.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.3273, allocations: 13.17 kB / 436.2 MB, free: 34.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001263/0.3274, allocations: 116 kB / 436.3 MB, free: 34.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002857/0.3277, allocations: 89.8 kB / 436.4 MB, free: 34.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004505/0.3282, allocations: 441.4 kB / 436.9 MB, free: 34.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.713e-05/0.3282, allocations: 81.17 kB / 436.9 MB, free: 34.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.3284, allocations: 88.8 kB / 437 MB, free: 34.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/0.33, allocations: 1.319 MB / 438.3 MB, free: 33.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.33, allocations: 2.438 kB / 438.3 MB, free: 33.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-05/0.3301, allocations: 38.2 kB / 438.4 MB, free: 33.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.343e-05/0.3302, allocations: 51.22 kB / 438.4 MB, free: 33.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.3314, allocations: 0.8952 MB / 439.3 MB, free: 33.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002872/0.3343, allocations: 3.29 MB / 442.6 MB, free: 30.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/0.3355, allocations: 1.528 MB / 444.1 MB, free: 29.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/0.3366, allocations: 1.362 MB / 445.5 MB, free: 28.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.986e-05/0.3367, allocations: 84.5 kB / 445.6 MB, free: 28.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001151/0.3379, allocations: 0.889 MB / 446.5 MB, free: 28.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.335e-06/0.3379, allocations: 7.094 kB / 446.5 MB, free: 28.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.003251/0.3412, allocations: 2.527 MB / 449 MB, free: 27.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002143/0.3414, allocations: 0.5592 MB / 449.6 MB, free: 26.67 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003635/0.3418, allocations: 423.3 kB / 450 MB, free: 26.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.206e-05/0.3418, allocations: 67.84 kB / 450.1 MB, free: 26.4 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.342, allocations: 261.3 kB / 450.3 MB, free: 26.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.3421, allocations: 185.2 kB / 450.5 MB, free: 26.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002523/0.3424, allocations: 227.5 kB / 450.7 MB, free: 25.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.303e-05/0.3425, allocations: 379.5 kB / 451.1 MB, free: 25.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005644/0.343, allocations: 431.1 kB / 451.5 MB, free: 25.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006911/0.3437, allocations: 0.7924 MB / 452.3 MB, free: 24.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002256/0.346, allocations: 2.503 MB / 454.8 MB, free: 22.99 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-05/0.346, allocations: 3.156 kB / 454.8 MB, free: 22.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002093/0.3481, allocations: 1.806 MB / 456.6 MB, free: 22.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000131/0.3483, allocations: 342.8 kB / 456.9 MB, free: 21.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.3483, allocations: 12.38 kB / 457 MB, free: 21.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.683e-05/0.3483, allocations: 19.34 kB / 457 MB, free: 21.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003445/0.3487, allocations: 121.7 kB / 457.1 MB, free: 21.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.977e-05/0.3487, allocations: 21.88 kB / 457.1 MB, free: 21.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004629/0.3492, allocations: 134 kB / 457.2 MB, free: 21.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-05/0.3493, allocations: 57.8 kB / 457.3 MB, free: 21.64 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: 50 * Number of states: 0 () * Number of discrete variables: 125 ($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,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.firingTime,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 (130): * Single equations (assignments): 119 * 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.0007871/0.3501, allocations: 0.7455 MB / 458 MB, free: 21.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.3502, allocations: 70.53 kB / 458.1 MB, free: 21.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002696/0.3529, allocations: 1.956 MB / 460.1 MB, free: 20.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.86e-05/0.3529, allocations: 4.594 kB / 460.1 MB, free: 20.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.353, allocations: 1.125 kB / 460.1 MB, free: 20.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.353, allocations: 8.5 kB / 460.1 MB, free: 20.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003451/0.3564, allocations: 2.737 MB / 462.8 MB, free: 18.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.3564, allocations: 0 / 462.8 MB, free: 18.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.3566, allocations: 24.19 kB / 462.8 MB, free: 18.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/0.3566, allocations: 5.359 kB / 462.8 MB, free: 18.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001003/0.3567, allocations: 39.55 kB / 462.9 MB, free: 18.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.3567, allocations: 13.16 kB / 462.9 MB, free: 18.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.3567, allocations: 0.9375 kB / 462.9 MB, free: 18.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003325/0.36, allocations: 2.313 MB / 465.2 MB, free: 17.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.63e-05/0.3602, allocations: 128.4 kB / 465.3 MB, free: 17.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001914/0.3603, allocations: 79.09 kB / 465.4 MB, free: 17.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004847/0.3608, allocations: 79.78 kB / 465.5 MB, free: 17.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00054/0.3614, allocations: 325.8 kB / 465.8 MB, free: 17.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/0.3615, allocations: 46.09 kB / 465.9 MB, free: 17.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002481/0.3618, allocations: 252.1 kB / 466.1 MB, free: 17.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.3618, allocations: 0 / 466.1 MB, free: 17.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00113/0.3629, allocations: 333.1 kB / 466.4 MB, free: 17.29 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: 66 ($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,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.outTransition[1].tokenInOut,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.firingTime,T1.fireTime,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 51 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,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 (35): * Single equations (assignments): 22 * 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.367, allocations: 3.121 MB / 469.5 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002639/0.3696, allocations: 2.068 MB / 471.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.3697, allocations: 0 / 471.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002413/0.3721, allocations: 3.059 MB / 474.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000679/0.3728, allocations: 110.5 kB / 474.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/0.3833, allocations: 7.931 MB / 482.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004439/0.3838, allocations: 0.9189 MB / 483.6 MB, free: 6.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004389/0.3842, allocations: 146 kB / 483.8 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000251/0.3845, allocations: 191.2 kB / 484 MB, free: 6.578 MB / 350.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3845, allocations: 4 kB / 484 MB, free: 6.574 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03528/0.4198, allocations: 17.6 MB / 0.4898 GB, free: 6.762 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.201/6.621, allocations: 10.44 kB / 0.4898 GB, free: 6.758 MB / 366.1 MB (rm -f PNlib_PNlib.Examples.DisTest.PDtoTT.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTT.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTT.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.PDtoTT_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTT_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_PDtoTT.fmu > PNlib_PNlib.Examples.DisTest.PDtoTT.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTT_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTT.mat","../files/PNlib_PNlib.Examples.DisTest.PDtoTT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches