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.004427/0.004427, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.131/1.131, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.0008082/0.0008081, allocations: 94.84 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.06136/0.06136, allocations: 16.89 MB / 334.7 MB, free: 6.008 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002941/0.0002941, allocations: 12.52 kB / 397 MB, free: 46.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06993/0.07024, allocations: 51.69 MB / 448.7 MB, free: 288 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08911/0.1594, allocations: 80.16 MB / 0.5165 GB, free: 16 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.1357/0.2951, allocations: 66.38 kB / 0.5165 GB, free: 79.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05195/0.3471, allocations: 22.7 MB / 0.5387 GB, free: 71.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3471, allocations: 3.938 kB / 0.5387 GB, free: 71.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.645e-05/0.3472, allocations: 24 kB / 0.5387 GB, free: 71.08 MB / 362.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.002868/0.35, allocations: 2.108 MB / 0.5408 GB, free: 68.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.3501, allocations: 12.03 kB / 0.5408 GB, free: 68.78 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005833/0.3507, allocations: 288.3 kB / 0.5411 GB, free: 68.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001769/0.3525, allocations: 398 kB / 0.5415 GB, free: 68.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/0.3539, allocations: 0.8159 MB / 0.5423 GB, free: 67.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002335/0.3542, allocations: 385.8 kB / 0.5426 GB, free: 66.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003085/0.3545, allocations: 191.9 kB / 0.5428 GB, free: 66.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003985/0.3585, allocations: 3.03 MB / 0.5458 GB, free: 63.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.992e-05/0.3585, allocations: 7.938 kB / 0.5458 GB, free: 63.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002162/0.3587, allocations: 87.97 kB / 0.5459 GB, free: 63.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001499/0.3589, allocations: 114.4 kB / 0.546 GB, free: 63.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003089/0.362, allocations: 2.22 MB / 0.5481 GB, free: 61.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006516/0.3685, allocations: 5.746 MB / 0.5537 GB, free: 55.13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002429/0.371, allocations: 2.857 MB / 0.5565 GB, free: 52.26 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001365/0.3711, allocations: 113.7 kB / 0.5566 GB, free: 52.13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001931/0.3731, allocations: 1.701 MB / 0.5583 GB, free: 50.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=145): time 2.275e-06/0.3731, allocations: 0 / 0.5583 GB, free: 50.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=145): time 0.006601/0.3797, allocations: 6.136 MB / 0.5643 GB, free: 43.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003288/0.38, allocations: 0.9943 MB / 0.5653 GB, free: 42.63 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005362/0.3806, allocations: 0.6338 MB / 0.5659 GB, free: 41.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001367/0.3807, allocations: 101.7 kB / 0.566 GB, free: 41.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002421/0.381, allocations: 0.519 MB / 0.5665 GB, free: 41.35 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002781/0.3812, allocations: 379.5 kB / 0.5668 GB, free: 40.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.426e-05/0.3813, allocations: 44 kB / 0.5669 GB, free: 40.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.3815, allocations: 427.3 kB / 0.5673 GB, free: 40.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001136/0.3826, allocations: 0.9021 MB / 0.5682 GB, free: 39.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001353/0.384, allocations: 1.608 MB / 0.5698 GB, free: 37.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/0.3853, allocations: 1.638 MB / 0.5714 GB, free: 35.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.742e-05/0.3854, allocations: 8 kB / 0.5714 GB, free: 35.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.003658/0.389, allocations: 3.518 MB / 0.5748 GB, free: 32.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000255/0.3893, allocations: 0.6988 MB / 0.5755 GB, free: 31.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.335e-05/0.3894, allocations: 27.98 kB / 0.5755 GB, free: 31.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/0.3904, allocations: 328.7 kB / 0.5758 GB, free: 31.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005782/0.391, allocations: 243.5 kB / 0.576 GB, free: 30.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004441/0.3914, allocations: 0.7279 MB / 0.5768 GB, free: 30.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008403/0.3923, allocations: 222.6 kB / 0.577 GB, free: 29.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001702/0.3925, allocations: 124 kB / 0.5771 GB, free: 29.73 MB / 362.7 MB Warning: Assuming fixed start value for the following 36 variables: 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.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.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.Index:DISCRETE(fixed = true protected = true ) "priority Index" type: Integer P2.enableIn.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 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 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.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real P2.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P2.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P2.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableOut.Index:DISCRETE(fixed = true 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 () * Number of clocked 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.001284/0.3937, allocations: 1.47 MB / 0.5785 GB, free: 28.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003077/0.3941, allocations: 146.9 kB / 0.5787 GB, free: 27.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004197/0.3983, allocations: 3.532 MB / 0.5821 GB, free: 24.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/0.3983, allocations: 8 kB / 0.5821 GB, free: 24.35 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3983, allocations: 7.922 kB / 0.5821 GB, free: 24.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.3983, allocations: 0 / 0.5821 GB, free: 24.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006349/0.4047, allocations: 5.546 MB / 0.5875 GB, free: 18.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.534e-05/0.4047, allocations: 4 kB / 0.5875 GB, free: 18.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002181/0.4049, allocations: 55.89 kB / 0.5876 GB, free: 18.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004839/0.4054, allocations: 216.7 kB / 0.5878 GB, free: 18.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001787/0.4056, allocations: 95.92 kB / 0.5879 GB, free: 18.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003892/0.406, allocations: 0.7006 MB / 0.5886 GB, free: 17.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.406, allocations: 0 / 0.5886 GB, free: 17.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006417/0.4124, allocations: 5.617 MB / 0.5941 GB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.4126, allocations: 171.8 kB / 0.5942 GB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003499/0.4129, allocations: 159.9 kB / 0.5944 GB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008655/0.4138, allocations: 163.9 kB / 0.5945 GB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004584/0.4143, allocations: 352.2 kB / 0.5949 GB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002022/0.4145, allocations: 111.9 kB / 0.595 GB, free: 10.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000326/0.4148, allocations: 378.8 kB / 0.5953 GB, free: 10.47 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.4148, allocations: 4 kB / 0.5954 GB, free: 10.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001505/0.4163, allocations: 0.589 MB / 0.5959 GB, free: 9.875 MB / 362.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) * Number of clocked states: 0 () * 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.007607/0.4239, allocations: 6.702 MB / 0.6025 GB, free: 3.031 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004742/0.4287, allocations: 4.618 MB / 0.607 GB, free: 14.15 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4287, allocations: 1.875 kB / 0.607 GB, free: 14.15 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00492/0.4336, allocations: 5.667 MB / 0.6125 GB, free: 8.266 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000623/0.4343, allocations: 129.8 kB / 0.6126 GB, free: 8.141 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01963/0.4539, allocations: 24.57 MB / 0.6366 GB, free: 14.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009586/0.4549, allocations: 1.288 MB / 0.6379 GB, free: 13.56 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006221/0.4556, allocations: 252.3 kB / 0.6381 GB, free: 13.31 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005164/0.4561, allocations: 431.3 kB / 0.6385 GB, free: 12.89 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.4561, allocations: 0 / 0.6385 GB, free: 12.89 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05453/0.5106, allocations: 33.23 MB / 0.671 GB, free: 11.39 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002006/0.5109, allocations: 224 kB / 0.6712 GB, free: 11.15 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.695/3.206, allocations: 0 / 0.6712 GB, free: 11.15 MB / 442.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