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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PNlib.Examples.DisTest.PDtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTDfunction") translateModel(PNlib.Examples.DisTest.PDtoTDfunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|T1.active|T1.fire|time",fileNamePrefix="PNlib_PNlib.Examples.DisTest.PDtoTDfunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001223/0.001223, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205.1 MB / 221.8 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009284/0.0009284, allocations: 108 kB / 269.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.07004/0.07004, allocations: 16.88 MB / 333.4 MB, free: 8.117 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009266/0.0009266, allocations: 56.06 kB / 394.9 MB, free: 61.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06743/0.06838, allocations: 50.68 MB / 445.6 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.002779/0.07119, allocations: 1.995 MB / 447.6 MB, free: 9.129 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003165/0.0744, allocations: 2.262 MB / 449.8 MB, free: 6.855 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002043/0.07462, allocations: 7.938 kB / 449.8 MB, free: 6.848 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002624/0.07489, allocations: 83.44 kB / 449.9 MB, free: 6.766 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002627/0.07519, allocations: 87.42 kB / 450 MB, free: 6.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.07632, allocations: 0.745 MB / 450.7 MB, free: 5.934 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006689/0.077, allocations: 1.123 MB / 451.9 MB, free: 4.809 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001916/0.0772, allocations: 152.5 kB / 452 MB, free: 4.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003433/0.07755, allocations: 434.5 kB / 452.4 MB, free: 4.234 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003038/0.07787, allocations: 342.2 kB / 452.8 MB, free: 3.898 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.204e-05/0.07796, allocations: 40 kB / 452.8 MB, free: 3.859 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005122/0.07848, allocations: 471.4 kB / 453.3 MB, free: 3.398 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.07861, allocations: 127.5 kB / 453.4 MB, free: 3.273 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000259/0.07887, allocations: 350.3 kB / 453.7 MB, free: 2.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007034/0.07958, allocations: 1.084 MB / 454.8 MB, free: 1.844 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.0796, allocations: 0 / 454.8 MB, free: 1.844 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.07961, allocations: 0 / 454.8 MB, free: 1.844 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.952e-06/0.07962, allocations: 0 / 454.8 MB, free: 1.844 MB / 298.7 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.08089, allocations: 1.275 MB / 456.1 MB, free: 464 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.08093, allocations: 16.03 kB / 456.1 MB, free: 448 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002975/0.08124, allocations: 92.08 kB / 456.2 MB, free: 356 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006207/0.08187, allocations: 438.2 kB / 456.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.883e-05/0.08198, allocations: 82.95 kB / 456.7 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.0821, allocations: 79.89 kB / 456.8 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001823/0.08393, allocations: 1.33 MB / 458.1 MB, free: 14.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.08396, allocations: 3.938 kB / 458.1 MB, free: 14.31 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.47e-05/0.08405, allocations: 39.97 kB / 458.2 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.778e-05/0.08415, allocations: 60.89 kB / 458.2 MB, free: 14.21 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001394/0.08555, allocations: 0.9093 MB / 459.1 MB, free: 13.3 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003562/0.08913, allocations: 3.333 MB / 462.5 MB, free: 9.832 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/0.09071, allocations: 1.58 MB / 464 MB, free: 8.234 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001335/0.09206, allocations: 1.453 MB / 465.5 MB, free: 6.777 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.085e-05/0.09215, allocations: 85.09 kB / 465.6 MB, free: 6.676 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001281/0.09344, allocations: 0.9195 MB / 466.5 MB, free: 5.727 MB / 314.7 MB Notification: Performance of pre-optimization done (n=77): time 2.495e-06/0.09345, allocations: 0 / 466.5 MB, free: 5.727 MB / 314.7 MB Notification: Performance of matching and sorting (n=77): time 0.003596/0.09706, allocations: 2.619 MB / 469.1 MB, free: 3.051 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002658/0.09734, allocations: 0.5349 MB / 469.7 MB, free: 2.418 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004146/0.09776, allocations: 416.9 kB / 470.1 MB, free: 2 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.641e-05/0.09784, allocations: 73.69 kB / 470.1 MB, free: 1.922 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.09802, allocations: 252.4 kB / 470.4 MB, free: 1.672 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/0.09819, allocations: 205.7 kB / 470.6 MB, free: 1.469 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002807/0.09847, allocations: 222.5 kB / 470.8 MB, free: 1.246 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.09862, allocations: 370.8 kB / 471.2 MB, free: 0.875 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006235/0.09925, allocations: 442 kB / 471.6 MB, free: 448 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009163/0.1002, allocations: 0.8047 MB / 472.4 MB, free: 15.47 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002865/0.1031, allocations: 2.565 MB / 475 MB, free: 12.57 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/0.1031, allocations: 0 / 475 MB, free: 12.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002483/0.1056, allocations: 1.818 MB / 476.8 MB, free: 10.68 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001782/0.1058, allocations: 337 kB / 477.1 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/0.1058, allocations: 12 kB / 477.1 MB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.1058, allocations: 16 kB / 477.1 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003364/0.1062, allocations: 119.7 kB / 477.3 MB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.734e-05/0.1062, allocations: 27.86 kB / 477.3 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004953/0.1067, allocations: 134.9 kB / 477.4 MB, free: 9.988 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.561e-05/0.1068, allocations: 56.22 kB / 477.5 MB, free: 9.934 MB / 330.7 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer T1.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer T1.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 128 ($PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.reStart,$whenCondition7,T1.inPlaces[1].tokenInOut,$PRE.P1.tokeninout,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumIn.firingSum,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,T1.firingCon,P1.reStart,$PRE.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.active,T1.activation.active,T1.activation.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.enableOut.arcWeight[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,T1.enabledByOutPlaces,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 123 * Array equations: 1 * Algorithm blocks: 10 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001004/0.1078, allocations: 0.7617 MB / 478.2 MB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/0.108, allocations: 71.44 kB / 478.3 MB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00285/0.1108, allocations: 2.026 MB / 480.3 MB, free: 6.969 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/0.1109, allocations: 4 kB / 480.3 MB, free: 6.965 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.1109, allocations: 0 / 480.3 MB, free: 6.965 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.1109, allocations: 7.922 kB / 480.3 MB, free: 6.957 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004098/0.115, allocations: 3.046 MB / 483.4 MB, free: 3.816 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.115, allocations: 0 / 483.4 MB, free: 3.816 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.1152, allocations: 27.92 kB / 483.4 MB, free: 3.789 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.1152, allocations: 4 kB / 483.4 MB, free: 3.785 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-05/0.1153, allocations: 43.91 kB / 483.5 MB, free: 3.742 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.1153, allocations: 0 / 483.5 MB, free: 3.742 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.1153, allocations: 4 kB / 483.5 MB, free: 3.738 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1539/0.2692, allocations: 3.823 MB / 487.3 MB, free: 47.7 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.2694, allocations: 127.4 kB / 487.4 MB, free: 47.6 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003993/0.2698, allocations: 78.17 kB / 487.5 MB, free: 47.6 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005227/0.2704, allocations: 75.95 kB / 487.6 MB, free: 47.6 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005535/0.2709, allocations: 326.6 kB / 487.9 MB, free: 47.6 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/0.271, allocations: 44.5 kB / 487.9 MB, free: 47.6 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002676/0.2713, allocations: 246.9 kB / 488.2 MB, free: 47.52 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2713, allocations: 0 / 488.2 MB, free: 47.52 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001166/0.2725, allocations: 340.5 kB / 488.5 MB, free: 47.52 MB / 330.7 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.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active,T1.inPlaces[1].tokenInOut) * Number of discrete states: 52 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.benefitLimit,P1.enableIn.valid,P1.enableIn.benefitMax,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 26 * Array equations: 1 * Algorithm blocks: 8 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007767/0.2733, allocations: 392.2 kB / 488.9 MB, free: 47.41 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002685/0.276, allocations: 2.099 MB / 491 MB, free: 46.54 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.276, allocations: 0 / 491 MB, free: 46.54 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003124/0.2791, allocations: 3.156 MB / 494.1 MB, free: 44.21 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008637/0.28, allocations: 107.8 kB / 494.2 MB, free: 44.19 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003425/0.2835, allocations: 2.203 MB / 496.4 MB, free: 43.03 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000435/0.2839, allocations: 0.9388 MB / 497.4 MB, free: 42.32 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003888/0.2843, allocations: 144.3 kB / 497.5 MB, free: 42.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.858e-05/0.2844, allocations: 48.31 kB / 497.6 MB, free: 42.3 MB / 330.7 MB Notification: Performance of SimCode: time 5.71e-07/0.2844, allocations: 0 / 497.6 MB, free: 42.3 MB / 330.7 MB Notification: Performance of Templates: time 0.01928/0.3037, allocations: 13.41 MB / 0.499 GB, free: 36.04 MB / 330.7 MB make -j1 -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction.makefile (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 & ./PNlib_PNlib.Examples.DisTest.PDtoTDfunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTDfunction.mat","../files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches