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.004333/0.004333, allocations: 171.8 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.147/1.147, 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.0008333/0.0008334, allocations: 90.86 kB / 269.6 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 2.2.0-master/package.mo): time 0.0618/0.0618, allocations: 16.89 MB / 334.7 MB, free: 5.992 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002847/0.0002847, allocations: 11.59 kB / 397 MB, free: 46.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06701/0.06731, allocations: 51.69 MB / 448.7 MB, free: 108 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.239/0.3064, allocations: 80.18 MB / 0.5165 GB, free: 25.06 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001456/0.3065, allocations: 70.39 kB / 0.5166 GB, free: 25.06 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0542/0.3607, allocations: 24.27 MB / 0.5403 GB, free: 23.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.3608, allocations: 0 / 0.5403 GB, free: 23.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.977e-05/0.3608, allocations: 27.03 kB / 0.5403 GB, free: 23.57 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.00294/0.3638, allocations: 2.183 MB / 0.5424 GB, free: 22.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.3638, allocations: 11.81 kB / 0.5424 GB, free: 22.13 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005736/0.3644, allocations: 287.9 kB / 0.5427 GB, free: 22.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001848/0.3662, allocations: 416.4 kB / 0.5431 GB, free: 22 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001502/0.3678, allocations: 0.8384 MB / 0.5439 GB, free: 21.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002394/0.368, allocations: 406.5 kB / 0.5443 GB, free: 21.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003303/0.3684, allocations: 192.1 kB / 0.5445 GB, free: 21.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004234/0.3726, allocations: 3.13 MB / 0.5476 GB, free: 21.06 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.612e-05/0.3726, allocations: 6.094 kB / 0.5476 GB, free: 21.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002624/0.3729, allocations: 96.08 kB / 0.5477 GB, free: 21.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001771/0.3731, allocations: 118 kB / 0.5478 GB, free: 21.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003205/0.3763, allocations: 2.279 MB / 0.55 GB, free: 21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007038/0.3834, allocations: 6.287 MB / 0.5561 GB, free: 33.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002495/0.3859, allocations: 2.968 MB / 0.559 GB, free: 33.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001205/0.386, allocations: 116.9 kB / 0.5591 GB, free: 33.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001982/0.388, allocations: 1.737 MB / 0.5608 GB, free: 32.81 MB / 378.7 MB Notification: Performance of pre-optimization done (n=151): time 2.594e-06/0.388, allocations: 0 / 0.5608 GB, free: 32.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=151): time 0.006372/0.3944, allocations: 6.13 MB / 0.5668 GB, free: 29.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005333/0.3949, allocations: 1.029 MB / 0.5678 GB, free: 28.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006752/0.3956, allocations: 0.6634 MB / 0.5685 GB, free: 28.44 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001578/0.3958, allocations: 101.8 kB / 0.5686 GB, free: 28.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002725/0.3961, allocations: 0.5417 MB / 0.5691 GB, free: 28.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003034/0.3964, allocations: 400.8 kB / 0.5695 GB, free: 27.81 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.3965, allocations: 57.12 kB / 0.5695 GB, free: 27.81 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.3967, allocations: 432.7 kB / 0.57 GB, free: 27.46 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/0.398, allocations: 0.9192 MB / 0.5709 GB, free: 27.31 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001395/0.3994, allocations: 1.668 MB / 0.5725 GB, free: 26.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/0.4009, allocations: 1.696 MB / 0.5741 GB, free: 25.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.115e-05/0.4009, allocations: 6.375 kB / 0.5741 GB, free: 25.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=300) (initialization): time 0.004012/0.405, allocations: 3.653 MB / 0.5777 GB, free: 24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003167/0.4053, allocations: 0.7298 MB / 0.5784 GB, free: 23.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.383e-05/0.4053, allocations: 27.42 kB / 0.5784 GB, free: 23.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006698/0.406, allocations: 257.2 kB / 0.5787 GB, free: 23.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000594/0.4066, allocations: 261.4 kB / 0.5789 GB, free: 23.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000534/0.4072, allocations: 0.7595 MB / 0.5797 GB, free: 22.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008868/0.4081, allocations: 236.4 kB / 0.5799 GB, free: 22.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001806/0.4083, allocations: 134.5 kB / 0.58 GB, free: 22.45 MB / 378.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: 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 () * Number of clocked 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.001397/0.4097, allocations: 1.524 MB / 0.5815 GB, free: 21.47 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003215/0.41, allocations: 152.3 kB / 0.5817 GB, free: 21.42 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004477/0.4145, allocations: 3.681 MB / 0.5853 GB, free: 19.65 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.4145, allocations: 7.812 kB / 0.5853 GB, free: 19.65 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.4145, allocations: 3.906 kB / 0.5853 GB, free: 19.65 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.4145, allocations: 7.938 kB / 0.5853 GB, free: 19.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006877/0.4214, allocations: 5.753 MB / 0.5909 GB, free: 16.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.601e-05/0.4214, allocations: 11.88 kB / 0.5909 GB, free: 16.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000221/0.4217, allocations: 55.03 kB / 0.591 GB, free: 16.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005326/0.4222, allocations: 261 kB / 0.5912 GB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001848/0.4224, allocations: 98.39 kB / 0.5913 GB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004884/0.4229, allocations: 0.7213 MB / 0.592 GB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4229, allocations: 3.906 kB / 0.592 GB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00677/0.4297, allocations: 5.763 MB / 0.5976 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.4299, allocations: 174.4 kB / 0.5978 GB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003558/0.4302, allocations: 165.3 kB / 0.598 GB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008827/0.4311, allocations: 164.4 kB / 0.5981 GB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004722/0.4316, allocations: 364 kB / 0.5985 GB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002108/0.4318, allocations: 128.3 kB / 0.5986 GB, free: 11.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003593/0.4322, allocations: 413.2 kB / 0.599 GB, free: 11.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4322, allocations: 0 / 0.599 GB, free: 11.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001617/0.4338, allocations: 0.5989 MB / 0.5996 GB, free: 11.07 MB / 378.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) * Number of clocked states: 0 () * 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.008603/0.4424, allocations: 6.901 MB / 0.6063 GB, free: 4.297 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005347/0.4478, allocations: 4.718 MB / 0.6109 GB, free: 15.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.4478, allocations: 4.438 kB / 0.6109 GB, free: 15.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004692/0.4525, allocations: 5.744 MB / 0.6165 GB, free: 9.328 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005752/0.4531, allocations: 131 kB / 0.6167 GB, free: 9.199 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01816/0.4712, allocations: 25.46 MB / 0.6415 GB, free: 15.04 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008282/0.4721, allocations: 1.328 MB / 0.6428 GB, free: 13.68 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006137/0.4727, allocations: 280.9 kB / 0.6431 GB, free: 13.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004697/0.4732, allocations: 447.3 kB / 0.6435 GB, free: 12.96 MB / 426.7 MB Notification: Performance of SimCode: time 5.62e-07/0.4732, allocations: 0 / 0.6435 GB, free: 12.96 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05104/0.5243, allocations: 34.77 MB / 0.6775 GB, free: 9.922 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001561/0.5244, allocations: 219.5 kB / 0.6777 GB, free: 9.68 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.78/3.305, allocations: 11.86 kB / 0.6777 GB, free: 9.668 MB / 458.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