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 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: "" <> 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.001275/0.00128, allocations: 108 kB / 15.63 MB, free: 112 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 192.9 kB / 16.56 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.2068/0.2068, allocations: 16.75 MB / 307.2 MB, free: 14.92 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 67.89 kB / 371.8 MB, free: 3.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2734, allocations: 53.45 MB / 425.2 MB, free: 39.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.HybTest.HybLoopAndArcweight): time 0.002817/0.2762, allocations: 1.972 MB / 427.2 MB, free: 38.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002405/0.2786, allocations: 1.562 MB / 428.8 MB, free: 38.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002455/0.2789, allocations: 9.812 kB / 428.8 MB, free: 38.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003538/0.2793, allocations: 132 kB / 428.9 MB, free: 37.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003874/0.2797, allocations: 142.1 kB / 429 MB, free: 37.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001242/0.281, allocations: 0.6471 MB / 429.7 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001077/0.282, allocations: 1.453 MB / 431.1 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003135/0.2824, allocations: 266.1 kB / 431.4 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003835/0.2828, allocations: 0.5513 MB / 432 MB, free: 36.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004165/0.2832, allocations: 0.4917 MB / 432.4 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001833/0.2834, allocations: 130.1 kB / 432.6 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000602/0.284, allocations: 498.6 kB / 433.1 MB, free: 36.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000173/0.2842, allocations: 245.4 kB / 433.3 MB, free: 36.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003953/0.2846, allocations: 0.5618 MB / 433.9 MB, free: 36.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001126/0.2857, allocations: 1.567 MB / 435.4 MB, free: 35.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2857, allocations: 0 / 435.4 MB, free: 35.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2857, allocations: 3.938 kB / 435.4 MB, free: 35.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.2858, allocations: 0 / 435.4 MB, free: 35.39 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.001803/0.2876, allocations: 1.576 MB / 437 MB, free: 34.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.2876, allocations: 16.08 kB / 437 MB, free: 34.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001799/0.2878, allocations: 178.5 kB / 437.2 MB, free: 34.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009348/0.2887, allocations: 232.4 kB / 437.4 MB, free: 34.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006703/0.2894, allocations: 0.5456 MB / 438 MB, free: 33.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001793/0.2896, allocations: 256.6 kB / 438.2 MB, free: 33.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001639/0.2898, allocations: 120.7 kB / 438.3 MB, free: 33.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002617/0.2924, allocations: 1.953 MB / 440.3 MB, free: 32.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.631e-05/0.2925, allocations: 3.938 kB / 440.3 MB, free: 32.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/0.2926, allocations: 59.06 kB / 440.4 MB, free: 32.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001495/0.2927, allocations: 108.3 kB / 440.5 MB, free: 32.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00212/0.2949, allocations: 1.415 MB / 441.9 MB, free: 32.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00414/0.299, allocations: 3.532 MB / 445.4 MB, free: 30.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001727/0.3008, allocations: 1.835 MB / 447.2 MB, free: 29.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/0.3022, allocations: 1.684 MB / 448.9 MB, free: 28.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001401/0.3036, allocations: 3.045 MB / 452 MB, free: 24.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001335/0.3049, allocations: 1.094 MB / 453.1 MB, free: 24.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=88): time 3.086e-06/0.305, allocations: 0 / 453.1 MB, free: 24.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=88): time 0.004507/0.3095, allocations: 3.352 MB / 456.4 MB, free: 22.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002472/0.3098, allocations: 0.6603 MB / 457.1 MB, free: 22.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005352/0.3103, allocations: 0.507 MB / 457.6 MB, free: 21.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.888e-05/0.3104, allocations: 69.47 kB / 457.7 MB, free: 21.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002007/0.3106, allocations: 384.6 kB / 458 MB, free: 21.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/0.3108, allocations: 234.3 kB / 458.3 MB, free: 21.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003684/0.3111, allocations: 300.4 kB / 458.6 MB, free: 21.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.3113, allocations: 387.3 kB / 458.9 MB, free: 20.9 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008012/0.3121, allocations: 0.5521 MB / 459.5 MB, free: 20.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/0.3132, allocations: 1.032 MB / 460.5 MB, free: 19.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003328/0.3165, allocations: 3.14 MB / 463.7 MB, free: 17.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-05/0.3166, allocations: 4.156 kB / 463.7 MB, free: 17.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003422/0.32, allocations: 2.238 MB / 465.9 MB, free: 16.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001806/0.3202, allocations: 380.5 kB / 466.3 MB, free: 16.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00162/0.3218, allocations: 1.227 MB / 467.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.464e-05/0.3219, allocations: 22 kB / 467.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005431/0.3224, allocations: 169.1 kB / 467.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.659e-05/0.3225, allocations: 32.55 kB / 467.7 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006549/0.3231, allocations: 162.8 kB / 467.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/0.3233, allocations: 72.23 kB / 467.9 MB, free: 15.48 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.outPlaces[1].enabledByInPlaces,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.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 (161): * Single equations (assignments): 149 * 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.001235/0.3246, allocations: 0.9034 MB / 468.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003009/0.3249, allocations: 97.05 kB / 468.9 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004069/0.3289, allocations: 2.713 MB / 471.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.329, allocations: 5.312 kB / 471.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.329, allocations: 1.734 kB / 471.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.329, allocations: 2.75 kB / 471.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006305/0.3353, allocations: 4.097 MB / 475.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003756/0.3391, allocations: 2.637 MB / 478.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002173/0.3393, allocations: 43.61 kB / 478.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.3393, allocations: 2.922 kB / 478.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001256/0.3395, allocations: 55.52 kB / 478.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.3395, allocations: 2.281 kB / 478.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.3395, allocations: 9.781 kB / 478.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005904/0.3454, allocations: 4.082 MB / 482.6 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.3456, allocations: 147.8 kB / 482.7 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002526/0.3458, allocations: 81.75 kB / 482.8 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005948/0.3464, allocations: 95.53 kB / 482.9 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005469/0.347, allocations: 370 kB / 483.3 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001424/0.3471, allocations: 60.16 kB / 483.3 MB, free: 8.422 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003536/0.3475, allocations: 296.5 kB / 483.6 MB, free: 8.172 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3475, allocations: 0 / 483.6 MB, free: 8.172 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001294/0.3488, allocations: 395.4 kB / 484 MB, free: 7.789 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.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.outPlaces[1].enabledByInPlaces,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 (47): * Single equations (assignments): 34 * 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.006164/0.355, allocations: 4.919 MB / 488.9 MB, free: 3.027 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002892/0.3579, allocations: 2.591 MB / 491.5 MB, free: 304 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.3579, allocations: 4.062 kB / 491.5 MB, free: 300 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003593/0.3615, allocations: 3.442 MB / 495 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000789/0.3624, allocations: 109.5 kB / 495.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01533/0.3777, allocations: 9.99 MB / 0.4932 GB, free: 2.098 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008346/0.3786, allocations: 1.06 MB / 0.4943 GB, free: 1.008 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005119/0.3791, allocations: 197.5 kB / 0.4944 GB, free: 0.8125 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004059/0.3795, allocations: 267.3 kB / 0.4947 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of SimCode: time 1.163e-06/0.3796, allocations: 0 / 0.4947 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04754/0.4271, allocations: 21.77 MB / 0.516 GB, free: 10.72 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.592/7.019, allocations: 4.062 kB / 0.516 GB, free: 10.72 MB / 398.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) "" Variables in the reference:P1.t,T1.active,T1.fire,time Variables in the result:P1.N,P1.animateMarking,P1.color[1],P1.color[2],P1.color[3],P1.enablingPrioIn[1],P1.enablingPrioOut[1],P1.enablingProbIn[1],P1.enablingProbOut[1],P1.enablingType,P1.inTransition[1].active,P1.inTransition[1].arcWeight,P1.inTransition[1].arcWeightint,P1.inTransition[1].decreasingFactor,P1.inTransition[1].disPlace,P1.inTransition[1].disTransition,P1.inTransition[1].emptied,P1.inTransition[1].enable,P1.inTransition[1].enabledByInPlaces,P1.inTransition[1].fire,P1.inTransition[1].instSpeed,P1.inTransition[1].maxSpeed,P1.inTransition[1].maxTokens,P1.inTransition[1].maxTokensint,P1.inTransition[1].prelimSpeed,P1.inTransition[1].speedSum,P1.inTransition[1].t,P1.inTransition[1].tint,P1.levelCon,P1.localSeedIn,P1.localSeedOut,P1.maxMarks,P1.minMarks,P1.nIn,P1.nOut,P1.outTransition[1].active,P1.outTransition[1].arcType,P1.outTransition[1].arcWeight,P1.outTransition[1].arcWeightint,P1.outTransition[1].decreasingFactor,P1.outTransition[1].disPlace,P1.outTransition[1].disTransition,P1.outTransition[1].enable,P1.outTransition[1].fed,P1.outTransition[1].fire,P1.outTransition[1].instSpeed,P1.outTransition[1].maxSpeed,P1.outTransition[1].minTokens,P1.outTransition[1].minTokensint,P1.outTransition[1].normalArc,P1.outTransition[1].prelimSpeed,P1.outTransition[1].speedSum,P1.outTransition[1].t,P1.outTransition[1].testValue,P1.outTransition[1].testValueint,P1.outTransition[1].tint,P1.outTransition[1].tokenInOut,P1.pc_t,P1.reStart,P1.reStartMarks,P1.showCapacity,P1.showPlaceName,P1.showTokenFlow,P1.startMarks,P1.t,P1.t_,T1.active,T1.arcWeightIn[1],T1.arcWeightOut[1],T1.delay,T1.fire,T1.firingCon,T1.inPlaces[1].active,T1.inPlaces[1].arcType,T1.inPlaces[1].arcWeight,T1.inPlaces[1].arcWeightint,T1.inPlaces[1].decreasingFactor,T1.inPlaces[1].disPlace,T1.inPlaces[1].disTransition,T1.inPlaces[1].enable,T1.inPlaces[1].fed,T1.inPlaces[1].fire,T1.inPlaces[1].instSpeed,T1.inPlaces[1].maxSpeed,T1.inPlaces[1].minTokens,T1.inPlaces[1].minTokensint,T1.inPlaces[1].normalArc,T1.inPlaces[1].prelimSpeed,T1.inPlaces[1].speedSum,T1.inPlaces[1].t,T1.inPlaces[1].testValue,T1.inPlaces[1].testValueint,T1.inPlaces[1].tint,T1.inPlaces[1].tokenInOut,T1.nIn,T1.nOut,T1.outPlaces[1].active,T1.outPlaces[1].arcWeight,T1.outPlaces[1].arcWeightint,T1.outPlaces[1].decreasingFactor,T1.outPlaces[1].disPlace,T1.outPlaces[1].disTransition,T1.outPlaces[1].emptied,T1.outPlaces[1].enable,T1.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].fire,T1.outPlaces[1].instSpeed,T1.outPlaces[1].maxSpeed,T1.outPlaces[1].maxTokens,T1.outPlaces[1].maxTokensint,T1.outPlaces[1].prelimSpeed,T1.outPlaces[1].speedSum,T1.outPlaces[1].t,T1.outPlaces[1].tint,der(P1.t_),settings.M,settings.N,settings.animateHazardFunc,settings.animateMarking,settings.animatePlace,settings.animatePutFireTime,settings.animateSpeed,settings.animateTIarc,settings.animateTransition,settings.animateWeightTIarc,settings.globalSeed,settings.scale,settings.showCapacity,settings.showPlaceName,settings.showTime,settings.showTokenFlow,settings.showTransitionName,settings.timeFire,time