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.000963/0.0009628, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.543/1.543, allocations: 205.3 MB / 213.4 MB, free: 13.76 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.0008261/0.000826, allocations: 90.38 kB / 261.4 MB, free: 13.46 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.07009/0.07009, allocations: 16.74 MB / 326.1 MB, free: 12.64 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.286e-05/2.295e-05, allocations: 4 kB / 384.1 MB, free: 70.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1092, allocations: 51.7 MB / 435.8 MB, free: 19.14 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3558/0.465, allocations: 79.4 MB / 0.5031 GB, free: 9.789 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002079/0.4652, allocations: 71.61 kB / 0.5032 GB, free: 9.789 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05334/0.5186, allocations: 22.47 MB / 0.5251 GB, free: 14.11 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.5186, allocations: 0 / 0.5251 GB, free: 14.11 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.503e-05/0.5187, allocations: 24 kB / 0.5251 GB, free: 14.09 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.003307/0.522, allocations: 2.066 MB / 0.5271 GB, free: 12.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.097e-05/0.5221, allocations: 8.031 kB / 0.5271 GB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001812/0.5239, allocations: 405.5 kB / 0.5275 GB, free: 11.67 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001455/0.5254, allocations: 0.8167 MB / 0.5283 GB, free: 11.01 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003304/0.5257, allocations: 340.2 kB / 0.5287 GB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002745/0.526, allocations: 135.3 kB / 0.5288 GB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003234/0.5292, allocations: 2.058 MB / 0.5308 GB, free: 9.164 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004186/0.5334, allocations: 2.741 MB / 0.5335 GB, free: 7.113 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.553e-05/0.5335, allocations: 4.781 kB / 0.5335 GB, free: 7.109 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000204/0.5337, allocations: 39.86 kB / 0.5335 GB, free: 7.074 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001999/0.5339, allocations: 119.8 kB / 0.5336 GB, free: 6.969 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007963/0.5419, allocations: 5.435 MB / 0.5389 GB, free: 2.543 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002633/0.5445, allocations: 2.685 MB / 0.5416 GB, free: 1.414 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002754/0.5473, allocations: 2.549 MB / 0.544 GB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000234/0.5476, allocations: 109.7 kB / 0.5442 GB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002318/0.5499, allocations: 1.598 MB / 0.5457 GB, free: 13.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=145): time 2.725e-06/0.5499, allocations: 0 / 0.5457 GB, free: 13.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=145): time 0.005139/0.5551, allocations: 2.524 MB / 0.5482 GB, free: 10.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007183/0.5558, allocations: 1.002 MB / 0.5492 GB, free: 9.543 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009234/0.5567, allocations: 0.5312 MB / 0.5497 GB, free: 9.004 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001744/0.5569, allocations: 85.67 kB / 0.5498 GB, free: 8.914 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004529/0.5574, allocations: 0.5263 MB / 0.5503 GB, free: 8.391 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003686/0.5578, allocations: 363.2 kB / 0.5506 GB, free: 8.039 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.793e-05/0.5579, allocations: 16 kB / 0.5506 GB, free: 8.023 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002302/0.5581, allocations: 411.3 kB / 0.551 GB, free: 7.613 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/0.5593, allocations: 0.8085 MB / 0.5518 GB, free: 6.805 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001762/0.5611, allocations: 1.508 MB / 0.5533 GB, free: 4.973 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.5626, allocations: 0.8785 MB / 0.5541 GB, free: 4.094 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.667e-05/0.5626, allocations: 8 kB / 0.5542 GB, free: 4.086 MB / 362.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.0043/0.5669, allocations: 2.507 MB / 0.5566 GB, free: 1.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005505/0.5675, allocations: 0.6988 MB / 0.5573 GB, free: 0.7422 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-05/0.5676, allocations: 27.98 kB / 0.5573 GB, free: 0.7148 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001237/0.5688, allocations: 328.9 kB / 0.5576 GB, free: 400 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007475/0.5696, allocations: 243.4 kB / 0.5579 GB, free: 156 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007023/0.5703, allocations: 0.7471 MB / 0.5586 GB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.5713, allocations: 182.7 kB / 0.5588 GB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002206/0.5716, allocations: 124 kB / 0.5589 GB, free: 15.08 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 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: T1.instantaneousSpeed:VARIABLE() "instantaneous speed" type: Real P2.decFactorIn[1]:VARIABLE(protected = true ) "decreasing factors for input transitions" type: Real [1] 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.001682/0.5733, allocations: 1.169 MB / 0.56 GB, free: 13.81 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005671/0.5789, allocations: 2.805 MB / 0.5628 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003736/0.5793, allocations: 135 kB / 0.5629 GB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004629/0.584, allocations: 2.616 MB / 0.5654 GB, free: 8.242 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-05/0.584, allocations: 8 kB / 0.5654 GB, free: 8.234 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.584, allocations: 7.938 kB / 0.5655 GB, free: 8.227 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.5841, allocations: 0 / 0.5655 GB, free: 8.227 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007334/0.5914, allocations: 4.418 MB / 0.5698 GB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-05/0.5914, allocations: 4 kB / 0.5698 GB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002648/0.5917, allocations: 51.89 kB / 0.5698 GB, free: 3.719 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005938/0.5923, allocations: 216.7 kB / 0.57 GB, free: 3.504 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001984/0.5925, allocations: 83.94 kB / 0.5701 GB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006652/0.5932, allocations: 0.7198 MB / 0.5708 GB, free: 2.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.5932, allocations: 3.984 kB / 0.5708 GB, free: 2.676 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007622/0.6008, allocations: 4.495 MB / 0.5752 GB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002354/0.6011, allocations: 159.9 kB / 0.5754 GB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004307/0.6016, allocations: 151.9 kB / 0.5755 GB, free: 13.83 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009503/0.6025, allocations: 147.9 kB / 0.5756 GB, free: 13.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006467/0.6032, allocations: 351.7 kB / 0.576 GB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000241/0.6034, allocations: 115.9 kB / 0.5761 GB, free: 13.23 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003768/0.6038, allocations: 298.9 kB / 0.5764 GB, free: 12.94 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6038, allocations: 0 / 0.5764 GB, free: 12.94 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002173/0.606, allocations: 0.5417 MB / 0.5769 GB, free: 12.4 MB / 394.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.008896/0.6149, allocations: 5.569 MB / 0.5823 GB, free: 6.812 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005936/0.6209, allocations: 4.344 MB / 0.5866 GB, free: 2.207 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.285e-06/0.6209, allocations: 4 kB / 0.5866 GB, free: 2.203 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005745/0.6267, allocations: 5.543 MB / 0.592 GB, free: 12.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006464/0.6273, allocations: 90.08 kB / 0.5921 GB, free: 12.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00659/0.6339, allocations: 3.071 MB / 0.5951 GB, free: 9.246 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009882/0.6349, allocations: 1.295 MB / 0.5964 GB, free: 7.922 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006126/0.6356, allocations: 247.7 kB / 0.5966 GB, free: 7.676 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005498/0.6361, allocations: 427.4 kB / 0.597 GB, free: 7.262 MB / 410.7 MB Notification: Performance of SimCode: time 8.01e-07/0.6361, allocations: 0 / 0.597 GB, free: 7.262 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06841/0.7046, allocations: 31.79 MB / 0.628 GB, free: 7.16 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002156/0.7048, allocations: 141.7 kB / 0.6282 GB, free: 6.969 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.887/3.592, allocations: 0 / 0.6282 GB, free: 6.969 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