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.00163/0.00163, allocations: 108 kB / 16.41 MB, free: 6.027 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.001819/0.001819, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.556/2.556, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1265/0.1265, allocations: 16.73 MB / 307.9 MB, free: 14.23 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003452/0.003452, allocations: 75.88 kB / 427 MB, free: 10.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.178, allocations: 53.46 MB / 480.5 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.ZeroPlace): time 0.007669/0.1858, allocations: 3.115 MB / 483.6 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008476/0.1943, allocations: 2.477 MB / 486 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001509/0.1959, allocations: 15.94 kB / 486.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001344/0.1973, allocations: 265.9 kB / 486.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001793/0.1991, allocations: 262 kB / 486.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004916/0.2041, allocations: 1.126 MB / 487.7 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006327/0.2104, allocations: 2.934 MB / 490.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001276/0.2118, allocations: 391.9 kB / 491 MB, free: 10.37 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002877/0.2147, allocations: 1.118 MB / 492.1 MB, free: 9.246 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002401/0.2171, allocations: 0.8399 MB / 493 MB, free: 8.402 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001227/0.2184, allocations: 216 kB / 493.2 MB, free: 8.191 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002407/0.2208, allocations: 0.6088 MB / 493.8 MB, free: 7.582 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001065/0.2219, allocations: 398.7 kB / 494.2 MB, free: 7.191 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002759/0.2247, allocations: 0.9179 MB / 495.1 MB, free: 6.27 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006984/0.2317, allocations: 2.419 MB / 497.5 MB, free: 3.844 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.2318, allocations: 0 / 497.5 MB, free: 3.844 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.2318, allocations: 7.938 kB / 497.5 MB, free: 3.836 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.995e-05/0.2319, allocations: 0 / 497.5 MB, free: 3.836 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.008481/0.2404, allocations: 2.447 MB / 500 MB, free: 1.199 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.611e-05/0.2405, allocations: 8.031 kB / 500 MB, free: 1.191 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003756/0.2443, allocations: 366.8 kB / 0.4886 GB, free: 0.832 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002726/0.2471, allocations: 0.7786 MB / 0.4894 GB, free: 16 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007281/0.2478, allocations: 398 kB / 0.4898 GB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009982/0.2488, allocations: 200 kB / 0.49 GB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01122/0.2601, allocations: 3.156 MB / 0.493 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001083/0.2603, allocations: 7.938 kB / 0.493 GB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008763/0.2612, allocations: 99.94 kB / 0.4931 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005559/0.2618, allocations: 158.4 kB / 0.4933 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00856/0.2703, allocations: 2.271 MB / 0.4955 GB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01897/0.2894, allocations: 6.279 MB / 0.5016 GB, free: 3.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006551/0.296, allocations: 3.037 MB / 0.5046 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3949/0.691, allocations: 2.745 MB / 0.5073 GB, free: 33.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004839/0.6959, allocations: 5.995 MB / 0.5131 GB, free: 26.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005138/0.7011, allocations: 1.747 MB / 0.5148 GB, free: 26.22 MB / 382.1 MB Notification: Performance of pre-optimization done (n=154): time 6.242e-06/0.7011, allocations: 0 / 0.5148 GB, free: 26.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=154): time 0.01683/0.718, allocations: 5.75 MB / 0.5205 GB, free: 23.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008563/0.7189, allocations: 1.109 MB / 0.5215 GB, free: 22.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001805/0.7207, allocations: 0.7191 MB / 0.5222 GB, free: 22.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004281/0.7212, allocations: 104.4 kB / 0.5223 GB, free: 22.42 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000654/0.7218, allocations: 0.5361 MB / 0.5229 GB, free: 22.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006887/0.7225, allocations: 412 kB / 0.5233 GB, free: 21.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001172/0.7237, allocations: 494.6 kB / 0.5237 GB, free: 21.55 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.7239, allocations: 337.9 kB / 0.5241 GB, free: 21.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002797/0.7267, allocations: 0.9341 MB / 0.525 GB, free: 20.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00349/0.7302, allocations: 1.679 MB / 0.5266 GB, free: 19.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007184/0.7374, allocations: 3.769 MB / 0.5303 GB, free: 16.72 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.694e-05/0.7376, allocations: 7.453 kB / 0.5303 GB, free: 16.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.01018/0.7477, allocations: 3.963 MB / 0.5342 GB, free: 14.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.00061/0.7484, allocations: 0.7343 MB / 0.5349 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005101/0.7536, allocations: 2.247 MB / 0.5371 GB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001685/0.7553, allocations: 287.8 kB / 0.5373 GB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/0.7567, allocations: 247.5 kB / 0.5376 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/0.7579, allocations: 0.839 MB / 0.5384 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002302/0.7602, allocations: 280.7 kB / 0.5387 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005834/0.7608, allocations: 117.2 kB / 0.5388 GB, free: 12.1 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.003314/0.7642, allocations: 1.516 MB / 0.5403 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009887/0.7652, allocations: 154.7 kB / 0.5404 GB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01101/0.7762, allocations: 4.699 MB / 0.545 GB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.593e-05/0.7763, allocations: 8 kB / 0.545 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/0.7763, allocations: 3.984 kB / 0.545 GB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.557e-05/0.7763, allocations: 4 kB / 0.545 GB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01407/0.7904, allocations: 6.733 MB / 0.5516 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.01219/0.8027, allocations: 4.571 MB / 0.5561 GB, free: 9.984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004725/0.8032, allocations: 59.91 kB / 0.5561 GB, free: 9.926 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001057/0.8043, allocations: 215.3 kB / 0.5563 GB, free: 9.715 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006078/0.8049, allocations: 91.62 kB / 0.5564 GB, free: 9.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/0.8065, allocations: 0.8306 MB / 0.5572 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.8065, allocations: 0 / 0.5572 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01998/0.8265, allocations: 6.839 MB / 0.5639 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004949/0.8271, allocations: 186.3 kB / 0.5641 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009613/0.8281, allocations: 164 kB / 0.5642 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001972/0.8301, allocations: 151.9 kB / 0.5644 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001173/0.8313, allocations: 355.9 kB / 0.5647 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005442/0.8318, allocations: 103.9 kB / 0.5648 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00102/0.8329, allocations: 406.7 kB / 0.5652 GB, free: 464 kB / 398.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.8329, allocations: 4 kB / 0.5652 GB, free: 460 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.003922/0.8369, allocations: 0.6111 MB / 0.5658 GB, free: 15.85 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.001951/0.8388, allocations: 0.5057 MB / 0.5663 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01196/0.8508, allocations: 4.713 MB / 0.5709 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/0.8509, allocations: 4.125 kB / 0.5709 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01187/0.8628, allocations: 5.852 MB / 0.5766 GB, free: 4.297 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002356/0.8652, allocations: 196.4 kB / 0.5768 GB, free: 4.105 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01181/0.877, allocations: 3.535 MB / 0.5803 GB, free: 0.543 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001769/0.8788, allocations: 1.288 MB / 0.5815 GB, free: 15.23 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004809/0.8794, allocations: 79.42 kB / 0.5816 GB, free: 15.15 MB / 430.1 MB Notification: Performance of SimCode: time 1.693e-06/0.8794, allocations: 3.938 kB / 0.5816 GB, free: 15.15 MB / 430.1 MB Notification: Performance of Templates: time 0.07584/0.9552, allocations: 30.14 MB / 0.611 GB, free: 0.8984 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