Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.DisTest.PDtoTD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTD,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001402/0.001402, allocations: 195.9 kB / 16.14 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1876/0.1876, allocations: 16.77 MB / 306.7 MB, free: 15.09 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.89 kB / 371.1 MB, free: 3.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2677, allocations: 53.45 MB / 424.5 MB, free: 39.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTD): time 0.002817/0.2705, allocations: 1.978 MB / 426.5 MB, free: 38.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003037/0.2736, allocations: 2.243 MB / 428.7 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.2738, allocations: 7.5 kB / 428.8 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002881/0.2741, allocations: 90.02 kB / 428.8 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000264/0.2743, allocations: 91.16 kB / 428.9 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.2754, allocations: 0.746 MB / 429.7 MB, free: 37.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007264/0.2762, allocations: 1.122 MB / 430.8 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002056/0.2764, allocations: 150.5 kB / 430.9 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003063/0.2767, allocations: 436.8 kB / 431.4 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002995/0.277, allocations: 331.6 kB / 431.7 MB, free: 36.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.985e-05/0.2771, allocations: 40 kB / 431.7 MB, free: 36.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004583/0.2776, allocations: 465.2 kB / 432.2 MB, free: 36.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.2777, allocations: 133.4 kB / 432.3 MB, free: 36.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002691/0.278, allocations: 349.7 kB / 432.7 MB, free: 36.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007364/0.2787, allocations: 1.083 MB / 433.7 MB, free: 35.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2787, allocations: 0 / 433.7 MB, free: 35.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2787, allocations: 4 kB / 433.8 MB, free: 35.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.2788, allocations: 0 / 433.8 MB, free: 35.62 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.001354/0.2801, allocations: 1.277 MB / 435 MB, free: 34.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2802, allocations: 7.688 kB / 435 MB, free: 34.61 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001336/0.2803, allocations: 124.3 kB / 435.2 MB, free: 34.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002872/0.2806, allocations: 94.11 kB / 435.2 MB, free: 34.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004434/0.2811, allocations: 436.4 kB / 435.7 MB, free: 34.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-05/0.2811, allocations: 89.59 kB / 435.8 MB, free: 34.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.2813, allocations: 74.23 kB / 435.8 MB, free: 34.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/0.283, allocations: 1.321 MB / 437.2 MB, free: 33.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.283, allocations: 2.844 kB / 437.2 MB, free: 33.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.2831, allocations: 40.42 kB / 437.2 MB, free: 33.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.009e-05/0.2832, allocations: 57.98 kB / 437.3 MB, free: 33.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.2845, allocations: 0.8987 MB / 438.2 MB, free: 33.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002861/0.2874, allocations: 3.325 MB / 441.5 MB, free: 30.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001261/0.2887, allocations: 1.454 MB / 442.9 MB, free: 29.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001105/0.2898, allocations: 1.355 MB / 444.3 MB, free: 28.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.329e-05/0.2898, allocations: 87.64 kB / 444.4 MB, free: 28.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001186/0.291, allocations: 0.8965 MB / 445.3 MB, free: 28.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 1.954e-06/0.2911, allocations: 0 / 445.3 MB, free: 28.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.003199/0.2943, allocations: 2.533 MB / 447.8 MB, free: 27.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001978/0.2945, allocations: 0.5692 MB / 448.4 MB, free: 26.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003459/0.2948, allocations: 424.6 kB / 448.8 MB, free: 26.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.753e-05/0.2949, allocations: 68.28 kB / 448.9 MB, free: 26.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.295, allocations: 268.5 kB / 449.1 MB, free: 26.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.2952, allocations: 184 kB / 449.3 MB, free: 26.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002441/0.2954, allocations: 234.5 kB / 449.5 MB, free: 26.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.879e-05/0.2955, allocations: 371.1 kB / 449.9 MB, free: 25.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005725/0.2961, allocations: 451.4 kB / 450.3 MB, free: 25.63 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007049/0.2968, allocations: 0.8078 MB / 451.1 MB, free: 25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00218/0.299, allocations: 2.549 MB / 453.7 MB, free: 23.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.884e-06/0.299, allocations: 3.125 kB / 453.7 MB, free: 23.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.001979/0.301, allocations: 1.83 MB / 455.5 MB, free: 22.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.3011, allocations: 340.2 kB / 455.8 MB, free: 21.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.3012, allocations: 13.44 kB / 455.9 MB, free: 21.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.494e-05/0.3012, allocations: 23.09 kB / 455.9 MB, free: 21.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003353/0.3015, allocations: 125 kB / 456 MB, free: 21.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.112e-05/0.3016, allocations: 22.38 kB / 456 MB, free: 21.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004443/0.302, allocations: 129.8 kB / 456.2 MB, free: 21.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-05/0.3021, allocations: 61.88 kB / 456.2 MB, free: 21.72 MB / 350.1 MB Warning: Assuming fixed start value for the following 25 variables: P1.enableOut.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableOut.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableOut.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer T1.ani:DISCRETE(fixed = true protected = true ) "for transition animation" type: Boolean T1.fireTime:DISCRETE(fixed = true protected = true ) "for transition animation" type: Real P1.firingSumOut.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.firingSumIn.firingSum:DISCRETE(fixed = true protected = true ) "firing sum" type: Integer P1.enableIn.benefitLimit:DISCRETE(fixed = true protected = true ) "best valid benefit" type: Real P1.enableIn.valid:DISCRETE(fixed = true protected = true ) "valid solution" type: Boolean P1.enableIn.benefitMax:DISCRETE(fixed = true protected = true ) "theoretical benefit" type: Real P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P1.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer T1.firingTime:DISCRETE(fixed = true protected = true ) "next putative firing time" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 128 ($PRE.P1.enableOut.valid,P1.enableOut.valid,$PRE.P1.enableOut.benefitLimit,P1.enableOut.benefitLimit,$PRE.P1.enableOut.benefitMax,P1.enableOut.benefitMax,$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.reStart,$whenCondition7,T1.inPlaces[1].tokenInOut,$PRE.P1.tokeninout,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.firingSumOut.firingSum,$PRE.P1.firingSumIn.firingSum,P1.tokeninout,$whenCondition5,$whenCondition6,P1.firingSumIn.firingSum,$PRE.P1.enableIn.benefitLimit,P1.enableIn.benefitLimit,$PRE.P1.enableIn.valid,P1.enableIn.valid,$PRE.P1.enableIn.benefitMax,P1.enableIn.benefitMax,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,$whenCondition1,T1.firingCon,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.reStart,$PRE.T1.firingTime,$PRE.P1.enableOut.arcWeightSum,$PRE.P1.enableOut.TEout[1],P1.enableOut.arcWeight[1],P1.enableOut.disTransition[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.active,T1.activation.minTokensInt[1],T1.activation.arcWeightIntIn[1],T1.activation.tIntIn[1],T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.firingSumOut.firingSum,P1.firingSumOut.arcWeight[1],P1.firingSumOut.fire[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.activeConOut.anychange,P1.activeConOut.vec[1],P1.activeOut[1],$PRE.P1.activeOut[1],P1.t,$PRE.P1.t,$whenCondition2,$whenCondition3,$whenCondition4,T1.enabledByOutPlaces,P1.outTransition[1].fed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 124 * Array equations: 1 * Algorithm blocks: 10 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006255/0.3027, allocations: 0.7509 MB / 457 MB, free: 21.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.3029, allocations: 70.88 kB / 457 MB, free: 21.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002524/0.3054, allocations: 1.954 MB / 459 MB, free: 20.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.652e-05/0.3054, allocations: 8.25 kB / 459 MB, free: 20.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.3054, allocations: 5.219 kB / 459 MB, free: 20.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3054, allocations: 3.938 kB / 459 MB, free: 20.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003593/0.309, allocations: 2.969 MB / 462 MB, free: 18.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.309, allocations: 5.719 kB / 462 MB, free: 18.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.3092, allocations: 27.78 kB / 462 MB, free: 18.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.3092, allocations: 6.484 kB / 462 MB, free: 18.83 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.578e-05/0.3093, allocations: 47.36 kB / 462.1 MB, free: 18.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3093, allocations: 1.469 kB / 462.1 MB, free: 18.81 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3093, allocations: 0 / 462.1 MB, free: 18.81 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002917/0.3122, allocations: 2.326 MB / 464.4 MB, free: 17.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.744e-05/0.3123, allocations: 126.4 kB / 464.5 MB, free: 17.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001876/0.3125, allocations: 80.28 kB / 464.6 MB, free: 17.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004526/0.3129, allocations: 76.06 kB / 464.7 MB, free: 17.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004918/0.3134, allocations: 319.2 kB / 465 MB, free: 17.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.3135, allocations: 49.33 kB / 465 MB, free: 17.44 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002335/0.3138, allocations: 255.8 kB / 465.3 MB, free: 17.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3138, allocations: 0 / 465.3 MB, free: 17.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009891/0.3148, allocations: 336.1 kB / 465.6 MB, free: 17.25 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 68 ($whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.arcWeightSum,P1.enableIn.nremTAin,P1.enableIn.nTAin,P1.enableIn.k,P1.enableIn.posTE,P1.enableIn.randNum,P1.enableIn.sumEnablingProbTAin,P1.enableIn.endWhile,P1.enableIn.Index,P1.enableIn.benefitMax,P1.enableIn.valid,P1.enableIn.benefitLimit,T1.active,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition4,$whenCondition3,$whenCondition2,P1.t,P1.tokeninout,P1.activeOut[1],P1.activeConOut.vec[1],P1.activeConOut.anychange,P1.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.firingSumIn.firingSum,P1.firingSumOut.fire[1],P1.firingSumOut.arcWeight[1],P1.firingSumOut.firingSum,P1.enableOut.TAout[1],P1.enableOut.TEout_[1],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.remTAout[1],P1.enableOut.cumEnablingProb[1],P1.enableOut.arcWeightSum,P1.enableOut.nremTAout,P1.enableOut.nTAout,P1.enableOut.k,P1.enableOut.posTE,P1.enableOut.randNum,P1.enableOut.sumEnablingProbTAout,P1.enableOut.endWhile,P1.enableOut.Index,P1.enableOut.benefitMax,P1.enableOut.valid,P1.enableOut.benefitLimit,T1.inPlaces[1].tokenInOut,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.tIntIn[1],T1.activation.arcWeightIntIn[1],T1.activation.minTokensInt[1],T1.activation.active) * Number of discrete states: 52 (P1.firingSumOut.firingSum,P1.firingSumIn.firingSum,P1.tokeninout,P1.t,P1.activeOut[1],T1.activation.active,T1.delayPassed,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.activeConOut.anychange,i,P1.activeConOut.vec[i],P1.enableOut.TEout_[1],P1.enableOut.valid,P1.enableOut.benefitLimit,P1.enableOut.benefitMax,P1.enableOut.posTE,P1.enableOut.k,P1.enableOut.endWhile,P1.enableOut.state128[4],P1.enableOut.state128[3],P1.enableOut.state128[2],P1.enableOut.state128[1],P1.enableOut.randNum,P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[1],P1.enableOut.Index,$whenCondition2,P1.enableOut.arcWeightSum,P1.enableOut.TEout[1],P1.enableIn.benefitLimit,P1.enableIn.valid,P1.enableIn.benefitMax,P1.enableIn.Index,P1.enableIn.endWhile,P1.enableIn.sumEnablingProbTAin,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.nTAin,P1.enableIn.nremTAin,$whenCondition1,P1.enableIn.arcWeightSum,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 24 * Array equations: 1 * Algorithm blocks: 8 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003916/0.3187, allocations: 3.137 MB / 468.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002565/0.3213, allocations: 2.066 MB / 470.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3213, allocations: 5.438 kB / 470.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002331/0.3236, allocations: 3.052 MB / 473.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006831/0.3243, allocations: 102.8 kB / 474 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/0.3351, allocations: 8.128 MB / 482.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004486/0.3355, allocations: 0.9118 MB / 483 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000433/0.336, allocations: 146.3 kB / 483.1 MB, free: 6.445 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002299/0.3362, allocations: 190.7 kB / 483.3 MB, free: 6.309 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3362, allocations: 1.5 kB / 483.3 MB, free: 6.309 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02775/0.364, allocations: 17.09 MB / 0.4887 GB, free: 7.5 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000162/0.3642, allocations: 209 kB / 0.4889 GB, free: 7.242 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.062/2.426, allocations: 0 / 0.4889 GB, free: 7.242 MB / 366.1 MB (rm -f PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTD.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTD.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.PDtoTD_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTD_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_PDtoTD.fmu > PNlib_PNlib.Examples.DisTest.PDtoTD.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.DisTest.PDtoTD_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.DisTest.PDtoTD.mat","../files/PNlib_PNlib.Examples.DisTest.PDtoTD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches