Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.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.HybTest.HybLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.HybTest.HybLoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight",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.001451/0.001451, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00134/0.00134, allocations: 191.8 kB / 16.25 MB, free: 6.621 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.37/1.37, allocations: 222.9 MB / 239.9 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.2041/0.2041, allocations: 16.76 MB / 306.8 MB, free: 15.05 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 67.89 kB / 371.3 MB, free: 3.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3021, allocations: 53.45 MB / 424.7 MB, free: 39.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.002662/0.3048, allocations: 2.085 MB / 426.8 MB, free: 38.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002197/0.307, allocations: 1.578 MB / 428.4 MB, free: 38.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002064/0.3073, allocations: 2.781 kB / 428.4 MB, free: 38.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002683/0.3075, allocations: 105.4 kB / 428.5 MB, free: 38.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003564/0.3079, allocations: 108.9 kB / 428.6 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009885/0.3089, allocations: 0.5857 MB / 429.2 MB, free: 37.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009379/0.3099, allocations: 1.448 MB / 430.6 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000262/0.3101, allocations: 268.6 kB / 430.9 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000341/0.3105, allocations: 0.5587 MB / 431.4 MB, free: 36.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000341/0.3108, allocations: 496.1 kB / 431.9 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001315/0.311, allocations: 133.3 kB / 432 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005043/0.3115, allocations: 470.6 kB / 432.5 MB, free: 36.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001588/0.3116, allocations: 238.6 kB / 432.7 MB, free: 36.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003611/0.312, allocations: 0.5651 MB / 433.3 MB, free: 36.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000953/0.313, allocations: 1.531 MB / 434.8 MB, free: 35.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.313, allocations: 0 / 434.8 MB, free: 35.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.313, allocations: 4 kB / 434.8 MB, free: 35.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.313, allocations: 2.938 kB / 434.8 MB, free: 35.43 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: 259 * Number of variables: 259 Notification: Performance of Generate backend data structure: time 0.001592/0.3146, allocations: 1.571 MB / 436.4 MB, free: 34.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.3147, allocations: 13.08 kB / 436.4 MB, free: 34.25 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001773/0.3148, allocations: 185.7 kB / 436.6 MB, free: 34.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009598/0.3158, allocations: 231.6 kB / 436.8 MB, free: 34.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006114/0.3164, allocations: 0.547 MB / 437.4 MB, free: 33.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000155/0.3166, allocations: 253.3 kB / 437.6 MB, free: 33.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/0.3168, allocations: 131.8 kB / 437.8 MB, free: 33.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002447/0.3192, allocations: 1.949 MB / 439.7 MB, free: 32.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/0.3193, allocations: 3.375 kB / 439.7 MB, free: 32.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/0.3194, allocations: 54.83 kB / 439.8 MB, free: 32.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001404/0.3195, allocations: 104.4 kB / 439.9 MB, free: 32.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002016/0.3215, allocations: 1.421 MB / 441.3 MB, free: 32.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004222/0.3258, allocations: 3.55 MB / 444.8 MB, free: 30.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/0.3274, allocations: 1.835 MB / 446.7 MB, free: 29.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001356/0.3288, allocations: 1.687 MB / 448.4 MB, free: 28.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001169/0.3289, allocations: 93.39 kB / 448.4 MB, free: 28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001327/0.3303, allocations: 1.092 MB / 449.5 MB, free: 27.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=88): time 2.434e-06/0.3303, allocations: 0 / 449.5 MB, free: 27.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=88): time 0.004216/0.3345, allocations: 3.35 MB / 452.9 MB, free: 26.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002292/0.3348, allocations: 0.6651 MB / 453.6 MB, free: 25.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004446/0.3352, allocations: 0.5048 MB / 454.1 MB, free: 25.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.116e-05/0.3353, allocations: 75.09 kB / 454.1 MB, free: 25.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.3355, allocations: 377.3 kB / 454.5 MB, free: 24.9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00015/0.3357, allocations: 244.4 kB / 454.7 MB, free: 24.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003112/0.336, allocations: 297.6 kB / 455 MB, free: 24.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.501e-05/0.3361, allocations: 383.3 kB / 455.4 MB, free: 24.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000797/0.3369, allocations: 0.5554 MB / 456 MB, free: 24.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/0.3379, allocations: 1.037 MB / 457 MB, free: 23.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00405/0.342, allocations: 3.131 MB / 460.1 MB, free: 20.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.139e-05/0.342, allocations: 4.656 kB / 460.1 MB, free: 20.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003668/0.3457, allocations: 2.242 MB / 462.4 MB, free: 19.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002042/0.3459, allocations: 381.6 kB / 462.7 MB, free: 19.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.116e-05/0.346, allocations: 16.42 kB / 462.8 MB, free: 19.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.954e-05/0.346, allocations: 26.52 kB / 462.8 MB, free: 19.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005227/0.3466, allocations: 161.2 kB / 462.9 MB, free: 19.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.301e-05/0.3466, allocations: 32.02 kB / 463 MB, free: 19.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000729/0.3474, allocations: 159.7 kB / 463.1 MB, free: 19.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/0.3475, allocations: 71.39 kB / 463.2 MB, free: 19.4 MB / 350.1 MB Warning: Assuming fixed start value for the following 21 variables: 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 ) type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" 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.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.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 P1.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P1.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real 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.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean 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: 64 * Number of states: 0 () * Number of discrete variables: 138 ($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.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$PRE.P1.enableOut.disTAout[1],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,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],P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.cumEnablingProb[1],$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$PRE.P1.enableIn.disTAin[1],$PRE.P1.disMarksInOut,P1.outTransition[1].tokenInOut,$PRE.T1.ani,$PRE.T1.fireTime,T1.ani,T1.fireTime,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition5,T1.firingCon,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T1.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.outTransition[1].minTokensint,P1.outTransition[1].tint,P1.reStart,P1.feeding.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,P1.emptying.vec[1],P1.emptying.numtrue,P1.emptying.anytrue,$PRE.T1.firingTime,$PRE.P1.enableOut.TEout[1],$PRE.P1.enableIn.TEin[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.minTokensInt[1],T1.activation.tIntIn[1],T1.activation.active,T1.delayPassed,$PRE.T1.delayPassed,T1.firingTime,T1.active,P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.vec[1],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.vec[1],P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.delayPassedOut.vec[1],P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.enableIn.TAein[1],P1.enabledByInPlaces[1],P1.fireOut[1],P1.fireIn[1],$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 11 * Record equations: 1 * 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.001613/0.3492, allocations: 0.9012 MB / 464.1 MB, free: 18.76 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002782/0.3494, allocations: 92.58 kB / 464.2 MB, free: 18.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004275/0.3537, allocations: 2.716 MB / 466.9 MB, free: 17.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/0.3538, allocations: 5.25 kB / 466.9 MB, free: 17.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.3538, allocations: 1.656 kB / 466.9 MB, free: 17.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.3538, allocations: 2.297 kB / 466.9 MB, free: 17.61 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008113/0.3619, allocations: 4.093 MB / 471 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.493e-05/0.362, allocations: 3.609 kB / 471 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002647/0.3623, allocations: 40.81 kB / 471.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.405e-05/0.3623, allocations: 2.312 kB / 471.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001776/0.3625, allocations: 51.41 kB / 471.1 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-05/0.3625, allocations: 2.891 kB / 471.1 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.543e-06/0.3626, allocations: 4.969 kB / 471.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007721/0.3703, allocations: 4.064 MB / 475.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002238/0.3706, allocations: 139.1 kB / 475.3 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003419/0.3709, allocations: 86.44 kB / 475.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007467/0.3717, allocations: 92 kB / 475.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007427/0.3724, allocations: 370.6 kB / 475.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001732/0.3726, allocations: 60.2 kB / 475.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004671/0.3731, allocations: 290.7 kB / 476.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.3731, allocations: 4 kB / 476.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001718/0.3748, allocations: 399 kB / 476.6 MB, free: 13.5 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (P1.t_) * Number of discrete variables: 71 (P1.fireIn[1],P1.fireOut[1],T1.active,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,P1.outTransition[1].tokenInOut,P1.disMarksInOut,P1.enabledByInPlaces[1],P1.enableIn.TAein[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.disTAin[1],P1.enableIn.remTAin[1],P1.enableIn.cumEnablingProb[1],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.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.disTAout[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.delayPassedOut.vec[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.vec[1],P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.vec[1],P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.vec[1],P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,T1.firingTime,T1.fireTime,T1.delayPassed,T1.ani,T1.activation.active,P1.emptying.anytrue,P1.emptying.numtrue,P1.feeding.anytrue,P1.feeding.numtrue) * Number of discrete states: 54 (P1.feeding.numtrue,P1.feeding.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,P1.disMarksInOut,P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,T1.activation.active,T1.delayPassed,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout_[1],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,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$whenCondition2,P1.enableOut.TEout[1],P1.enableIn.TEin_[1],P1.enableIn.posTE,P1.enableIn.k,P1.enableIn.endWhile,P1.enableIn.state128[4],P1.enableIn.state128[3],P1.enableIn.state128[2],P1.enableIn.state128[1],P1.enableIn.randNum,P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[1],P1.enableIn.Index,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$whenCondition1,P1.enableIn.TEin[1],P1.disMarksOut.numtrue,P1.disMarksIn.numtrue,P1.disMarkChange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 1 * When equations: 3 * 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.006978/0.3818, allocations: 4.89 MB / 481.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003442/0.3853, allocations: 2.7 MB / 484.2 MB, free: 7.934 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.3853, allocations: 4 kB / 484.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002381/0.3877, allocations: 3.431 MB / 487.6 MB, free: 4.555 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007087/0.3884, allocations: 114.9 kB / 487.7 MB, free: 4.445 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01237/0.4008, allocations: 10.1 MB / 497.8 MB, free: 9.801 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007605/0.4016, allocations: 1.056 MB / 498.9 MB, free: 8.715 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004923/0.4021, allocations: 185.4 kB / 499.1 MB, free: 8.535 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003451/0.4025, allocations: 251.4 kB / 499.3 MB, free: 8.293 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4025, allocations: 0 / 499.3 MB, free: 8.293 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06045/0.4629, allocations: 21.55 MB / 0.5086 GB, free: 2.727 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002436/0.4632, allocations: 220.6 kB / 0.5089 GB, free: 2.473 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.585/3.048, allocations: 3.938 kB / 0.5089 GB, free: 2.469 MB / 382.1 MB (rm -f PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe ; mkfifo PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe ; head -c 1048576 < PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe >> ../files/PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.mat --tempDir=temp_PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_HybTest_HybLoopAndArcweight.fmu > PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.HybTest.HybLoopAndArcweight.mat","../files/PNlib_PNlib.Examples.HybTest.HybLoopAndArcweight.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches