Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.ZeroPlace.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.ZeroPlace,fileNamePrefix="PNlib_PNlib_Examples_ConTest_ZeroPlace",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.ConTest.ZeroPlace,fileNamePrefix="PNlib_PNlib_Examples_ConTest_ZeroPlace",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.001477/0.001478, allocations: 180.9 kB / 7.651 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.637/1.637, allocations: 205.3 MB / 213.4 MB, free: 1.754 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008571/0.0008571, allocations: 90.69 kB / 261.4 MB, free: 1.691 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.06626/0.06626, allocations: 16.72 MB / 326.1 MB, free: 11.08 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.581e-05/1.592e-05, allocations: 4 kB / 384.1 MB, free: 0.957 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2311, allocations: 51.68 MB / 435.8 MB, free: 12.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1061/0.3372, allocations: 79.44 MB / 0.5031 GB, free: 12.96 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/0.3375, allocations: 67.97 kB / 0.5032 GB, free: 12.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.322/0.6595, allocations: 24.02 MB / 0.5266 GB, free: 79.03 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.6596, allocations: 0 / 0.5266 GB, free: 79.03 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.481e-05/0.6597, allocations: 29.84 kB / 0.5267 GB, free: 79.02 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.004946/0.6646, allocations: 2.133 MB / 0.5288 GB, free: 77.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.6647, allocations: 11.19 kB / 0.5288 GB, free: 77.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003437/0.6681, allocations: 412.6 kB / 0.5292 GB, free: 77.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002839/0.671, allocations: 0.8438 MB / 0.53 GB, free: 76.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004562/0.6715, allocations: 356.6 kB / 0.5303 GB, free: 76.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008502/0.6724, allocations: 139.2 kB / 0.5305 GB, free: 76.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005618/0.678, allocations: 2.088 MB / 0.5325 GB, free: 75.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007479/0.6855, allocations: 2.819 MB / 0.5352 GB, free: 74.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.255e-05/0.6856, allocations: 7.594 kB / 0.5353 GB, free: 74.65 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005527/0.6862, allocations: 39.08 kB / 0.5353 GB, free: 74.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003088/0.6865, allocations: 112.2 kB / 0.5354 GB, free: 74.63 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01317/0.6997, allocations: 5.978 MB / 0.5412 GB, free: 68.78 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003885/0.7036, allocations: 2.787 MB / 0.544 GB, free: 65.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003356/0.707, allocations: 2.543 MB / 0.5464 GB, free: 63.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000219/0.7073, allocations: 113.7 kB / 0.5465 GB, free: 63.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00339/0.7107, allocations: 1.631 MB / 0.5481 GB, free: 61.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=151): time 5.501e-06/0.7107, allocations: 0 / 0.5481 GB, free: 61.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=151): time 0.006445/0.7172, allocations: 2.451 MB / 0.5505 GB, free: 59.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005977/0.7178, allocations: 1.031 MB / 0.5515 GB, free: 57.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/0.719, allocations: 0.5595 MB / 0.5521 GB, free: 57.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00027/0.7192, allocations: 81.69 kB / 0.5522 GB, free: 57.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005812/0.7198, allocations: 0.5542 MB / 0.5527 GB, free: 56.72 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005655/0.7204, allocations: 386 kB / 0.5531 GB, free: 56.35 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.7206, allocations: 20 kB / 0.5531 GB, free: 56.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002194/0.7209, allocations: 420.4 kB / 0.5535 GB, free: 55.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001866/0.7227, allocations: 0.8281 MB / 0.5543 GB, free: 55.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002477/0.7252, allocations: 1.552 MB / 0.5558 GB, free: 53.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002481/0.7277, allocations: 0.907 MB / 0.5567 GB, free: 52.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.408e-05/0.7278, allocations: 8 kB / 0.5567 GB, free: 52.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=300) (initialization): time 0.006284/0.7341, allocations: 2.609 MB / 0.5593 GB, free: 49.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004142/0.7346, allocations: 0.7317 MB / 0.56 GB, free: 48.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.319e-05/0.7347, allocations: 28 kB / 0.56 GB, free: 48.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000994/0.7357, allocations: 265.2 kB / 0.5603 GB, free: 48.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/0.7368, allocations: 255.3 kB / 0.5605 GB, free: 48.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008326/0.7377, allocations: 0.7733 MB / 0.5613 GB, free: 47.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/0.7393, allocations: 194.5 kB / 0.5614 GB, free: 47.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000335/0.7396, allocations: 128 kB / 0.5616 GB, free: 47.15 MB / 362.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: T2.speedSumIn[1]:VARIABLE(protected = true ) "Input speeds of continuous input places" type: Real [1] T1.speedSumOut[1]:VARIABLE(protected = true ) "Output speeds of continuous output places" type: Real [1] 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: 103 * Number of states: 0 () * Number of discrete variables: 238 ($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,T2.outPlaces[1].enabledByInPlaces,T2.outPlaces[1].disTransition,P2.inTransition[1].disPlace,P1.outTransition[1].tint,P1.outTransition[1].testValueint,P1.outTransition[1].normalArc,P1.outTransition[1].minTokensint,T2.inPlaces[1].disTransition,P1.outTransition[1].disPlace,P1.outTransition[1].arcType,P1.inTransition[1].tint,P1.inTransition[1].maxTokensint,T1.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].disTransition,P1.inTransition[1].disPlace,P2.enableIn.enablingPrio[1],P2.reStart,T2.firingCon,P1.enableOut.enablingPrio[1],P1.enableIn.enablingPrio[1],P1.reStart,T1.firingCon,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,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,$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,T2.activation.fed[1],T2.activation.emptied[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],T2.activation.NoTokens,T2.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.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],T2.activation.arcType[1],T2.activation.disPlaceIn[1],T2.activation.minTokensInt[1],T2.activation.normalArc[1],T2.activation.testValueInt[1],T2.activation.tIntIn[1],T2.activation.disPlaceOut[1],T2.activation.maxTokensInt[1],T2.activation.tIntOut[1],P2.delayPassedIn.vec[1],T2.activation.arcWeightIntOut[1],T2.activation.arcWeightIntIn[1],P1.delayPassedIn.vec[1],P1.delayPassedOut.vec[1],T1.activation.arcWeightIntOut[1],T1.fire_) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 229 * Array equations: 0 * Algorithm blocks: 22 * 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 {3 6} Notification: Performance of prepare postOptimizeDAE: time 0.001994/0.7416, allocations: 1.211 MB / 0.5627 GB, free: 45.82 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007533/0.7492, allocations: 2.745 MB / 0.5654 GB, free: 43.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006577/0.7499, allocations: 139 kB / 0.5656 GB, free: 42.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006372/0.7563, allocations: 2.727 MB / 0.5682 GB, free: 40.19 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.231e-05/0.7564, allocations: 8 kB / 0.5682 GB, free: 40.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.7564, allocations: 3.938 kB / 0.5682 GB, free: 40.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/0.7564, allocations: 7.938 kB / 0.5682 GB, free: 40.17 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01014/0.7665, allocations: 4.574 MB / 0.5727 GB, free: 35.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-05/0.7666, allocations: 7.984 kB / 0.5727 GB, free: 35.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003935/0.767, allocations: 63.86 kB / 0.5728 GB, free: 35.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009093/0.768, allocations: 252.6 kB / 0.573 GB, free: 35.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003798/0.7684, allocations: 91.94 kB / 0.5731 GB, free: 35.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008623/0.7693, allocations: 0.7473 MB / 0.5738 GB, free: 34.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.7693, allocations: 0 / 0.5738 GB, free: 34.39 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01111/0.7804, allocations: 4.586 MB / 0.5783 GB, free: 29.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003056/0.7808, allocations: 167.9 kB / 0.5785 GB, free: 29.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007137/0.7815, allocations: 155.9 kB / 0.5786 GB, free: 29.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001595/0.7831, allocations: 151.9 kB / 0.5788 GB, free: 29.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009127/0.7841, allocations: 362.8 kB / 0.5791 GB, free: 28.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004243/0.7845, allocations: 122.6 kB / 0.5792 GB, free: 28.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006084/0.7851, allocations: 314.9 kB / 0.5795 GB, free: 28.51 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.7852, allocations: 4 kB / 0.5795 GB, free: 28.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003189/0.7884, allocations: 0.5576 MB / 0.5801 GB, free: 27.95 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: 121 ($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,$cse3[1],$whenCondition6,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition4,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,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,T2.activation.fed[1],T2.activation.emptied[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],T2.activation.NoTokens,T2.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: 108 (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,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,T2.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],T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.NoTokens,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 (59): * Single equations (assignments): 39 * Array equations: 1 * Algorithm blocks: 18 * 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 {3 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.01332/0.8017, allocations: 5.718 MB / 0.5857 GB, free: 22.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007104/0.8089, allocations: 4.433 MB / 0.59 GB, free: 17.51 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.8089, allocations: 0 / 0.59 GB, free: 17.51 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006369/0.8153, allocations: 5.614 MB / 0.5955 GB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.8163, allocations: 106 kB / 0.5956 GB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/0.8265, allocations: 3.105 MB / 0.5986 GB, free: 8.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001125/0.8277, allocations: 1.327 MB / 0.5999 GB, free: 7.051 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001018/0.8287, allocations: 272.3 kB / 0.6002 GB, free: 6.781 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006449/0.8294, allocations: 447.3 kB / 0.6006 GB, free: 6.344 MB / 362.7 MB Notification: Performance of SimCode: time 8.01e-07/0.8294, allocations: 4 kB / 0.6006 GB, free: 6.34 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08352/0.9129, allocations: 33.29 MB / 0.6331 GB, free: 4.742 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002291/0.9132, allocations: 129.2 kB / 0.6332 GB, free: 4.555 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.958/3.871, allocations: 0 / 0.6332 GB, free: 4.555 MB / 394.7 MB (rm -f PNlib_PNlib.Examples.ConTest.ZeroPlace.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.ZeroPlace.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.ZeroPlace.pipe >> ../files/PNlib_PNlib.Examples.ConTest.ZeroPlace.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PNlib_PNlib.Examples.ConTest.ZeroPlace_res.mat --tempDir=temp_PNlib_PNlib_Examples_ConTest_ZeroPlace_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_ConTest_ZeroPlace.fmu > PNlib_PNlib.Examples.ConTest.ZeroPlace.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PNlib_PNlib.Examples.ConTest.ZeroPlace_res.mat does not exist to compare? outputFormat=mat