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.001086/0.001086, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001013/0.001013, allocations: 193.5 kB / 16.25 MB, free: 6.629 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.373/1.373, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1601/0.1601, allocations: 16.75 MB / 306.8 MB, free: 14.96 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 63.91 kB / 371.2 MB, free: 3.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.236, allocations: 53.46 MB / 424.7 MB, free: 39.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.002427/0.2384, allocations: 1.974 MB / 426.7 MB, free: 38.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002409/0.2409, allocations: 1.938 MB / 428.6 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001753/0.2411, allocations: 6.781 kB / 428.6 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002775/0.2413, allocations: 82.88 kB / 428.7 MB, free: 37.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002767/0.2416, allocations: 86.47 kB / 428.8 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.2428, allocations: 0.8138 MB / 429.6 MB, free: 37.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008204/0.2436, allocations: 1.427 MB / 431 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.2438, allocations: 173 kB / 431.2 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003189/0.2441, allocations: 0.5318 MB / 431.7 MB, free: 36.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002694/0.2444, allocations: 346.1 kB / 432.1 MB, free: 36.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.681e-05/0.2445, allocations: 88.22 kB / 432.1 MB, free: 36.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004174/0.2449, allocations: 0.508 MB / 432.7 MB, free: 36.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.2451, allocations: 142 kB / 432.8 MB, free: 35.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002695/0.2453, allocations: 395.9 kB / 433.2 MB, free: 35.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000802/0.2462, allocations: 1.147 MB / 434.3 MB, free: 35.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2462, allocations: 0 / 434.3 MB, free: 35.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2462, allocations: 3.5 kB / 434.3 MB, free: 35.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.2462, allocations: 0 / 434.3 MB, free: 35.26 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.001358/0.2476, allocations: 1.276 MB / 435.6 MB, free: 34.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.2476, allocations: 13.23 kB / 435.6 MB, free: 34.24 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001286/0.2477, allocations: 122.5 kB / 435.7 MB, free: 34.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002828/0.248, allocations: 91.38 kB / 435.8 MB, free: 34.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004158/0.2485, allocations: 436.5 kB / 436.3 MB, free: 33.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.684e-05/0.2485, allocations: 83.33 kB / 436.3 MB, free: 33.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.2486, allocations: 84.41 kB / 436.4 MB, free: 33.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/0.2502, allocations: 1.316 MB / 437.7 MB, free: 33.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.2502, allocations: 7 kB / 437.7 MB, free: 33.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.974e-05/0.2503, allocations: 45.62 kB / 437.8 MB, free: 33.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.807e-05/0.2504, allocations: 51.42 kB / 437.8 MB, free: 33.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.2515, allocations: 0.9015 MB / 438.7 MB, free: 32.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002677/0.2542, allocations: 3.317 MB / 442.1 MB, free: 30.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.2554, allocations: 1.456 MB / 443.5 MB, free: 29.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009698/0.2563, allocations: 1.364 MB / 444.9 MB, free: 28.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.003e-05/0.2564, allocations: 83.75 kB / 445 MB, free: 28.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001049/0.2574, allocations: 0.8897 MB / 445.8 MB, free: 28.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 1.914e-06/0.2575, allocations: 0 / 445.8 MB, free: 28.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.00289/0.2604, allocations: 2.538 MB / 448.4 MB, free: 27.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000186/0.2606, allocations: 0.559 MB / 448.9 MB, free: 26.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003288/0.2609, allocations: 424.5 kB / 449.4 MB, free: 26.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.025e-05/0.261, allocations: 71.78 kB / 449.4 MB, free: 26.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.2611, allocations: 263.4 kB / 449.7 MB, free: 25.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.2612, allocations: 188.5 kB / 449.9 MB, free: 25.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002292/0.2614, allocations: 229.6 kB / 450.1 MB, free: 25.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.335e-05/0.2615, allocations: 378.4 kB / 450.5 MB, free: 25.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005296/0.2621, allocations: 444.9 kB / 450.9 MB, free: 25.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006363/0.2627, allocations: 0.8197 MB / 451.7 MB, free: 24.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001996/0.2647, allocations: 2.535 MB / 454.3 MB, free: 22.72 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/0.2647, allocations: 9.531 kB / 454.3 MB, free: 22.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002129/0.2669, allocations: 1.829 MB / 456.1 MB, free: 21.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.267, allocations: 339.9 kB / 456.4 MB, free: 21.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.267, allocations: 9.812 kB / 456.4 MB, free: 21.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-05/0.267, allocations: 19.03 kB / 456.5 MB, free: 21.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003169/0.2674, allocations: 126.6 kB / 456.6 MB, free: 21.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.755e-05/0.2674, allocations: 27.25 kB / 456.6 MB, free: 21.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004186/0.2678, allocations: 137.4 kB / 456.7 MB, free: 21.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-05/0.2679, allocations: 53.53 kB / 456.8 MB, free: 21.36 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.0005872/0.2685, allocations: 0.75 MB / 457.5 MB, free: 20.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.2686, allocations: 81.17 kB / 457.6 MB, free: 20.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002302/0.2709, allocations: 1.952 MB / 459.6 MB, free: 19.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/0.2709, allocations: 8.719 kB / 459.6 MB, free: 19.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.271, allocations: 0 / 459.6 MB, free: 19.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.271, allocations: 5 kB / 459.6 MB, free: 19.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003315/0.2743, allocations: 2.976 MB / 462.6 MB, free: 18.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2743, allocations: 1.406 kB / 462.6 MB, free: 18.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.2744, allocations: 23.84 kB / 462.6 MB, free: 18.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.2744, allocations: 2.25 kB / 462.6 MB, free: 18.47 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.562e-05/0.2745, allocations: 46.97 kB / 462.6 MB, free: 18.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.2745, allocations: 1 kB / 462.6 MB, free: 18.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.2745, allocations: 1.219 kB / 462.6 MB, free: 18.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002862/0.2774, allocations: 2.315 MB / 465 MB, free: 17.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.48e-05/0.2775, allocations: 129.4 kB / 465.1 MB, free: 17.22 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001776/0.2777, allocations: 79.23 kB / 465.2 MB, free: 17.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004233/0.2781, allocations: 80 kB / 465.2 MB, free: 17.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004615/0.2786, allocations: 337.8 kB / 465.6 MB, free: 17.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.35e-05/0.2787, allocations: 44.81 kB / 465.6 MB, free: 17.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002214/0.2789, allocations: 249.1 kB / 465.8 MB, free: 16.94 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2789, allocations: 0 / 465.8 MB, free: 16.94 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009522/0.2798, allocations: 338.7 kB / 466.2 MB, free: 16.89 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.003531/0.2834, allocations: 3.137 MB / 469.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00236/0.2858, allocations: 2.14 MB / 471.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.2858, allocations: 5.062 kB / 471.5 MB, free: 13.94 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001856/0.2876, allocations: 3.055 MB / 474.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005794/0.2882, allocations: 111.2 kB / 474.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008932/0.2972, allocations: 8.102 MB / 482.7 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.2975, allocations: 0.9151 MB / 483.6 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003565/0.2979, allocations: 152.2 kB / 483.8 MB, free: 6.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000197/0.2981, allocations: 192.2 kB / 484 MB, free: 5.934 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2981, allocations: 0 / 484 MB, free: 5.934 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1936/0.4917, allocations: 17.69 MB / 0.4899 GB, free: 6.375 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003152/0.492, allocations: 214 kB / 0.4901 GB, free: 6.113 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.318/2.811, allocations: 3.984 kB / 0.4901 GB, free: 6.109 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