Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo", uses=false) Using package PNlib with version 2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008591/0.0008592, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0008616/0.0008616, allocations: 168.7 kB / 15.95 MB, free: 204 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.399/1.399, allocations: 223.2 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.2138/0.2138, allocations: 16.88 MB / 308 MB, free: 15.62 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003548, allocations: 12 kB / 373.1 MB, free: 3.238 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3249, allocations: 54.51 MB / 427.6 MB, free: 37.87 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.001665/0.3266, allocations: 1.514 MB / 429.1 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002931/0.3295, allocations: 1.874 MB / 431 MB, free: 37.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003744/0.3299, allocations: 7.875 kB / 431 MB, free: 37.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003079/0.3303, allocations: 79.8 kB / 431.1 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003348/0.3306, allocations: 84.48 kB / 431.1 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001873/0.3325, allocations: 0.6337 MB / 431.8 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001014/0.3335, allocations: 1.073 MB / 432.8 MB, free: 36.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000228/0.3337, allocations: 138.4 kB / 433 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004186/0.3342, allocations: 424.1 kB / 433.4 MB, free: 36.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003469/0.3345, allocations: 294.5 kB / 433.7 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.364e-05/0.3346, allocations: 34.22 kB / 433.7 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005843/0.3352, allocations: 415.7 kB / 434.1 MB, free: 36.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001326/0.3353, allocations: 119.3 kB / 434.2 MB, free: 36.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001717/0.3355, allocations: 165 kB / 434.4 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007107/0.3362, allocations: 0.8133 MB / 435.2 MB, free: 36.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3363, allocations: 4 kB / 435.2 MB, free: 36.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3363, allocations: 3.938 kB / 435.2 MB, free: 36.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.295e-05/0.3363, allocations: 2.844 kB / 435.2 MB, free: 36.25 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.001268/0.3376, allocations: 1.128 MB / 436.3 MB, free: 35.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.3376, allocations: 8.594 kB / 436.4 MB, free: 35.3 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001493/0.3378, allocations: 121.4 kB / 436.5 MB, free: 35.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003123/0.3381, allocations: 98.84 kB / 436.6 MB, free: 35.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005013/0.3386, allocations: 423.4 kB / 437 MB, free: 34.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.963e-05/0.3387, allocations: 87.48 kB / 437.1 MB, free: 34.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.3388, allocations: 84.83 kB / 437.2 MB, free: 34.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/0.3406, allocations: 1.334 MB / 438.5 MB, free: 34.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.3406, allocations: 10.41 kB / 438.5 MB, free: 34.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.81e-05/0.3407, allocations: 40.67 kB / 438.5 MB, free: 34.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.199e-05/0.3408, allocations: 54.52 kB / 438.6 MB, free: 34.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/0.3421, allocations: 0.9193 MB / 439.5 MB, free: 33.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003076/0.3452, allocations: 3.314 MB / 442.8 MB, free: 31.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.3466, allocations: 1.475 MB / 444.3 MB, free: 30.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/0.3478, allocations: 1.378 MB / 445.7 MB, free: 29.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.872e-05/0.3479, allocations: 90.84 kB / 445.8 MB, free: 29.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001271/0.3492, allocations: 0.9064 MB / 446.7 MB, free: 29.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.454e-06/0.3492, allocations: 0 / 446.7 MB, free: 29.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.003511/0.3527, allocations: 2.588 MB / 449.3 MB, free: 28.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002172/0.3529, allocations: 0.5604 MB / 449.8 MB, free: 27.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003995/0.3533, allocations: 415.2 kB / 450.2 MB, free: 27.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.195e-05/0.3534, allocations: 68.61 kB / 450.3 MB, free: 27.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.3536, allocations: 259.9 kB / 450.5 MB, free: 27.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.3537, allocations: 202.8 kB / 450.7 MB, free: 26.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.332e-05/0.3538, allocations: 18.84 kB / 450.8 MB, free: 26.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.3539, allocations: 372.7 kB / 451.1 MB, free: 26.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007002/0.3546, allocations: 438.2 kB / 451.6 MB, free: 26.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008164/0.3554, allocations: 0.8201 MB / 452.4 MB, free: 25.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007385/0.3562, allocations: 0.7596 MB / 453.1 MB, free: 25.26 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/0.3562, allocations: 7.297 kB / 453.1 MB, free: 25.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002333/0.3585, allocations: 1.82 MB / 455 MB, free: 24.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001695/0.3587, allocations: 333.7 kB / 455.3 MB, free: 24.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/0.3587, allocations: 12.09 kB / 455.3 MB, free: 24.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.106e-05/0.3588, allocations: 20.72 kB / 455.3 MB, free: 24.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003555/0.3591, allocations: 121 kB / 455.4 MB, free: 24.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.603e-05/0.3592, allocations: 25.97 kB / 455.5 MB, free: 24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004716/0.3597, allocations: 135.5 kB / 455.6 MB, free: 23.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.594e-05/0.3597, allocations: 60.56 kB / 455.7 MB, free: 23.92 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: 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,$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.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],P1.enableOut.arcWeight[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 (135): * Single equations (assignments): 124 * 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.0008243/0.3606, allocations: 0.7569 MB / 456.4 MB, free: 23.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.3607, allocations: 78.98 kB / 456.5 MB, free: 23.33 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002473/0.3632, allocations: 1.986 MB / 458.5 MB, free: 22.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.701e-05/0.3632, allocations: 6.625 kB / 458.5 MB, free: 22.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3632, allocations: 4 kB / 458.5 MB, free: 22.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3632, allocations: 0 / 458.5 MB, free: 22.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004064/0.3673, allocations: 3.008 MB / 461.5 MB, free: 21.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.3673, allocations: 0 / 461.5 MB, free: 21.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.3675, allocations: 28.86 kB / 461.5 MB, free: 21.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.3675, allocations: 6.25 kB / 461.5 MB, free: 21.01 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-05/0.3676, allocations: 40.14 kB / 461.6 MB, free: 21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.3676, allocations: 1.438 kB / 461.6 MB, free: 21 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.3676, allocations: 1.219 kB / 461.6 MB, free: 21 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00323/0.3708, allocations: 2.354 MB / 463.9 MB, free: 19.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.171e-05/0.3709, allocations: 128.8 kB / 464 MB, free: 19.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002093/0.3712, allocations: 83.28 kB / 464.1 MB, free: 19.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004413/0.3716, allocations: 71.23 kB / 464.2 MB, free: 19.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006576/0.3723, allocations: 340.8 kB / 464.5 MB, free: 19.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/0.3724, allocations: 47.5 kB / 464.6 MB, free: 19.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003113/0.3727, allocations: 244.8 kB / 464.8 MB, free: 19.49 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3727, allocations: 0 / 464.8 MB, free: 19.49 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001353/0.3741, allocations: 343.5 kB / 465.2 MB, free: 19.43 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 (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.004534/0.3786, allocations: 3.176 MB / 468.3 MB, free: 17.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002938/0.3816, allocations: 2.08 MB / 470.4 MB, free: 16.49 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.3816, allocations: 0 / 470.4 MB, free: 16.49 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002452/0.3841, allocations: 3.082 MB / 473.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007566/0.3849, allocations: 104.2 kB / 473.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008581/0.3935, allocations: 4.802 MB / 478.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000525/0.3941, allocations: 0.9195 MB / 479.3 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004045/0.3945, allocations: 147.6 kB / 479.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002429/0.3947, allocations: 194.4 kB / 479.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of SimCode: time 1.783e-06/0.3947, allocations: 0 / 479.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03242/0.4272, allocations: 17.36 MB / 497 MB, free: 13.46 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001581/0.4273, allocations: 193.7 kB / 497.2 MB, free: 13.22 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.254/2.681, allocations: 0 / 497.2 MB, free: 13.22 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result PNlib_PNlib.Examples.DisTest.PDtoTD_res.mat does not exist to compare? outputFormat=mat