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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo", uses=false) Using package PNlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PNlib.Examples.ConTest.ZeroPlace,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.ZeroPlace") translateModel(PNlib.Examples.ConTest.ZeroPlace,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="P1.t|P2.t|T1.fire|T1.instantaneousSpeed|T1.maximumSpeed|T2.fire|T2.instantaneousSpeed|T2.maximumSpeed|time",fileNamePrefix="PNlib_PNlib.Examples.ConTest.ZeroPlace") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 109.5 kB / 16.41 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00628/0.00628, allocations: 189.7 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.583/2.583, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1251/0.1251, allocations: 16.72 MB / 307.9 MB, free: 14.21 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 55.91 kB / 427 MB, free: 10.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1709, allocations: 53.47 MB / 480.5 MB, free: 4.949 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.ZeroPlace): time 0.007395/0.1784, allocations: 3.121 MB / 483.6 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008767/0.1872, allocations: 2.473 MB / 486.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001541/0.1889, allocations: 19.88 kB / 486.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.1899, allocations: 269.9 kB / 486.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.1915, allocations: 261.9 kB / 486.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004157/0.1956, allocations: 1.122 MB / 487.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005919/0.2016, allocations: 2.938 MB / 490.6 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001095/0.2027, allocations: 391.9 kB / 491 MB, free: 10.33 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003067/0.2058, allocations: 1.118 MB / 492.1 MB, free: 9.207 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002438/0.2083, allocations: 0.836 MB / 493 MB, free: 8.367 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00074/0.2091, allocations: 212 kB / 493.2 MB, free: 8.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002097/0.2112, allocations: 0.6165 MB / 493.8 MB, free: 7.543 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007962/0.212, allocations: 402.7 kB / 494.2 MB, free: 7.148 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00174/0.2138, allocations: 0.914 MB / 495.1 MB, free: 6.23 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00509/0.2189, allocations: 2.411 MB / 497.5 MB, free: 3.812 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.205e-05/0.2189, allocations: 0 / 497.5 MB, free: 3.812 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.088e-06/0.219, allocations: 0 / 497.5 MB, free: 3.812 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.604e-05/0.219, allocations: 0 / 497.5 MB, free: 3.812 MB / 366.1 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.006868/0.2259, allocations: 2.459 MB / 500 MB, free: 1.164 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.632e-05/0.226, allocations: 8.031 kB / 500 MB, free: 1.156 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003219/0.2293, allocations: 362.8 kB / 0.4886 GB, free: 0.8008 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002639/0.232, allocations: 0.7864 MB / 0.4894 GB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006398/0.2326, allocations: 394 kB / 0.4898 GB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000587/0.2332, allocations: 196 kB / 0.49 GB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01127/0.2445, allocations: 3.152 MB / 0.493 GB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001007/0.2447, allocations: 3.938 kB / 0.493 GB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009558/0.2457, allocations: 91.95 kB / 0.4931 GB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006364/0.2464, allocations: 166.4 kB / 0.4933 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009302/0.2557, allocations: 2.267 MB / 0.4955 GB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02096/0.2768, allocations: 6.283 MB / 0.5016 GB, free: 3.066 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4627/0.7396, allocations: 3.041 MB / 0.5046 GB, free: 34.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006489/0.7462, allocations: 2.741 MB / 0.5073 GB, free: 33.85 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005035/0.7513, allocations: 5.997 MB / 0.5131 GB, free: 27.13 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005939/0.7573, allocations: 1.748 MB / 0.5148 GB, free: 26.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=154): time 9.197e-06/0.7574, allocations: 0 / 0.5148 GB, free: 26.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=154): time 0.01719/0.7746, allocations: 5.752 MB / 0.5205 GB, free: 24.1 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001082/0.7758, allocations: 1.108 MB / 0.5215 GB, free: 22.97 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002133/0.7779, allocations: 0.7182 MB / 0.5222 GB, free: 22.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004871/0.7784, allocations: 107.3 kB / 0.5223 GB, free: 22.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009043/0.7794, allocations: 0.5389 MB / 0.5229 GB, free: 22.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001085/0.7805, allocations: 412.1 kB / 0.5233 GB, free: 21.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001557/0.782, allocations: 493 kB / 0.5237 GB, free: 21.74 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.7823, allocations: 338.4 kB / 0.5241 GB, free: 21.42 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003145/0.7854, allocations: 0.9317 MB / 0.525 GB, free: 21.13 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003851/0.7893, allocations: 1.682 MB / 0.5266 GB, free: 19.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008103/0.7974, allocations: 3.766 MB / 0.5303 GB, free: 16.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001001/0.7976, allocations: 7.422 kB / 0.5303 GB, free: 16.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.01152/0.8092, allocations: 3.967 MB / 0.5342 GB, free: 15.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006413/0.8099, allocations: 0.7277 MB / 0.5349 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004888/0.8148, allocations: 2.251 MB / 0.5371 GB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001598/0.8164, allocations: 285.9 kB / 0.5373 GB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.8178, allocations: 247.7 kB / 0.5376 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001178/0.819, allocations: 0.8534 MB / 0.5384 GB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002524/0.8215, allocations: 276.7 kB / 0.5387 GB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003926/0.8219, allocations: 116 kB / 0.5388 GB, free: 12.2 MB / 382.1 MB Warning: Assuming fixed start value for the following 36 variables: P2.enableOut.Index:DISCRETE(fixed = true protected = true ) type: Integer P2.enableOut.endWhile:DISCRETE(fixed = true protected = true ) type: Boolean P2.enableOut.sumEnablingProbTAout:DISCRETE(fixed = true protected = true ) "sum of the enabling probabilities of the active output transitions" type: Real P2.enableOut.posTE:DISCRETE(fixed = true protected = true ) "possible enabled transition" type: Integer P2.enableOut.k:DISCRETE(fixed = true protected = true ) "iteration index" type: Integer P2.enableOut.nTAout:DISCRETE(fixed = true protected = true ) "number of active output transitions" type: Integer P2.enableOut.nremTAout:DISCRETE(fixed = true protected = true ) "number of remaining active output transitions" type: Integer P2.enableOut.arcWeightSum:DISCRETE(fixed = true protected = true ) "arc weight sum" type: Real 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.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P2.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksIn.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean P1.disMarksOut.anytrue:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 235 ($PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,P2.enableOut.randNum,$PRE.P2.enableOut.randNum,P2.enableOut.state128[4],$PRE.P2.enableOut.state128[4],P2.enableOut.state128[3],$PRE.P2.enableOut.state128[3],P2.enableOut.state128[2],$PRE.P2.enableOut.state128[2],P2.enableOut.state128[1],$PRE.P2.enableOut.state128[1],$PRE.P2.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,$whenCondition6,$PRE.P2.enableIn.posTE,P2.enableIn.posTE,$PRE.P2.enableIn.k,P2.enableIn.k,$PRE.P2.enableIn.endWhile,P2.enableIn.endWhile,P2.enableIn.randNum,$PRE.P2.enableIn.randNum,P2.enableIn.state128[4],$PRE.P2.enableIn.state128[4],P2.enableIn.state128[3],$PRE.P2.enableIn.state128[3],P2.enableIn.state128[2],$PRE.P2.enableIn.state128[2],P2.enableIn.state128[1],$PRE.P2.enableIn.state128[1],P2.enableIn.cumEnablingProb[1],$PRE.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,P2.enableIn.remTAin[1],$PRE.P2.enableIn.remTAin[1],$PRE.P2.enableIn.Index,P2.enableIn.Index,$PRE.P2.enableIn.arcWeightSum,P2.enableIn.arcWeightSum,P2.enableIn.disTAin[1],$PRE.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,P1.enableOut.randNum,$PRE.P1.enableOut.randNum,P1.enableOut.state128[4],$PRE.P1.enableOut.state128[4],P1.enableOut.state128[3],$PRE.P1.enableOut.state128[3],P1.enableOut.state128[2],$PRE.P1.enableOut.state128[2],P1.enableOut.state128[1],$PRE.P1.enableOut.state128[1],P1.enableOut.cumEnablingProb[1],$PRE.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,P1.enableOut.remTAout[1],$PRE.P1.enableOut.remTAout[1],$PRE.P1.enableOut.Index,P1.enableOut.Index,$PRE.P1.enableOut.arcWeightSum,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[1],$PRE.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,P1.enableIn.randNum,$PRE.P1.enableIn.randNum,P1.enableIn.state128[4],$PRE.P1.enableIn.state128[4],P1.enableIn.state128[3],$PRE.P1.enableIn.state128[3],P1.enableIn.state128[2],$PRE.P1.enableIn.state128[2],P1.enableIn.state128[1],$PRE.P1.enableIn.state128[1],P1.enableIn.cumEnablingProb[1],$PRE.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,P1.enableIn.remTAin[1],$PRE.P1.enableIn.remTAin[1],$PRE.P1.enableIn.Index,P1.enableIn.Index,$PRE.P1.enableIn.arcWeightSum,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[1],$PRE.P1.enableIn.disTAin[1],$PRE.P1.disMarksInOut,P1.outTransition[1].tokenInOut,$PRE.P2.disMarksIn.anytrue,$PRE.P2.disMarksOut.anytrue,P2.disMarksInOut,$whenCondition5,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition4,P2.disMarksOut.numtrue,P2.disMarksOut.anytrue,P2.inTransition[1].disPlace,P2.inTransition[1].maxTokensint,P2.inTransition[1].tint,T2.outPlaces[1].disTransition,T2.outPlaces[1].enabledByInPlaces,P2.reStart,T2.firingCon,T2.inPlaces[1].disTransition,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType,P1.outTransition[1].disPlace,P1.outTransition[1].minTokensint,P1.outTransition[1].tint,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T1.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,P1.reStart,T1.firingCon,P1.disMarksOut.vec[1],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksIn.vec[1],P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P2.disMarksIn.vec[1],P2.disMarksIn.numtrue,P2.disMarksIn.anytrue,T1.fire_,T1.activation.arcWeightIntOut[1],P1.delayPassedOut.vec[1],P1.delayPassedIn.vec[1],T2.activation.arcWeightIntIn[1],T2.activation.arcWeightIntOut[1],P2.delayPassedIn.vec[1],T2.activation.disPlaceOut[1],T2.activation.maxTokensInt[1],T2.activation.tIntOut[1],T2.activation.normalArc[1],T2.activation.testValueInt[1],T2.activation.arcType[1],T2.activation.disPlaceIn[1],T2.activation.minTokensInt[1],T2.activation.tIntIn[1],T1.activation.disPlaceOut[1],T1.activation.maxTokensInt[1],T1.activation.tIntOut[1],P2.emptying.numtrue,P2.emptying.anytrue,P2.feeding.numtrue,P2.feeding.anytrue,P2.feeding.vec[1],P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P2.enableIn.TEin[1],$PRE.P2.enableIn.TEin[1],P2.enableIn.TEin_[1],P2.enableIn.active[1],P2.fireIn[1],$PRE.P2.fireIn[1],T2.fire_,T2.activation.NoTokens,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,T2.activation.emptied[1],T2.activation.fed[1],P1.emptying.numtrue,P1.emptying.anytrue,P1.emptying.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,P1.feeding.vec[1],P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout_[1],P1.enableOut.TAout[1],P1.enableIn.TEin[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.fireOut[1],$PRE.P1.fireOut[1],P1.fireIn[1],$PRE.P1.fireIn[1],T1.activation.NoTokens,T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.activation.emptied[1],$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 225 * Array equations: 0 * Algorithm blocks: 22 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.003491/0.8254, allocations: 1.509 MB / 0.5403 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007337/0.8262, allocations: 162.7 kB / 0.5404 GB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008884/0.8351, allocations: 4.694 MB / 0.545 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.815e-05/0.8352, allocations: 8 kB / 0.545 GB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/0.8352, allocations: 4 kB / 0.545 GB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/0.8352, allocations: 3.984 kB / 0.545 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01319/0.8484, allocations: 6.722 MB / 0.5516 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.01064/0.8591, allocations: 4.576 MB / 0.5561 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004442/0.8597, allocations: 55.91 kB / 0.5561 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001017/0.8607, allocations: 223.1 kB / 0.5563 GB, free: 9.801 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000535/0.8612, allocations: 95.09 kB / 0.5564 GB, free: 9.711 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001225/0.8625, allocations: 0.8211 MB / 0.5572 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.8625, allocations: 4 kB / 0.5572 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01709/0.8796, allocations: 6.852 MB / 0.5639 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005323/0.8803, allocations: 183.6 kB / 0.5641 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008653/0.8811, allocations: 160 kB / 0.5642 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001535/0.8827, allocations: 151.9 kB / 0.5644 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009329/0.8836, allocations: 361.8 kB / 0.5647 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003532/0.884, allocations: 107.9 kB / 0.5648 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007496/0.8848, allocations: 402.7 kB / 0.5652 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.8848, allocations: 0 / 0.5652 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003554/0.8884, allocations: 0.6034 MB / 0.5658 GB, free: 15.94 MB / 414.1 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 (P2.disMarksInOut,$cse3[1],$whenCondition5,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,P1.outTransition[1].tokenInOut,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,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,$whenCondition6,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) * Number of discrete states: 108 (P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.enableOut.Index,P2.enableOut.endWhile,P2.enableOut.sumEnablingProbTAout,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.randNum,P2.enableOut.posTE,P2.enableOut.k,P2.enableOut.nTAout,P2.enableOut.nremTAout,P2.enableOut.arcWeightSum,$whenCondition6,P1.disMarksInOut,P2.fireIn[1],P2.disMarksOut.anytrue,P2.disMarksIn.anytrue,P1.fireIn[1],P1.fireOut[1],P1.disMarksOut.anytrue,P1.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.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],$whenCondition3,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],$whenCondition2,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],$whenCondition1,P1.enableIn.TEin[1],P2.disMarkChange,P1.disMarkChange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 42 * Array equations: 1 * Algorithm blocks: 18 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001637/0.89, allocations: 0.5126 MB / 0.5663 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.009975/0.9, allocations: 4.702 MB / 0.5709 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/0.9001, allocations: 0.8125 kB / 0.5709 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009089/0.9092, allocations: 5.86 MB / 0.5766 GB, free: 4.391 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002061/0.9114, allocations: 209.1 kB / 0.5768 GB, free: 4.188 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009466/0.9209, allocations: 3.53 MB / 0.5803 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001362/0.9223, allocations: 1.277 MB / 0.5815 GB, free: 15.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004525/0.9228, allocations: 91.36 kB / 0.5816 GB, free: 15.24 MB / 430.1 MB Notification: Performance of SimCode: time 2.505e-06/0.9228, allocations: 0 / 0.5816 GB, free: 15.24 MB / 430.1 MB Notification: Performance of Templates: time 0.06866/0.9915, allocations: 30.33 MB / 0.6112 GB, free: 0.7969 MB / 446.1 MB make -j1 -f PNlib_PNlib.Examples.ConTest.ZeroPlace.makefile make -j1 -f PNlib_PNlib.Examples.ConTest.ZeroPlace.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPNlib_PNlib.Examples.ConTest.ZeroPlaceCalcHelperMain.o OMCppPNlib_PNlib.Examples.ConTest.ZeroPlaceCalcHelperMain.cpp In file included from OMCppPNlib_PNlib.Examples.ConTest.ZeroPlaceCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ConTest.ZeroPlaceAlgLoopMain.cpp:12: ./OMCppPNlib_PNlib.Examples.ConTest.ZeroPlaceAlgloop337.cpp:119:270: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 1, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, _system->_T2_P_inPlaces1_P_speedSum_, _system->_P1_P_inTransition1_P_speedSum_, tmp237, tmp238, tmp239, tmp240, tmp241, tmp242, (_system->_P1_P_fireIn_ && (!tmp243)), (_system->_P1_P_fireOut_ && (!tmp244)), tmp245); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.ZeroPlaceAlgloop337.cpp:119:310: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 1, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, _system->_T2_P_inPlaces1_P_speedSum_, _system->_P1_P_inTransition1_P_speedSum_, tmp237, tmp238, tmp239, tmp240, tmp241, tmp242, (_system->_P1_P_fireIn_ && (!tmp243)), (_system->_P1_P_fireOut_ && (!tmp244)), tmp245); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.ZeroPlaceAlgloop337.cpp:159:226: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[1], _system->_P2_P_minMarks_, _system->_P2_P_maxMarks_, _system->_P2_P_conMarkChange_, 0.0, tmp247, tmp248, tmp249, tmp250, tmp251, tmp252, (_system->_P2_P_fireIn_ && (!tmp253)), (tmp254 && (!tmp255)), tmp256); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.ZeroPlaceAlgloop337.cpp:159:249: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[1], _system->_P2_P_minMarks_, _system->_P2_P_maxMarks_, _system->_P2_P_conMarkChange_, 0.0, tmp247, tmp248, tmp249, tmp250, tmp251, tmp252, (_system->_P2_P_fireIn_ && (!tmp253)), (tmp254 && (!tmp255)), tmp256); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.ZeroPlaceCalcHelperMain.cpp:25: In file included from ./OMCppPNlib_PNlib.Examples.ConTest.ZeroPlaceAlgLoopMain.cpp:15: ./OMCppPNlib_PNlib.Examples.ConTest.ZeroPlaceAlgloop92.cpp:118:270: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 1, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, _system->_T2_P_inPlaces1_P_speedSum_, _system->_P1_P_inTransition1_P_speedSum_, tmp270, tmp271, tmp272, tmp273, tmp274, tmp275, (_system->_P1_P_fireIn_ && (!tmp276)), (_system->_P1_P_fireOut_ && (!tmp277)), tmp278); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.ZeroPlaceAlgloop92.cpp:118:310: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 1, __z[0], _system->_P1_P_minMarks_, _system->_P1_P_maxMarks_, _system->_T2_P_inPlaces1_P_speedSum_, _system->_P1_P_inTransition1_P_speedSum_, tmp270, tmp271, tmp272, tmp273, tmp274, tmp275, (_system->_P1_P_fireIn_ && (!tmp276)), (_system->_P1_P_fireOut_ && (!tmp277)), tmp278); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.ZeroPlaceAlgloop92.cpp:156:226: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[1], _system->_P2_P_minMarks_, _system->_P2_P_maxMarks_, _system->_P2_P_conMarkChange_, 0.0, tmp280, tmp281, tmp282, tmp283, tmp284, tmp285, (_system->_P2_P_fireIn_ && (!tmp286)), (tmp287 && (!tmp288)), tmp289); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.ZeroPlaceAlgloop92.cpp:156:249: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_decreasingFactor(1, 0, __z[1], _system->_P2_P_minMarks_, _system->_P2_P_maxMarks_, _system->_P2_P_conMarkChange_, 0.0, tmp280, tmp281, tmp282, tmp283, tmp284, tmp285, (_system->_P2_P_fireIn_ && (!tmp286)), (tmp287 && (!tmp288)), tmp289); ^~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.ZeroPlaceCalcHelperMain.cpp:29: ./OMCppPNlib_PNlib.Examples.ConTest.ZeroPlaceInitialize.cpp:1437:77: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(_P1_P_enableOut_P_TEout__,(!_functions->_OMC_LIT1),tmp64); ^~~~~~~~~~~~~~~~~~~~~~ In file included from OMCppPNlib_PNlib.Examples.ConTest.ZeroPlaceCalcHelperMain.cpp:33: ./OMCppPNlib_PNlib.Examples.ConTest.ZeroPlace.cpp:1685:63: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(tmp370,(!tmp371),tmp372); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.ZeroPlace.cpp:2106:81: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(_P1_P_enableOut_P_TAout_,(!tmp414),tmp415); ^~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.ZeroPlace.cpp:2315:77: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolOr(_P1_P_enableOut_P_TEout__,(!_functions->_OMC_LIT1),tmp453); ^~~~~~~~~~~~~~~~~~~~~~ ./OMCppPNlib_PNlib.Examples.ConTest.ZeroPlace.cpp:2711:63: error: invalid argument type 'StatArrayDim1' to unary expression _functions->PNlib_Functions_OddsAndEnds_boolAnd(tmp464,(!tmp465),tmp466); ^~~~~~~ 13 errors generated. make: *** [: OMCppPNlib_PNlib.Examples.ConTest.ZeroPlaceCalcHelperMain.o] Error 1