Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.LoopAndArcweight.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PNlib.Examples.ConTest.LoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_ConTest_LoopAndArcweight",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.ConTest.LoopAndArcweight,fileNamePrefix="PNlib_PNlib_Examples_ConTest_LoopAndArcweight",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00105/0.00105, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.482/1.482, allocations: 205.2 MB / 218.5 MB, free: 9.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000794/0.0007939, allocations: 78.64 kB / 266.6 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.07165/0.07165, allocations: 16.7 MB / 331.4 MB, free: 8.363 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.499e-05/2.501e-05, allocations: 0 / 391 MB, free: 65.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0824/0.08244, allocations: 51.69 MB / 442.7 MB, free: 13.5 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3638/0.4463, allocations: 80.07 MB / 0.5105 GB, free: 9.277 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/0.4467, allocations: 70.89 kB / 0.5106 GB, free: 9.242 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05901/0.5057, allocations: 22.6 MB / 0.5327 GB, free: 6.652 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.5058, allocations: 0 / 0.5327 GB, free: 6.652 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.446e-05/0.5059, allocations: 24 kB / 0.5327 GB, free: 6.629 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.004735/0.5106, allocations: 2.067 MB / 0.5347 GB, free: 4.586 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.559e-05/0.5107, allocations: 12.03 kB / 0.5347 GB, free: 4.574 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006921/0.5114, allocations: 280.6 kB / 0.535 GB, free: 4.379 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002774/0.5142, allocations: 401.9 kB / 0.5354 GB, free: 3.988 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00235/0.5166, allocations: 0.8118 MB / 0.5362 GB, free: 3.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005486/0.5171, allocations: 391.8 kB / 0.5365 GB, free: 2.922 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004573/0.5176, allocations: 186.8 kB / 0.5367 GB, free: 2.773 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007046/0.5247, allocations: 2.971 MB / 0.5396 GB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.438e-05/0.5248, allocations: 4 kB / 0.5396 GB, free: 0.5742 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003208/0.5251, allocations: 86.52 kB / 0.5397 GB, free: 0.5234 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002877/0.5254, allocations: 115.7 kB / 0.5398 GB, free: 432 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005235/0.5306, allocations: 2.133 MB / 0.5419 GB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01274/0.5434, allocations: 5.733 MB / 0.5475 GB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002935/0.5464, allocations: 2.747 MB / 0.5502 GB, free: 8.797 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003123/0.5495, allocations: 2.61 MB / 0.5527 GB, free: 6.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002532/0.5498, allocations: 109.7 kB / 0.5528 GB, free: 6.055 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003623/0.5535, allocations: 1.67 MB / 0.5545 GB, free: 4.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=145): time 4.068e-06/0.5535, allocations: 0 / 0.5545 GB, free: 4.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=145): time 0.008255/0.5618, allocations: 3.291 MB / 0.5577 GB, free: 0.9336 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001026/0.5628, allocations: 0.9943 MB / 0.5587 GB, free: 15.76 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00148/0.5643, allocations: 0.6207 MB / 0.5593 GB, free: 15.13 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003588/0.5647, allocations: 105.7 kB / 0.5594 GB, free: 15.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006114/0.5653, allocations: 0.519 MB / 0.5599 GB, free: 14.49 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005593/0.5659, allocations: 379.5 kB / 0.5602 GB, free: 14.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.5661, allocations: 52.03 kB / 0.5603 GB, free: 14.06 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002874/0.5664, allocations: 427.3 kB / 0.5607 GB, free: 13.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002064/0.5685, allocations: 0.8476 MB / 0.5615 GB, free: 12.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002768/0.5712, allocations: 1.57 MB / 0.563 GB, free: 10.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002573/0.5738, allocations: 1.591 MB / 0.5646 GB, free: 9.176 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.812e-05/0.5739, allocations: 8 kB / 0.5646 GB, free: 9.168 MB / 378.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.005198/0.5791, allocations: 3.417 MB / 0.5679 GB, free: 5.609 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005267/0.5796, allocations: 0.6988 MB / 0.5686 GB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.656e-05/0.5797, allocations: 24 kB / 0.5686 GB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001399/0.5811, allocations: 328.6 kB / 0.569 GB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008097/0.5819, allocations: 255.4 kB / 0.5692 GB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007847/0.5827, allocations: 0.724 MB / 0.5699 GB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/0.584, allocations: 230.5 kB / 0.5701 GB, free: 3.207 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002315/0.5842, allocations: 123.9 kB / 0.5703 GB, free: 3.086 MB / 378.7 MB Warning: Assuming fixed start value for the following 36 variables: P2.enableIn.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P2.enableIn.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P2.enableIn.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P2.enableIn.sumEnablingProbTAin:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P2.enableIn.nTAin:DISCRETE(fixed = false protected = true ) "number ofactive input transitions" type: Integer P2.enableIn.nremTAin:DISCRETE(fixed = false protected = true ) "number of remaining active input transitions" type: Integer P2.enableIn.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P2.enableIn.arcWeightSum:DISCRETE(fixed = false protected = true ) "arc weight sum" type: Real P1.enableOut.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P1.enableOut.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P1.enableOut.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P1.enableOut.sumEnablingProbTAout:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P1.enableOut.nTAout:DISCRETE(fixed = false protected = true ) "number of active output transitions" type: Integer P1.enableOut.nremTAout:DISCRETE(fixed = false protected = true ) "number of remaining active output transitions" type: Integer P1.enableOut.Index:DISCRETE(fixed = false protected = true ) type: Integer P1.enableOut.arcWeightSum:DISCRETE(fixed = false protected = true ) "arc weight sum" type: Real P1.enableIn.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P1.enableIn.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P1.enableIn.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P1.enableIn.sumEnablingProbTAin:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active input transitions" type: Real P1.enableIn.nTAin:DISCRETE(fixed = false protected = true ) "number ofactive input transitions" type: Integer P1.enableIn.nremTAin:DISCRETE(fixed = false protected = true ) "number of remaining active input transitions" type: Integer P1.enableIn.Index:DISCRETE(fixed = false protected = true ) "priority Index" type: Integer P1.enableIn.arcWeightSum:DISCRETE(fixed = false protected = true ) "arc weight sum" type: Real P2.disMarksOut.anytrue:DISCRETE(fixed = false protected = true ) type: Boolean P2.disMarksIn.anytrue:DISCRETE(fixed = false protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = false protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = false protected = true ) type: Boolean P2.enableOut.arcWeightSum:DISCRETE(fixed = false protected = true ) "arc weight sum" type: Real P2.enableOut.nremTAout:DISCRETE(fixed = false protected = true ) "number of remaining active output transitions" type: Integer P2.enableOut.nTAout:DISCRETE(fixed = false protected = true ) "number of active output transitions" type: Integer P2.enableOut.k:DISCRETE(fixed = false protected = true ) "iteration index" type: Integer P2.enableOut.posTE:DISCRETE(fixed = false protected = true ) "possible enabled transition" type: Integer P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = false protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.enableOut.endWhile:DISCRETE(fixed = false protected = true ) type: Boolean P2.enableOut.Index:DISCRETE(fixed = false protected = true ) type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 234 ($PRE.P2.enableIn.posTE,P2.enableIn.posTE,$PRE.P2.enableIn.k,P2.enableIn.k,$PRE.P2.enableIn.endWhile,P2.enableIn.endWhile,$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.cumEnablingProb[1],P2.enableIn.cumEnablingProb[1],$PRE.P2.enableIn.sumEnablingProbTAin,P2.enableIn.sumEnablingProbTAin,$PRE.P2.enableIn.nTAin,P2.enableIn.nTAin,$PRE.P2.enableIn.nremTAin,P2.enableIn.nremTAin,$PRE.P2.enableIn.remTAin[1],P2.enableIn.remTAin[1],$PRE.P2.enableIn.Index,P2.enableIn.Index,$PRE.P2.enableIn.arcWeightSum,P2.enableIn.arcWeightSum,$PRE.P2.enableIn.disTAin[1],P2.enableIn.disTAin[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],$PRE.P1.enableIn.posTE,P1.enableIn.posTE,$PRE.P1.enableIn.k,P1.enableIn.k,$PRE.P1.enableIn.endWhile,P1.enableIn.endWhile,$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.cumEnablingProb[1],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,$PRE.P1.enableIn.remTAin[1],P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,$PRE.P1.enableIn.disTAin[1],P1.enableIn.disTAin[1],$whenCondition6,P2.disMarksInOut,$PRE.P2.disMarksOut.anytrue,$PRE.P2.disMarksIn.anytrue,P2.disMarksOut.anytrue,P2.disMarksOut.numtrue,$whenCondition5,P1.disMarksInOut,$PRE.P1.disMarksOut.anytrue,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksInOut,P1.outTransition[1].tokenInOut,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.posTE,P2.enableOut.posTE,$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.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,$PRE.P2.enableOut.Index,P2.enableOut.Index,$whenCondition1,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.inTransition[1].tint,P2.inTransition[1].maxTokensint,T1.outPlaces[2].enabledByInPlaces,T1.outPlaces[2].disTransition,P2.inTransition[1].disPlace,P1.inTransition[1].tint,P1.inTransition[1].maxTokensint,T1.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P1.outTransition[1].tint,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,P1.outTransition[1].minTokensint,T1.inPlaces[1].disTransition,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,P2.enableIn.enablingPrio[1],P2.reStart,T1.firingCon,P1.enableOut.enablingPrio[1],P1.enableIn.enablingPrio[1],P1.reStart,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksOut.vec[1],P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.disMarksIn.vec[1],P2.disMarksIn.anytrue,P2.disMarksIn.numtrue,P2.disMarksIn.vec[1],$whenCondition2,$whenCondition3,$whenCondition4,$PRE.P1.fireIn[1],P1.fireIn[1],$PRE.P1.fireOut[1],P1.fireOut[1],P1.enableIn.active[1],P1.enableIn.TEin_[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin[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.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.feeding.vec[1],P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,T1.activation.fed[1],T1.activation.emptied[1],T1.activation.emptied[2],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyOutputActiveVec[2],T1.activation.NoTokens,T1.fire_,$PRE.P2.fireIn[1],P2.fireIn[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],$PRE.P2.enableIn.TEin[1],P2.enableIn.TEin[1],P2.delayPassedIn.anytrue,P2.delayPassedIn.numtrue,P2.feeding.vec[1],P2.feeding.anytrue,P2.feeding.numtrue,P2.emptying.anytrue,P2.emptying.numtrue,T1.activation.arcType[1],T1.activation.disPlaceIn[1],T1.activation.minTokensInt[1],T1.activation.normalArc[1],T1.activation.testValueInt[1],T1.activation.tIntIn[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T1.activation.disPlaceOut[2],T1.activation.maxTokensInt[2],T1.activation.tIntOut[2],P2.delayPassedIn.vec[1],T1.activation.arcWeightIntOut[2],T1.activation.arcWeightIntOut[1],T1.activation.arcWeightIntIn[1],P1.delayPassedIn.vec[1],P1.delayPassedOut.vec[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (244): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 21 * Record equations: 0 * 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 {2 5} Notification: Performance of prepare postOptimizeDAE: time 0.00195/0.5862, allocations: 1.206 MB / 0.5714 GB, free: 1.762 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004731/0.5867, allocations: 142.9 kB / 0.5716 GB, free: 1.621 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005809/0.5925, allocations: 3.427 MB / 0.5749 GB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.321e-05/0.5925, allocations: 8 kB / 0.5749 GB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.5926, allocations: 3.984 kB / 0.5749 GB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.5926, allocations: 4 kB / 0.5749 GB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008638/0.6012, allocations: 5.452 MB / 0.5803 GB, free: 8.469 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.332e-05/0.6013, allocations: 11.98 kB / 0.5803 GB, free: 8.457 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002512/0.6015, allocations: 51.91 kB / 0.5803 GB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006415/0.6022, allocations: 224.7 kB / 0.5805 GB, free: 8.184 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002262/0.6024, allocations: 95.92 kB / 0.5806 GB, free: 8.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006645/0.6031, allocations: 0.7006 MB / 0.5813 GB, free: 7.363 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.6031, allocations: 0 / 0.5813 GB, free: 7.363 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00876/0.6119, allocations: 5.468 MB / 0.5866 GB, free: 1.758 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003063/0.6122, allocations: 167.9 kB / 0.5868 GB, free: 1.574 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004787/0.6127, allocations: 159.9 kB / 0.587 GB, free: 1.418 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009853/0.6137, allocations: 159.9 kB / 0.5871 GB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006603/0.6144, allocations: 352.2 kB / 0.5874 GB, free: 0.918 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002555/0.6147, allocations: 111.9 kB / 0.5875 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005491/0.6152, allocations: 381.5 kB / 0.5879 GB, free: 444 kB / 394.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.6152, allocations: 0 / 0.5879 GB, free: 444 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.002486/0.6177, allocations: 0.5852 MB / 0.5885 GB, free: 15.84 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 119 ($whenCondition1,P2.enableOut.state128[1],P2.enableOut.state128[2],P2.enableOut.state128[3],P2.enableOut.state128[4],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.disMarksInOut,$cse1[1],$whenCondition6,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition4,P1.disMarksInOut,P1.fireIn[1],P1.fireOut[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.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedIn.numtrue,P1.disMarksOut.anytrue,P1.disMarksOut.numtrue,P1.disMarksIn.anytrue,P1.disMarksIn.numtrue,P1.feeding.vec[1],P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,P1.outTransition[1].tokenInOut,T1.activation.fed[1],T1.activation.emptied[1],T1.activation.emptied[2],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyOutputActiveVec[2],T1.activation.NoTokens,T1.fire_,P2.fireIn[1],P2.enableIn.active[1],P2.enableIn.TEin_[1],P2.enableIn.state128[1],P2.enableIn.state128[2],P2.enableIn.state128[3],P2.enableIn.state128[4],P2.enableIn.TEin[1],P2.enableIn.disTAin[1],P2.enableIn.remTAin[1],P2.enableIn.cumEnablingProb[1],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,P2.disMarksOut.anytrue,P2.disMarksOut.numtrue,P2.disMarksIn.anytrue,P2.disMarksIn.numtrue,P2.feeding.vec[1],P2.feeding.anytrue,P2.feeding.numtrue,P2.emptying.anytrue,P2.emptying.numtrue) * Number of discrete states: 106 (P2.fireIn[1],P2.disMarksOut.anytrue,P2.disMarksIn.anytrue,P2.emptying.numtrue,P2.emptying.anytrue,P2.feeding.numtrue,P2.feeding.anytrue,P2.disMarksIn.numtrue,P2.disMarksOut.numtrue,P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P1.fireIn[1],P1.fireOut[1],P1.disMarksOut.anytrue,P1.disMarksIn.anytrue,P1.disMarksInOut,P1.emptying.numtrue,P1.emptying.anytrue,P1.feeding.numtrue,P1.feeding.anytrue,T1.activation.weaklyOutputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.NoTokens,P2.enableIn.TEin_[1],P2.enableIn.posTE,P2.enableIn.k,P2.enableIn.endWhile,P2.enableIn.state128[4],P2.enableIn.state128[3],P2.enableIn.state128[2],P2.enableIn.state128[1],P2.enableIn.randNum,P2.enableIn.cumEnablingProb[1],P2.enableIn.sumEnablingProbTAin,P2.enableIn.nTAin,P2.enableIn.nremTAin,P2.enableIn.remTAin[1],P2.enableIn.Index,P2.enableIn.arcWeightSum,P2.enableIn.disTAin[1],$whenCondition4,P2.enableIn.TEin[1],P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,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],$whenCondition3,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],$whenCondition2,P1.enableIn.TEin[1],P2.disMarkChange,P1.disMarkChange,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.enableOut.arcWeightSum,P2.enableOut.nremTAout,P2.enableOut.nTAout,P2.enableOut.k,P2.enableOut.posTE,P2.enableOut.randNum,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.sumEnablingProbTAout,P2.enableOut.endWhile,P2.enableOut.Index,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 37 * Array equations: 1 * Algorithm blocks: 17 * Record equations: 0 * 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 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01006/0.6278, allocations: 6.559 MB / 0.5949 GB, free: 9.152 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006666/0.6345, allocations: 4.513 MB / 0.5993 GB, free: 4.379 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/0.6345, allocations: 1.875 kB / 0.5993 GB, free: 4.379 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006478/0.641, allocations: 5.628 MB / 0.6048 GB, free: 14.54 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008293/0.6419, allocations: 122 kB / 0.6049 GB, free: 14.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006824/0.6487, allocations: 3.197 MB / 0.608 GB, free: 11.17 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009049/0.6497, allocations: 1.292 MB / 0.6093 GB, free: 9.844 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006075/0.6503, allocations: 252.3 kB / 0.6095 GB, free: 9.594 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005042/0.6508, allocations: 427.3 kB / 0.6099 GB, free: 9.18 MB / 426.7 MB Notification: Performance of SimCode: time 9.91e-07/0.6508, allocations: 0 / 0.6099 GB, free: 9.18 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06184/0.7126, allocations: 33.29 MB / 0.6425 GB, free: 7.617 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000179/0.7129, allocations: 197 kB / 0.6426 GB, free: 7.387 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.955/3.667, allocations: 4.062 kB / 0.6426 GB, free: 7.383 MB / 458.7 MB (rm -f PNlib_PNlib.Examples.ConTest.LoopAndArcweight.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.LoopAndArcweight.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.LoopAndArcweight.pipe >> ../files/PNlib_PNlib.Examples.ConTest.LoopAndArcweight.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PNlib_PNlib.Examples.ConTest.LoopAndArcweight_res.mat --tempDir=temp_PNlib_PNlib_Examples_ConTest_LoopAndArcweight_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_ConTest_LoopAndArcweight.fmu > PNlib_PNlib.Examples.ConTest.LoopAndArcweight.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PNlib_PNlib.Examples.ConTest.LoopAndArcweight_res.mat does not exist to compare? outputFormat=mat