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 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.PDtoTDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTDfunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.DisTest.PDtoTDfunction,fileNamePrefix="PNlib_PNlib_Examples_DisTest_PDtoTDfunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001643/0.001643, allocations: 197.9 kB / 16.14 MB, free: 6.703 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.306/1.306, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1726/0.1726, allocations: 16.77 MB / 306.7 MB, free: 15.09 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 63.91 kB / 371.1 MB, free: 3.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2558, allocations: 53.45 MB / 424.5 MB, free: 39.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.DisTest.PDtoTDfunction): time 0.002362/0.2582, allocations: 1.974 MB / 426.5 MB, free: 38.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002645/0.2608, allocations: 2.253 MB / 428.8 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.261, allocations: 0 / 428.8 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002505/0.2612, allocations: 88.69 kB / 428.9 MB, free: 37.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000249/0.2615, allocations: 93.33 kB / 428.9 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.2625, allocations: 0.7405 MB / 429.7 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006147/0.2631, allocations: 1.12 MB / 430.8 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001849/0.2633, allocations: 157.2 kB / 431 MB, free: 36.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003072/0.2636, allocations: 440.9 kB / 431.4 MB, free: 36.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002928/0.2639, allocations: 320.3 kB / 431.7 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.722e-05/0.264, allocations: 43.66 kB / 431.7 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004815/0.2645, allocations: 468.4 kB / 432.2 MB, free: 36.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.2647, allocations: 131.2 kB / 432.3 MB, free: 36.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002587/0.2649, allocations: 351 kB / 432.7 MB, free: 36.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007341/0.2657, allocations: 1.08 MB / 433.7 MB, free: 35.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2657, allocations: 0 / 433.7 MB, free: 35.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.2657, allocations: 2.875 kB / 433.8 MB, free: 35.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.2657, allocations: 4 kB / 433.8 MB, free: 35.72 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.001239/0.2669, allocations: 1.282 MB / 435 MB, free: 34.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.267, allocations: 8.719 kB / 435 MB, free: 34.7 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001234/0.2671, allocations: 117.9 kB / 435.2 MB, free: 34.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002631/0.2674, allocations: 95.5 kB / 435.3 MB, free: 34.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004108/0.2678, allocations: 432.9 kB / 435.7 MB, free: 34.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.655e-05/0.2679, allocations: 86.34 kB / 435.8 MB, free: 34.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.268, allocations: 74.7 kB / 435.8 MB, free: 34.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.2696, allocations: 1.324 MB / 437.2 MB, free: 33.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.2696, allocations: 7.5 kB / 437.2 MB, free: 33.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-05/0.2697, allocations: 39.02 kB / 437.2 MB, free: 33.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.978e-05/0.2698, allocations: 53.31 kB / 437.3 MB, free: 33.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/0.271, allocations: 0.9192 MB / 438.2 MB, free: 33.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002726/0.2737, allocations: 3.329 MB / 441.5 MB, free: 30.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/0.275, allocations: 1.576 MB / 443.1 MB, free: 29.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001068/0.2761, allocations: 1.453 MB / 444.5 MB, free: 28.92 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.521e-05/0.2762, allocations: 87.23 kB / 444.6 MB, free: 28.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001141/0.2773, allocations: 0.9212 MB / 445.5 MB, free: 28.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=77): time 2.355e-06/0.2773, allocations: 3.938 kB / 445.5 MB, free: 28.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=77): time 0.003239/0.2806, allocations: 2.621 MB / 448.2 MB, free: 27.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001783/0.2808, allocations: 0.5429 MB / 448.7 MB, free: 26.78 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003236/0.2811, allocations: 406.3 kB / 449.1 MB, free: 26.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.784e-05/0.2812, allocations: 71.03 kB / 449.2 MB, free: 26.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.2813, allocations: 256.7 kB / 449.4 MB, free: 26.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.2814, allocations: 195.3 kB / 449.6 MB, free: 26.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002389/0.2817, allocations: 230.4 kB / 449.8 MB, free: 26.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.107e-05/0.2818, allocations: 377.2 kB / 450.2 MB, free: 25.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005677/0.2823, allocations: 447 kB / 450.6 MB, free: 25.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006983/0.283, allocations: 0.807 MB / 451.5 MB, free: 24.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002116/0.2852, allocations: 2.545 MB / 454 MB, free: 23.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.2852, allocations: 2.938 kB / 454 MB, free: 23.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002016/0.2872, allocations: 1.823 MB / 455.8 MB, free: 22.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000131/0.2874, allocations: 336.9 kB / 456.2 MB, free: 21.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.2874, allocations: 14.62 kB / 456.2 MB, free: 21.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.671e-05/0.2874, allocations: 17.19 kB / 456.2 MB, free: 21.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003438/0.2878, allocations: 133.5 kB / 456.3 MB, free: 21.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.996e-05/0.2878, allocations: 19 kB / 456.3 MB, free: 21.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004451/0.2882, allocations: 132.9 kB / 456.5 MB, free: 21.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.707e-05/0.2883, allocations: 54.94 kB / 456.5 MB, free: 21.7 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: 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.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.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.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.0007634/0.2891, allocations: 0.7574 MB / 457.3 MB, free: 21.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.2893, allocations: 73.12 kB / 457.3 MB, free: 21.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002558/0.2918, allocations: 2.017 MB / 459.4 MB, free: 20.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.697e-05/0.2919, allocations: 13.09 kB / 459.4 MB, free: 20.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.2919, allocations: 1.25 kB / 459.4 MB, free: 20.22 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.2919, allocations: 3.422 kB / 459.4 MB, free: 20.22 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003693/0.2956, allocations: 3.048 MB / 462.4 MB, free: 18.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.2956, allocations: 1.062 kB / 462.4 MB, free: 18.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.2957, allocations: 27.12 kB / 462.5 MB, free: 18.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.2957, allocations: 6.031 kB / 462.5 MB, free: 18.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-05/0.2958, allocations: 38.17 kB / 462.5 MB, free: 18.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.2958, allocations: 6.25 kB / 462.5 MB, free: 18.74 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2959, allocations: 5.5 kB / 462.5 MB, free: 18.74 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003121/0.299, allocations: 2.376 MB / 464.9 MB, free: 17.6 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.624e-05/0.2991, allocations: 132.6 kB / 465 MB, free: 17.47 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002049/0.2993, allocations: 78.39 kB / 465.1 MB, free: 17.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004616/0.2997, allocations: 75.03 kB / 465.2 MB, free: 17.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005063/0.3003, allocations: 325.2 kB / 465.5 MB, free: 17.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-05/0.3004, allocations: 49.94 kB / 465.5 MB, free: 17.33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002304/0.3006, allocations: 244.3 kB / 465.8 MB, free: 17.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3006, allocations: 4 kB / 465.8 MB, free: 17.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00101/0.3016, allocations: 342.9 kB / 466.1 MB, free: 17.14 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 (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.003885/0.3055, allocations: 3.195 MB / 469.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002519/0.3081, allocations: 2.093 MB / 471.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.3081, allocations: 6.156 kB / 471.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002381/0.3105, allocations: 3.155 MB / 474.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006209/0.3111, allocations: 107.6 kB / 474.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/0.3212, allocations: 8.2 MB / 482.9 MB, free: 6.957 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004256/0.3216, allocations: 0.9196 MB / 483.8 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004183/0.3221, allocations: 144 kB / 483.9 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002205/0.3223, allocations: 185.6 kB / 484.1 MB, free: 6.094 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3223, allocations: 0 / 484.1 MB, free: 6.094 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02973/0.352, allocations: 17.13 MB / 0.4895 GB, free: 6.68 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002175/0.3523, allocations: 220.3 kB / 0.4897 GB, free: 6.426 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.067/2.419, allocations: 0 / 0.4897 GB, free: 6.426 MB / 366.1 MB (rm -f PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; mkfifo PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe ; head -c 1048576 < PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe >> ../files/PNlib_PNlib.Examples.DisTest.PDtoTDfunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.DisTest.PDtoTDfunction_res.mat --tempDir=temp_PNlib_PNlib_Examples_DisTest_PDtoTDfunction_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_DisTest_PDtoTDfunction.fmu > PNlib_PNlib.Examples.DisTest.PDtoTDfunction.pipe 2>&1) 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