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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 100.1 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.001386/0.001386, allocations: 177.3 kB / 15.94 MB, free: 228 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.281/1.281, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.1822/0.1822, allocations: 16.72 MB / 307.7 MB, free: 15.77 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002974/0.0002975, allocations: 8 kB / 372.7 MB, free: 3.531 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2473, allocations: 54.47 MB / 427.2 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.001624/0.249, allocations: 1.564 MB / 428.7 MB, free: 37.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002516/0.2515, allocations: 1.865 MB / 430.6 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002808/0.2518, allocations: 6.938 kB / 430.6 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002588/0.2521, allocations: 90.45 kB / 430.7 MB, free: 37.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003262/0.2524, allocations: 122.8 kB / 430.8 MB, free: 37.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001387/0.2538, allocations: 0.6149 MB / 431.4 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006351/0.2545, allocations: 0.6568 MB / 432.1 MB, free: 37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.2547, allocations: 148 kB / 432.2 MB, free: 36.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003398/0.255, allocations: 389.1 kB / 432.6 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002972/0.2553, allocations: 292.4 kB / 432.9 MB, free: 36.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.564e-05/0.2554, allocations: 37.34 kB / 432.9 MB, free: 36.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004524/0.2559, allocations: 376.2 kB / 433.3 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.256, allocations: 110.3 kB / 433.4 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001468/0.2561, allocations: 174.1 kB / 433.6 MB, free: 36.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000578/0.2567, allocations: 0.814 MB / 434.4 MB, free: 36.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.2567, allocations: 0 / 434.4 MB, free: 36.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2568, allocations: 0 / 434.4 MB, free: 36.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.2568, allocations: 0 / 434.4 MB, free: 36.33 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.001027/0.2578, allocations: 1.131 MB / 435.5 MB, free: 35.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.2578, allocations: 8.875 kB / 435.5 MB, free: 35.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002646/0.2581, allocations: 96.73 kB / 435.6 MB, free: 35.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004766/0.2586, allocations: 428.9 kB / 436 MB, free: 35.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.402e-05/0.2587, allocations: 85.5 kB / 436.1 MB, free: 34.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.838e-05/0.2588, allocations: 76.47 kB / 436.2 MB, free: 34.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.2603, allocations: 1.338 MB / 437.5 MB, free: 34.37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.2603, allocations: 10.69 kB / 437.5 MB, free: 34.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.467e-05/0.2604, allocations: 36.73 kB / 437.6 MB, free: 34.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.91e-05/0.2605, allocations: 54.55 kB / 437.6 MB, free: 34.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.2617, allocations: 0.9316 MB / 438.6 MB, free: 34.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002845/0.2646, allocations: 3.337 MB / 441.9 MB, free: 31.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/0.2658, allocations: 1.592 MB / 443.5 MB, free: 30.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.29e-05/0.2659, allocations: 86.45 kB / 443.6 MB, free: 30.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001072/0.267, allocations: 0.9349 MB / 444.5 MB, free: 30.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 2.394e-06/0.267, allocations: 0 / 444.5 MB, free: 30.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.003187/0.2702, allocations: 3.012 MB / 447.5 MB, free: 28.6 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001851/0.2704, allocations: 0.5346 MB / 448 MB, free: 28.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003225/0.2707, allocations: 400.4 kB / 448.4 MB, free: 27.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.734e-05/0.2708, allocations: 74.72 kB / 448.5 MB, free: 27.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.271, allocations: 258.8 kB / 448.8 MB, free: 27.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.2711, allocations: 194.9 kB / 449 MB, free: 27.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.2711, allocations: 19.92 kB / 449 MB, free: 27.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.606e-05/0.2712, allocations: 380.8 kB / 449.3 MB, free: 27.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005441/0.2718, allocations: 440 kB / 449.8 MB, free: 26.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006647/0.2724, allocations: 0.7982 MB / 450.6 MB, free: 26.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006419/0.2731, allocations: 0.7484 MB / 451.3 MB, free: 25.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.2731, allocations: 3.219 kB / 451.3 MB, free: 25.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.001977/0.2751, allocations: 1.826 MB / 453.2 MB, free: 24.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001195/0.2752, allocations: 338 kB / 453.5 MB, free: 24.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/0.2753, allocations: 13.34 kB / 453.5 MB, free: 24.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/0.2753, allocations: 19.59 kB / 453.5 MB, free: 24.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003279/0.2756, allocations: 129.9 kB / 453.6 MB, free: 24.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.927e-05/0.2757, allocations: 24.88 kB / 453.7 MB, free: 24.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000462/0.2761, allocations: 130.3 kB / 453.8 MB, free: 24.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.857e-05/0.2762, allocations: 58.25 kB / 453.8 MB, free: 24.48 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.0006999/0.2769, allocations: 0.7483 MB / 454.6 MB, free: 23.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.277, allocations: 79.44 kB / 454.7 MB, free: 23.9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002365/0.2794, allocations: 2.059 MB / 456.7 MB, free: 22.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.138e-05/0.2795, allocations: 6.031 kB / 456.7 MB, free: 22.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.2795, allocations: 0 / 456.7 MB, free: 22.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.2795, allocations: 2.531 kB / 456.7 MB, free: 22.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003739/0.2832, allocations: 3.073 MB / 459.8 MB, free: 21.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.453e-06/0.2833, allocations: 7.953 kB / 459.8 MB, free: 21.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.2834, allocations: 40.23 kB / 459.9 MB, free: 21.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-06/0.2834, allocations: 1.25 kB / 459.9 MB, free: 21.51 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.573e-05/0.2835, allocations: 39.03 kB / 459.9 MB, free: 21.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.2835, allocations: 2.094 kB / 459.9 MB, free: 21.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2835, allocations: 0.9688 kB / 459.9 MB, free: 21.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003035/0.2866, allocations: 2.426 MB / 462.3 MB, free: 20.33 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.2867, allocations: 134.6 kB / 462.5 MB, free: 20.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002174/0.2869, allocations: 75.02 kB / 462.5 MB, free: 20.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000444/0.2874, allocations: 69.27 kB / 462.6 MB, free: 20.17 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004666/0.2878, allocations: 349.6 kB / 462.9 MB, free: 20.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.791e-05/0.288, allocations: 53.17 kB / 463 MB, free: 20.06 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002232/0.2882, allocations: 238.3 kB / 463.2 MB, free: 19.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2882, allocations: 0 / 463.2 MB, free: 19.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001133/0.2893, allocations: 340.5 kB / 463.6 MB, free: 19.88 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.0006939/0.29, allocations: 378.4 kB / 463.9 MB, free: 19.72 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002634/0.2927, allocations: 2.107 MB / 466 MB, free: 18.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.2927, allocations: 0 / 466 MB, free: 18.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002426/0.2951, allocations: 3.171 MB / 469.2 MB, free: 16.17 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005535/0.2957, allocations: 87.12 kB / 469.3 MB, free: 16.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002718/0.2984, allocations: 1.737 MB / 471 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005087/0.299, allocations: 0.9322 MB / 472 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004481/0.2994, allocations: 146.8 kB / 472.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.404e-05/0.2995, allocations: 44.89 kB / 472.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of SimCode: time 6.91e-07/0.2995, allocations: 0 / 472.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of Templates: time 0.02311/0.3227, allocations: 12.5 MB / 484.6 MB, free: 9.723 MB / 350.1 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