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.0009335/0.0009335, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009809/0.0009809, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.1916/0.1916, allocations: 16.87 MB / 307.8 MB, free: 15.66 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002958/0.0002959, allocations: 8 kB / 373 MB, free: 3.285 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2676, allocations: 54.51 MB / 427.5 MB, free: 38.06 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.00152/0.2692, allocations: 1.553 MB / 429 MB, free: 37.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002321/0.2715, allocations: 1.881 MB / 430.9 MB, free: 37.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001609/0.2717, allocations: 6.938 kB / 430.9 MB, free: 37.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002146/0.2719, allocations: 87.03 kB / 431 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000295/0.2722, allocations: 127.4 kB / 431.1 MB, free: 37.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.2734, allocations: 0.6138 MB / 431.7 MB, free: 37.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005334/0.2739, allocations: 0.6581 MB / 432.4 MB, free: 37.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001867/0.2741, allocations: 136.3 kB / 432.5 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002873/0.2744, allocations: 397.1 kB / 432.9 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002848/0.2747, allocations: 290.9 kB / 433.2 MB, free: 36.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.493e-05/0.2748, allocations: 33.59 kB / 433.2 MB, free: 36.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004402/0.2752, allocations: 384.7 kB / 433.6 MB, free: 36.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.2753, allocations: 110.1 kB / 433.7 MB, free: 36.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.2755, allocations: 174.7 kB / 433.9 MB, free: 36.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006211/0.2761, allocations: 0.8108 MB / 434.7 MB, free: 36.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.2761, allocations: 0 / 434.7 MB, free: 36.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2761, allocations: 0 / 434.7 MB, free: 36.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.2761, allocations: 0 / 434.7 MB, free: 36.59 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.001121/0.2773, allocations: 1.136 MB / 435.8 MB, free: 35.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.2773, allocations: 8.938 kB / 435.8 MB, free: 35.64 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000138/0.2775, allocations: 124.2 kB / 436 MB, free: 35.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002726/0.2777, allocations: 96.52 kB / 436.1 MB, free: 35.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005093/0.2783, allocations: 426 kB / 436.5 MB, free: 35.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.512e-05/0.2783, allocations: 81.25 kB / 436.5 MB, free: 35.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.2785, allocations: 82.86 kB / 436.6 MB, free: 35.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.28, allocations: 1.339 MB / 438 MB, free: 34.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.2801, allocations: 3.938 kB / 438 MB, free: 34.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.469e-05/0.2801, allocations: 41.78 kB / 438 MB, free: 34.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.78e-05/0.2802, allocations: 49.3 kB / 438.1 MB, free: 34.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.2815, allocations: 0.934 MB / 439 MB, free: 34.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002912/0.2844, allocations: 3.333 MB / 442.3 MB, free: 31.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/0.2858, allocations: 1.601 MB / 443.9 MB, free: 30.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.09e-05/0.2858, allocations: 88.77 kB / 444 MB, free: 30.69 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001071/0.2869, allocations: 0.9273 MB / 444.9 MB, free: 30.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 2.324e-06/0.2869, allocations: 0 / 444.9 MB, free: 30.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.003249/0.2902, allocations: 3.013 MB / 448 MB, free: 28.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000197/0.2904, allocations: 0.534 MB / 448.5 MB, free: 28.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003632/0.2908, allocations: 404.3 kB / 448.9 MB, free: 28.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.151e-05/0.2908, allocations: 67.91 kB / 448.9 MB, free: 27.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.291, allocations: 261 kB / 449.2 MB, free: 27.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/0.2911, allocations: 197.5 kB / 449.4 MB, free: 27.63 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.2912, allocations: 22.62 kB / 449.4 MB, free: 27.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.501e-05/0.2913, allocations: 370.9 kB / 449.8 MB, free: 27.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005561/0.2918, allocations: 440.4 kB / 450.2 MB, free: 27.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007036/0.2925, allocations: 0.8016 MB / 451 MB, free: 26.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007429/0.2933, allocations: 0.7537 MB / 451.8 MB, free: 26.01 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-06/0.2933, allocations: 6.062 kB / 451.8 MB, free: 26.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002353/0.2957, allocations: 1.821 MB / 453.6 MB, free: 25.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001581/0.2959, allocations: 329 kB / 453.9 MB, free: 24.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/0.2959, allocations: 17.06 kB / 453.9 MB, free: 24.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.177e-05/0.2959, allocations: 21.83 kB / 454 MB, free: 24.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003752/0.2963, allocations: 124.5 kB / 454.1 MB, free: 24.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.243e-05/0.2963, allocations: 29.55 kB / 454.1 MB, free: 24.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004737/0.2968, allocations: 130.6 kB / 454.2 MB, free: 24.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.485e-05/0.2969, allocations: 58.53 kB / 454.3 MB, free: 24.66 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.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumOut.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,$PRE.P1.enableOut.state128[1],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[4],$PRE.P1.enableOut.randNum,P1.enableOut.randNum,$PRE.P1.enableOut.cumEnablingProb[1],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,$PRE.P1.enableOut.remTAout[1],P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$whenCondition7,$PRE.P1.reStart,$PRE.P1.tokeninout,T1.inPlaces[1].tokenInOut,$PRE.T1.fireTime,T1.fireTime,$PRE.T1.ani,T1.ani,$whenCondition6,$whenCondition5,P1.tokeninout,$PRE.P1.firingSumIn.firingSum,$PRE.P1.firingSumOut.firingSum,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,$PRE.P1.enableIn.state128[1],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[4],$PRE.P1.enableIn.randNum,P1.enableIn.randNum,$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,$whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.P1.t,P1.t,$PRE.P1.activeOut[1],P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.arcWeight[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout[1],$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,T1.active,$PRE.T1.firingTime,T1.firingTime,$PRE.T1.delayPassed,T1.delayPassed,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active,T1.activation.disPlaceIn[1],T1.activation.arcType[1],T1.activation.testValueInt[1],T1.activation.normalArc[1],P1.enableOut.disTransition[1],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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008031/0.2977, allocations: 0.746 MB / 455 MB, free: 24.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.2978, allocations: 85.98 kB / 455.1 MB, free: 24.08 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002515/0.3004, allocations: 2.051 MB / 457.2 MB, free: 23.17 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/0.3004, allocations: 3 kB / 457.2 MB, free: 23.17 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.974e-06/0.3004, allocations: 3.156 kB / 457.2 MB, free: 23.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.3004, allocations: 3.188 kB / 457.2 MB, free: 23.17 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003667/0.3041, allocations: 3.077 MB / 460.3 MB, free: 21.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.3041, allocations: 1.219 kB / 460.3 MB, free: 21.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.3043, allocations: 34.67 kB / 460.3 MB, free: 21.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.3043, allocations: 2 kB / 460.3 MB, free: 21.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.004e-05/0.3044, allocations: 40.45 kB / 460.3 MB, free: 21.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.3044, allocations: 2.062 kB / 460.3 MB, free: 21.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3044, allocations: 5.203 kB / 460.3 MB, free: 21.69 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003059/0.3075, allocations: 2.426 MB / 462.8 MB, free: 20.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.624e-05/0.3076, allocations: 135 kB / 462.9 MB, free: 20.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002028/0.3078, allocations: 76.17 kB / 463 MB, free: 20.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004732/0.3083, allocations: 76.69 kB / 463 MB, free: 20.35 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005721/0.3089, allocations: 338.9 kB / 463.4 MB, free: 20.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/0.309, allocations: 52.09 kB / 463.4 MB, free: 20.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002544/0.3092, allocations: 239.9 kB / 463.7 MB, free: 20.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3092, allocations: 1.188 kB / 463.7 MB, free: 20.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001034/0.3103, allocations: 343 kB / 464 MB, free: 20.07 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003925/0.3142, allocations: 3.31 MB / 467.3 MB, free: 18.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002481/0.3167, allocations: 2.106 MB / 469.4 MB, free: 17.01 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3167, allocations: 1 kB / 469.4 MB, free: 17.01 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002226/0.319, allocations: 3.166 MB / 472.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004905/0.3195, allocations: 82.86 kB / 472.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00866/0.3281, allocations: 12.39 MB / 485.1 MB, free: 20.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006016/0.3288, allocations: 0.9277 MB / 486 MB, free: 19.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004067/0.3292, allocations: 156.1 kB / 486.1 MB, free: 19.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002152/0.3294, allocations: 186.9 kB / 486.3 MB, free: 19.75 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3294, allocations: 3.938 kB / 486.3 MB, free: 19.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03314/0.3626, allocations: 17.36 MB / 0.4919 GB, free: 6.559 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00018/0.3628, allocations: 197.7 kB / 0.4921 GB, free: 6.316 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.029/2.392, allocations: 0 / 0.4921 GB, free: 6.316 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.mat does not exist to compare? outputFormat=mat