Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.ZeroArcWeight.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.ConTest.ZeroArcWeight,fileNamePrefix="PNlib_PNlib_Examples_ConTest_ZeroArcWeight",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.ConTest.ZeroArcWeight,fileNamePrefix="PNlib_PNlib_Examples_ConTest_ZeroArcWeight",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.001094/0.001094, allocations: 99.94 kB / 15.05 MB, free: 1.113 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.00129/0.00129, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.2257/0.2257, allocations: 16.86 MB / 307.8 MB, free: 15.63 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003528, allocations: 8 kB / 373 MB, free: 3.273 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3251, allocations: 54.5 MB / 427.5 MB, free: 37.9 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.ZeroArcWeight): time 0.002779/0.328, allocations: 3.045 MB / 430.5 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004444/0.3324, allocations: 2.833 MB / 433.3 MB, free: 36.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006881/0.3332, allocations: 14.12 kB / 433.3 MB, free: 36.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004498/0.3336, allocations: 241 kB / 433.6 MB, free: 36.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008259/0.3345, allocations: 280.5 kB / 433.9 MB, free: 35.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002272/0.3367, allocations: 0.9368 MB / 434.8 MB, free: 35.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002175/0.3389, allocations: 1.713 MB / 436.5 MB, free: 34.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005046/0.3394, allocations: 381.9 kB / 436.9 MB, free: 34.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001428/0.3409, allocations: 0.9972 MB / 437.9 MB, free: 34.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008335/0.3417, allocations: 0.7494 MB / 438.6 MB, free: 34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001757/0.3419, allocations: 83.31 kB / 438.7 MB, free: 34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008595/0.3428, allocations: 390.6 kB / 439.1 MB, free: 33.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003148/0.3431, allocations: 328.7 kB / 439.4 MB, free: 33.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004603/0.3436, allocations: 395.5 kB / 439.8 MB, free: 33.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001588/0.3452, allocations: 1.782 MB / 441.6 MB, free: 33.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3452, allocations: 2.969 kB / 441.6 MB, free: 33.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3452, allocations: 0 / 441.6 MB, free: 33.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.074e-05/0.3452, allocations: 0 / 441.6 MB, free: 33.26 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: 495 * Number of variables: 495 Notification: Performance of Generate backend data structure: time 0.002721/0.3479, allocations: 2.514 MB / 444.1 MB, free: 31.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.348, allocations: 12.38 kB / 444.1 MB, free: 31.26 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003485/0.3483, allocations: 304.9 kB / 444.4 MB, free: 31.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001508/0.3499, allocations: 398.9 kB / 444.8 MB, free: 31.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.3511, allocations: 0.8344 MB / 445.6 MB, free: 30.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003005/0.3514, allocations: 408.3 kB / 446 MB, free: 30.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002849/0.3517, allocations: 217.3 kB / 446.2 MB, free: 30.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004485/0.3562, allocations: 3.527 MB / 449.8 MB, free: 28.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.963e-05/0.3563, allocations: 3.906 kB / 449.8 MB, free: 28.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002032/0.3565, allocations: 101.5 kB / 449.9 MB, free: 28.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002433/0.3567, allocations: 169.4 kB / 450 MB, free: 28.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003898/0.3606, allocations: 2.582 MB / 452.6 MB, free: 27.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008984/0.3696, allocations: 7.122 MB / 459.7 MB, free: 23.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00409/0.3738, allocations: 3.346 MB / 463.1 MB, free: 21.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001268/0.3739, allocations: 41.02 kB / 463.1 MB, free: 21.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003273/0.3772, allocations: 2.076 MB / 465.2 MB, free: 20.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=194): time 3.576e-06/0.3772, allocations: 0.75 kB / 465.2 MB, free: 20.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=194): time 0.01115/0.3884, allocations: 8.32 MB / 473.5 MB, free: 15.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006642/0.3891, allocations: 1.452 MB / 475 MB, free: 13.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001423/0.3905, allocations: 0.828 MB / 475.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002713/0.3908, allocations: 128.8 kB / 475.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005357/0.3913, allocations: 0.598 MB / 476.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004941/0.3918, allocations: 0.5002 MB / 477 MB, free: 12.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.392, allocations: 56.84 kB / 477.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002527/0.3922, allocations: 461.8 kB / 477.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002081/0.3943, allocations: 1.161 MB / 478.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002621/0.3969, allocations: 2.135 MB / 480.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002706/0.3997, allocations: 2.167 MB / 483 MB, free: 8.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.759e-05/0.3997, allocations: 13.17 kB / 483 MB, free: 8.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=378) (initialization): time 0.006495/0.4062, allocations: 4.616 MB / 487.6 MB, free: 5.801 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004871/0.4067, allocations: 0.9862 MB / 488.6 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002593/0.4093, allocations: 1.98 MB / 490.6 MB, free: 2.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000777/0.4101, allocations: 220.7 kB / 490.8 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009928/0.4111, allocations: 319.2 kB / 491.1 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001849/0.413, allocations: 1.723 MB / 492.8 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00167/0.4147, allocations: 341.2 kB / 493.2 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002079/0.4149, allocations: 155.9 kB / 493.3 MB, free: 44 kB / 350.1 MB Warning: Assuming fixed start value for the following 54 variables: P3.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P3.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P3.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P3.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P3.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P3.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P3.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P3.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P3.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P3.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P3.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P3.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P3.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P3.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P3.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P3.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P2.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P2.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P2.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P2.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" 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 ) type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P3.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P3.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P2.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P2.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableIn.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P2.enableIn.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableIn.sumEnablingProbTAin:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P2.enableIn.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableIn.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableIn.nTAin:DISCRETE(fixed = true protected = true ) "number ofactive input transitions" type: Integer P2.enableIn.nremTAin:DISCRETE(fixed = true protected = true ) "number of remaining active input transitions" type: Integer P2.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" 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 P1.enableIn.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 309 ($PRE.P3.enableOut.Index,P3.enableOut.Index,$PRE.P3.enableOut.endWhile,P3.enableOut.endWhile,$PRE.P3.enableOut.sumEnablingProbTAout,P3.enableOut.sumEnablingProbTAout,$PRE.P3.enableOut.state128[1],P3.enableOut.state128[1],$PRE.P3.enableOut.state128[2],P3.enableOut.state128[2],$PRE.P3.enableOut.state128[3],P3.enableOut.state128[3],$PRE.P3.enableOut.state128[4],P3.enableOut.state128[4],$PRE.P3.enableOut.randNum,P3.enableOut.randNum,$PRE.P3.enableOut.posTE,P3.enableOut.posTE,$PRE.P3.enableOut.k,P3.enableOut.k,$PRE.P3.enableOut.nTAout,P3.enableOut.nTAout,$PRE.P3.enableOut.nremTAout,P3.enableOut.nremTAout,$PRE.P3.enableOut.arcWeightSum,P3.enableOut.arcWeightSum,$whenCondition9,P3.delayPassedOut.anytrue,P3.delayPassedOut.numtrue,$PRE.P3.enableIn.posTE,P3.enableIn.posTE,$PRE.P3.enableIn.k,P3.enableIn.k,$PRE.P3.enableIn.endWhile,P3.enableIn.endWhile,$PRE.P3.enableIn.state128[1],P3.enableIn.state128[1],$PRE.P3.enableIn.state128[2],P3.enableIn.state128[2],$PRE.P3.enableIn.state128[3],P3.enableIn.state128[3],$PRE.P3.enableIn.state128[4],P3.enableIn.state128[4],$PRE.P3.enableIn.randNum,P3.enableIn.randNum,$PRE.P3.enableIn.cumEnablingProb[1],P3.enableIn.cumEnablingProb[1],$PRE.P3.enableIn.sumEnablingProbTAin,P3.enableIn.sumEnablingProbTAin,$PRE.P3.enableIn.nTAin,P3.enableIn.nTAin,$PRE.P3.enableIn.nremTAin,P3.enableIn.nremTAin,$PRE.P3.enableIn.remTAin[1],P3.enableIn.remTAin[1],$PRE.P3.enableIn.Index,P3.enableIn.Index,$PRE.P3.enableIn.arcWeightSum,P3.enableIn.arcWeightSum,$PRE.P3.enableIn.disTAin[1],P3.enableIn.disTAin[1],$PRE.P2.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,$PRE.P2.enableOut.state128[1],P2.enableOut.state128[1],$PRE.P2.enableOut.state128[2],P2.enableOut.state128[2],$PRE.P2.enableOut.state128[3],P2.enableOut.state128[3],$PRE.P2.enableOut.state128[4],P2.enableOut.state128[4],$PRE.P2.enableOut.randNum,P2.enableOut.randNum,$PRE.P2.enableOut.cumEnablingProb[1],P2.enableOut.cumEnablingProb[1],$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,$PRE.P2.enableOut.remTAout[1],P2.enableOut.remTAout[1],$PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,$PRE.P2.enableOut.disTAout[1],P2.enableOut.disTAout[1],$PRE.P1.enableOut.posTE,P1.enableOut.posTE,$PRE.P1.enableOut.k,P1.enableOut.k,$PRE.P1.enableOut.endWhile,P1.enableOut.endWhile,$PRE.P1.enableOut.state128[1],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[4],$PRE.P1.enableOut.randNum,P1.enableOut.randNum,$PRE.P1.enableOut.cumEnablingProb[1],P1.enableOut.cumEnablingProb[1],$PRE.P1.enableOut.sumEnablingProbTAout,P1.enableOut.sumEnablingProbTAout,$PRE.P1.enableOut.nTAout,P1.enableOut.nTAout,$PRE.P1.enableOut.nremTAout,P1.enableOut.nremTAout,$PRE.P1.enableOut.remTAout[1],P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,$PRE.P1.enableOut.disTAout[1],P1.enableOut.disTAout[1],P2.outTransition[1].tokenInOut,$PRE.P2.disMarksInOut,P1.outTransition[1].tokenInOut,$PRE.P1.disMarksInOut,$whenCondition8,P3.disMarksInOut,$PRE.P3.disMarksOut.anytrue,$PRE.P3.disMarksIn.anytrue,$whenCondition7,P2.disMarksInOut,$PRE.P2.disMarksOut.anytrue,$PRE.P2.disMarksIn.anytrue,$whenCondition6,P1.disMarksInOut,$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,P3.disMarksOut.anytrue,P3.disMarksOut.numtrue,P2.disMarksIn.anytrue,P2.disMarksIn.numtrue,$PRE.P1.fireOut[1],P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,$PRE.P2.enableIn.Index,P2.enableIn.Index,$PRE.P2.enableIn.endWhile,P2.enableIn.endWhile,$PRE.P2.enableIn.sumEnablingProbTAin,P2.enableIn.sumEnablingProbTAin,$PRE.P2.enableIn.state128[1],P2.enableIn.state128[1],$PRE.P2.enableIn.state128[2],P2.enableIn.state128[2],$PRE.P2.enableIn.state128[3],P2.enableIn.state128[3],$PRE.P2.enableIn.state128[4],P2.enableIn.state128[4],$PRE.P2.enableIn.randNum,P2.enableIn.randNum,$PRE.P2.enableIn.posTE,P2.enableIn.posTE,$PRE.P2.enableIn.k,P2.enableIn.k,$PRE.P2.enableIn.nTAin,P2.enableIn.nTAin,$PRE.P2.enableIn.nremTAin,P2.enableIn.nremTAin,$PRE.P2.enableIn.arcWeightSum,P2.enableIn.arcWeightSum,$whenCondition2,P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$PRE.P1.enableIn.sumEnablingProbTAin,P1.enableIn.sumEnablingProbTAin,$PRE.P1.enableIn.state128[1],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[4],$PRE.P1.enableIn.randNum,P1.enableIn.randNum,$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.nTAin,P1.enableIn.nTAin,$PRE.P1.enableIn.nremTAin,P1.enableIn.nremTAin,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,$whenCondition1,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P3.inTransition[1].disPlace,P3.inTransition[1].maxTokensint,P3.inTransition[1].tint,T1.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,P3.reStart,T1.firingCon,T1.inPlaces[2].disTransition,P2.outTransition[1].normalArc,P2.outTransition[1].testValueint,P2.outTransition[1].arcType,P2.outTransition[1].disPlace,P2.outTransition[1].minTokensint,P2.outTransition[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,P2.reStart,P1.reStart,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksOut.vec[1],P2.disMarksOut.anytrue,P2.disMarksOut.numtrue,P2.disMarksOut.vec[1],P3.disMarksIn.anytrue,P3.disMarksIn.numtrue,P3.disMarksIn.vec[1],$whenCondition3,$whenCondition4,$whenCondition5,P1.fireOut[1],P1.enableOut.TAout[1],P1.enableOut.TEout_[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout[1],P1.delayPassedOut.anytrue,P1.delayPassedOut.numtrue,P1.feeding.anytrue,P1.feeding.numtrue,$PRE.P2.fireOut[1],P2.fireOut[1],P2.enableOut.TAout[1],P2.enableOut.TEout_[1],$PRE.P2.enableOut.TEout[1],P2.enableOut.TEout[1],P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.feeding.anytrue,P2.feeding.numtrue,P2.emptying.vec[1],P2.emptying.anytrue,P2.emptying.numtrue,T1.activation.fed[1],T1.activation.fed[2],T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,T1.fire_,$PRE.P3.fireIn[1],P3.fireIn[1],P3.enableIn.active[1],P3.enableIn.TEin_[1],$PRE.P3.enableIn.TEin[1],P3.enableIn.TEin[1],P3.delayPassedIn.anytrue,P3.delayPassedIn.numtrue,P3.feeding.vec[1],P3.feeding.anytrue,P3.feeding.numtrue,P3.emptying.anytrue,P3.emptying.numtrue,T1.activation.tIntIn[1],T1.activation.minTokensInt[1],T1.activation.disPlaceIn[1],T1.activation.arcType[1],T1.activation.testValueInt[1],T1.activation.normalArc[1],T1.activation.tIntIn[2],T1.activation.minTokensInt[2],T1.activation.disPlaceIn[2],T1.activation.arcType[2],T1.activation.testValueInt[2],T1.activation.normalArc[2],T1.activation.tIntOut[1],T1.activation.maxTokensInt[1],T1.activation.disPlaceOut[1],P3.delayPassedIn.vec[1],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntIn[2],T1.activation.arcWeightIntIn[1],P2.delayPassedOut.vec[1],P1.delayPassedOut.vec[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (322): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 31 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 3} Notification: Performance of prepare postOptimizeDAE: time 0.002784/0.4177, allocations: 1.902 MB / 495.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000444/0.4181, allocations: 182.5 kB / 495.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006952/0.4251, allocations: 4.751 MB / 0.4884 GB, free: 8.926 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.622e-05/0.4252, allocations: 12 kB / 0.4884 GB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.4252, allocations: 4 kB / 0.4885 GB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.4252, allocations: 3.984 kB / 0.4885 GB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01027/0.4355, allocations: 6.993 MB / 0.4953 GB, free: 1.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00601/0.4415, allocations: 4.525 MB / 0.4997 GB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003293/0.4419, allocations: 75.89 kB / 0.4998 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004032/0.4423, allocations: 144.7 kB / 0.4999 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002708/0.4426, allocations: 107.9 kB / 0.5 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001579/0.4442, allocations: 1.565 MB / 0.5015 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4442, allocations: 4.031 kB / 0.5016 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01066/0.4549, allocations: 7.599 MB / 0.509 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000374/0.4553, allocations: 207.2 kB / 0.5092 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005348/0.4558, allocations: 203.9 kB / 0.5094 GB, free: 2.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/0.4569, allocations: 187.9 kB / 0.5095 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000845/0.4578, allocations: 484.1 kB / 0.51 GB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002644/0.458, allocations: 119.9 kB / 0.5101 GB, free: 2.047 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006269/0.4587, allocations: 463 kB / 0.5106 GB, free: 1.598 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4587, allocations: 0 / 0.5106 GB, free: 1.598 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002608/0.4613, allocations: 0.6863 MB / 0.5112 GB, free: 0.9102 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (P1.t_,P2.t_,P3.t_) * Number of discrete variables: 163 ($whenCondition1,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.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,$whenCondition2,P2.enableIn.state128[1],P2.enableIn.state128[2],P2.enableIn.state128[3],P2.enableIn.state128[4],P2.enableIn.arcWeightSum,P2.enableIn.nremTAin,P2.enableIn.nTAin,P2.enableIn.k,P2.enableIn.posTE,P2.enableIn.randNum,P2.enableIn.sumEnablingProbTAin,P2.enableIn.endWhile,P2.enableIn.Index,P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P3.disMarksInOut,$cse5[1],$cse5[2],$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition5,P1.outTransition[1].tokenInOut,P1.disMarksInOut,P1.fireOut[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.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.anytrue,P1.delayPassedOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,P2.outTransition[1].tokenInOut,P2.disMarksInOut,P2.fireOut[1],P2.enableOut.TAout[1],P2.enableOut.TEout_[1],P2.enableOut.state128[1],P2.enableOut.state128[2],P2.enableOut.state128[3],P2.enableOut.state128[4],P2.enableOut.TEout[1],P2.enableOut.disTAout[1],P2.enableOut.remTAout[1],P2.enableOut.cumEnablingProb[1],P2.enableOut.arcWeightSum,P2.enableOut.nremTAout,P2.enableOut.nTAout,P2.enableOut.k,P2.enableOut.posTE,P2.enableOut.randNum,P2.enableOut.sumEnablingProbTAout,P2.enableOut.endWhile,P2.enableOut.Index,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.disMarksOut.anytrue,P2.disMarksOut.numtrue,P2.disMarksIn.anytrue,P2.disMarksIn.numtrue,P2.feeding.anytrue,P2.feeding.numtrue,P2.emptying.vec[1],P2.emptying.anytrue,P2.emptying.numtrue,T1.activation.fed[1],T1.activation.fed[2],T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,T1.fire_,P3.fireIn[1],P3.enableIn.active[1],P3.enableIn.TEin_[1],P3.enableIn.state128[1],P3.enableIn.state128[2],P3.enableIn.state128[3],P3.enableIn.state128[4],P3.enableIn.TEin[1],P3.enableIn.disTAin[1],P3.enableIn.remTAin[1],P3.enableIn.cumEnablingProb[1],P3.enableIn.arcWeightSum,P3.enableIn.nremTAin,P3.enableIn.nTAin,P3.enableIn.k,P3.enableIn.posTE,P3.enableIn.randNum,P3.enableIn.sumEnablingProbTAin,P3.enableIn.endWhile,P3.enableIn.Index,P3.delayPassedIn.anytrue,P3.delayPassedIn.numtrue,P3.disMarksOut.anytrue,P3.disMarksOut.numtrue,P3.disMarksIn.anytrue,P3.disMarksIn.numtrue,P3.feeding.vec[1],P3.feeding.anytrue,P3.feeding.numtrue,P3.emptying.anytrue,P3.emptying.numtrue,$whenCondition9,P3.enableOut.state128[1],P3.enableOut.state128[2],P3.enableOut.state128[3],P3.enableOut.state128[4],P3.enableOut.arcWeightSum,P3.enableOut.nremTAout,P3.enableOut.nTAout,P3.enableOut.k,P3.enableOut.posTE,P3.enableOut.randNum,P3.enableOut.sumEnablingProbTAout,P3.enableOut.endWhile,P3.enableOut.Index,P3.delayPassedOut.anytrue,P3.delayPassedOut.numtrue) * Number of discrete states: 148 (P3.delayPassedOut.numtrue,P3.delayPassedOut.anytrue,P3.enableOut.Index,P3.enableOut.endWhile,P3.enableOut.sumEnablingProbTAout,P3.enableOut.state128[4],P3.enableOut.state128[3],P3.enableOut.state128[2],P3.enableOut.state128[1],P3.enableOut.randNum,P3.enableOut.posTE,P3.enableOut.k,P3.enableOut.nTAout,P3.enableOut.nremTAout,P3.enableOut.arcWeightSum,$whenCondition9,P2.disMarksInOut,P1.disMarksInOut,P3.fireIn[1],P3.disMarksOut.anytrue,P3.disMarksIn.anytrue,P2.fireOut[1],P2.disMarksOut.anytrue,P2.disMarksIn.anytrue,P1.fireOut[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P3.emptying.numtrue,P3.emptying.anytrue,P3.feeding.numtrue,P3.feeding.anytrue,P3.disMarksIn.numtrue,P3.disMarksOut.numtrue,P3.delayPassedIn.numtrue,P3.delayPassedIn.anytrue,P2.emptying.numtrue,P2.emptying.anytrue,P2.feeding.numtrue,P2.feeding.anytrue,P2.disMarksIn.numtrue,P2.disMarksOut.numtrue,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.NoTokens,P3.enableIn.TEin_[1],P3.enableIn.posTE,P3.enableIn.k,P3.enableIn.endWhile,P3.enableIn.state128[4],P3.enableIn.state128[3],P3.enableIn.state128[2],P3.enableIn.state128[1],P3.enableIn.randNum,P3.enableIn.cumEnablingProb[1],P3.enableIn.sumEnablingProbTAin,P3.enableIn.nTAin,P3.enableIn.nremTAin,P3.enableIn.remTAin[1],P3.enableIn.Index,P3.enableIn.arcWeightSum,P3.enableIn.disTAin[1],$whenCondition5,P3.enableIn.TEin[1],P2.enableOut.TEout_[1],P2.enableOut.posTE,P2.enableOut.k,P2.enableOut.endWhile,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.randNum,P2.enableOut.cumEnablingProb[1],P2.enableOut.sumEnablingProbTAout,P2.enableOut.nTAout,P2.enableOut.nremTAout,P2.enableOut.remTAout[1],P2.enableOut.Index,P2.enableOut.arcWeightSum,P2.enableOut.disTAout[1],$whenCondition4,P2.enableOut.TEout[1],P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,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],$whenCondition3,P1.enableOut.TEout[1],P3.disMarkChange,P2.disMarkChange,P1.disMarkChange,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P2.enableIn.Index,P2.enableIn.endWhile,P2.enableIn.sumEnablingProbTAin,P2.enableIn.state128[4],P2.enableIn.state128[3],P2.enableIn.state128[2],P2.enableIn.state128[1],P2.enableIn.randNum,P2.enableIn.posTE,P2.enableIn.k,P2.enableIn.nTAin,P2.enableIn.nremTAin,P2.enableIn.arcWeightSum,$whenCondition2,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,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,P1.enableIn.arcWeightSum,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 48 * Array equations: 1 * Algorithm blocks: 25 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01153/0.4728, allocations: 8.849 MB / 0.5199 GB, free: 7.867 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007768/0.4806, allocations: 6.202 MB / 0.5259 GB, free: 1.277 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/0.4807, allocations: 0 / 0.5259 GB, free: 1.277 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007066/0.4878, allocations: 7.15 MB / 0.5329 GB, free: 9.805 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000964/0.4888, allocations: 163.6 kB / 0.5331 GB, free: 9.648 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02742/0.5162, allocations: 32.8 MB / 0.5651 GB, free: 8.039 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/0.5173, allocations: 1.42 MB / 0.5665 GB, free: 6.582 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008805/0.5182, allocations: 326.1 kB / 0.5668 GB, free: 6.262 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000615/0.5188, allocations: 0.5266 MB / 0.5673 GB, free: 5.734 MB / 446.1 MB Notification: Performance of SimCode: time 1.593e-06/0.5188, allocations: 0 / 0.5673 GB, free: 5.734 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2477/0.7665, allocations: 39.57 MB / 0.606 GB, free: 135.4 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001405/0.7667, allocations: 223.9 kB / 0.6062 GB, free: 135.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.681/3.448, allocations: 4 kB / 0.6062 GB, free: 135.2 MB / 462.1 MB (rm -f PNlib_PNlib.Examples.ConTest.ZeroArcWeight.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.ZeroArcWeight.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.ZeroArcWeight.pipe >> ../files/PNlib_PNlib.Examples.ConTest.ZeroArcWeight.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PNlib_PNlib.Examples.ConTest.ZeroArcWeight_res.mat --tempDir=temp_PNlib_PNlib_Examples_ConTest_ZeroArcWeight_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_ConTest_ZeroArcWeight.fmu > PNlib_PNlib.Examples.ConTest.ZeroArcWeight.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PNlib_PNlib.Examples.ConTest.ZeroArcWeight_res.mat does not exist to compare? outputFormat=mat