Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.ConTest.Speed.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: "" <> buildModelFMU(PNlib.Examples.ConTest.Speed,fileNamePrefix="PNlib_PNlib_Examples_ConTest_Speed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.ConTest.Speed,fileNamePrefix="PNlib_PNlib_Examples_ConTest_Speed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.001039, allocations: 97.88 kB / 15.36 MB, free: 0.7344 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.008358/0.008358, allocations: 171 kB / 16.27 MB, free: 6.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1967/0.1967, allocations: 16.74 MB / 308.2 MB, free: 15.62 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003085/0.0003084, allocations: 8 kB / 373.5 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2924, allocations: 54.47 MB / 428 MB, free: 38.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ConTest.Speed): time 0.002857/0.2953, allocations: 3.283 MB / 431.3 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00493/0.3003, allocations: 3.146 MB / 434.4 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006809/0.301, allocations: 16.72 kB / 434.4 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004732/0.3015, allocations: 249.3 kB / 434.7 MB, free: 36.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000636/0.3021, allocations: 222.3 kB / 434.9 MB, free: 36.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001923/0.304, allocations: 1.075 MB / 436 MB, free: 35.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002073/0.3061, allocations: 2.72 MB / 438.7 MB, free: 34.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005374/0.3067, allocations: 0.509 MB / 439.2 MB, free: 34.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001239/0.3079, allocations: 0.9953 MB / 440.2 MB, free: 33.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009128/0.3088, allocations: 0.8094 MB / 441 MB, free: 33.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002388/0.3091, allocations: 90.66 kB / 441.1 MB, free: 33.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007905/0.3099, allocations: 452.2 kB / 441.5 MB, free: 33.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003399/0.3102, allocations: 429.5 kB / 442 MB, free: 33.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007657/0.311, allocations: 0.9067 MB / 442.9 MB, free: 32.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001928/0.313, allocations: 2.389 MB / 445.3 MB, free: 31.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.313, allocations: 2.812 kB / 445.3 MB, free: 31.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.313, allocations: 3.938 kB / 445.3 MB, free: 31.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.87e-05/0.313, allocations: 0 / 445.3 MB, free: 31.85 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 530 * Number of variables: 530 Notification: Performance of Generate backend data structure: time 0.002447/0.3155, allocations: 2.318 MB / 447.6 MB, free: 30.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.3155, allocations: 10.16 kB / 447.6 MB, free: 30.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003692/0.3159, allocations: 335.5 kB / 447.9 MB, free: 29.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001573/0.3175, allocations: 408.4 kB / 448.3 MB, free: 29.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.3186, allocations: 0.8776 MB / 449.2 MB, free: 29.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003058/0.3189, allocations: 0.4956 MB / 449.7 MB, free: 28.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003226/0.3192, allocations: 227.5 kB / 449.9 MB, free: 28.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005084/0.3243, allocations: 3.8 MB / 453.7 MB, free: 27.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.059e-05/0.3244, allocations: 6.906 kB / 453.7 MB, free: 27.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002137/0.3246, allocations: 103.4 kB / 453.8 MB, free: 27.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002708/0.3249, allocations: 215.8 kB / 454 MB, free: 27.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004173/0.329, allocations: 2.775 MB / 456.8 MB, free: 26.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01233/0.3414, allocations: 7.548 MB / 464.4 MB, free: 21.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004366/0.3458, allocations: 3.645 MB / 468 MB, free: 19.35 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003414/0.3493, allocations: 3.215 MB / 471.2 MB, free: 17.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000212/0.3495, allocations: 117.8 kB / 471.3 MB, free: 17.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003481/0.353, allocations: 1.997 MB / 473.3 MB, free: 16.56 MB / 350.1 MB Notification: Performance of pre-optimization done (n=177): time 5.37e-06/0.353, allocations: 0 / 473.3 MB, free: 16.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=177): time 0.01046/0.3635, allocations: 6.18 MB / 479.5 MB, free: 14.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005692/0.3641, allocations: 1.159 MB / 480.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/0.3656, allocations: 0.8563 MB / 481.5 MB, free: 12.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002909/0.3659, allocations: 115.2 kB / 481.6 MB, free: 12.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005801/0.3665, allocations: 0.6514 MB / 482.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005908/0.3671, allocations: 485.3 kB / 482.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005521/0.3676, allocations: 339.1 kB / 483.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.873e-05/0.3677, allocations: 339 kB / 483.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001863/0.3696, allocations: 1.097 MB / 484.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002392/0.372, allocations: 1.965 MB / 486.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00436/0.3764, allocations: 4.242 MB / 490.7 MB, free: 3.938 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.766e-05/0.3765, allocations: 8 kB / 490.7 MB, free: 3.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=343) (initialization): time 0.006444/0.3829, allocations: 4.52 MB / 495.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005348/0.3835, allocations: 0.7646 MB / 496 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003963/0.3875, allocations: 2.641 MB / 498.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001664/0.3892, allocations: 458.4 kB / 499.1 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.3902, allocations: 287.5 kB / 499.4 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001073/0.3913, allocations: 0.9515 MB / 0.4886 GB, free: 9.914 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001793/0.3931, allocations: 337.2 kB / 0.4889 GB, free: 9.582 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004298/0.3936, allocations: 144 kB / 0.4891 GB, free: 9.441 MB / 366.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: 117 * Number of states: 0 () * Number of discrete variables: 265 ($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[2],$PRE.P1.enableIn.cumEnablingProb[2],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[2],$PRE.P1.enableIn.remTAin[2],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[2],$PRE.P1.enableIn.disTAin[2],P1.enableIn.disTAin[1],$PRE.P1.enableIn.disTAin[1],T3.inPlaces[1].tokenInOut,$PRE.P1.disMarksInOut,$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,T3.outPlaces[1].disTransition,T3.outPlaces[1].enabledByInPlaces,P2.reStart,T3.firingCon,T3.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,T2.firingCon,T2.outPlaces[1].disTransition,T2.outPlaces[1].enabledByInPlaces,P1.inTransition[2].disPlace,P1.inTransition[2].maxTokensint,P1.inTransition[2].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.vec[2],P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P2.disMarksIn.vec[1],P2.disMarksIn.numtrue,P2.disMarksIn.anytrue,T2.fire_,T1.fire_,T1.activation.arcWeightIntOut[1],P1.delayPassedOut.vec[1],P1.delayPassedIn.vec[1],P1.delayPassedIn.vec[2],T2.activation.arcWeightIntOut[1],T3.activation.arcWeightIntIn[1],T3.activation.arcWeightIntOut[1],P2.delayPassedIn.vec[1],T3.activation.disPlaceOut[1],T3.activation.maxTokensInt[1],T3.activation.tIntOut[1],T3.activation.normalArc[1],T3.activation.testValueInt[1],T3.activation.arcType[1],T3.activation.disPlaceIn[1],T3.activation.minTokensInt[1],T3.activation.tIntIn[1],T2.activation.disPlaceOut[1],T2.activation.maxTokensInt[1],T2.activation.tIntOut[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],T3.fire_,T3.activation.NoTokens,T3.activation.weaklyOutputActiveVec[1],T3.activation.weaklyInputActiveVec[1],T3.activation.active,T3.activation.emptied[1],T3.activation.fed[1],T2.activation.NoTokens,T2.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.emptied[1],P1.emptying.numtrue,P1.emptying.anytrue,P1.emptying.vec[1],P1.feeding.numtrue,P1.feeding.anytrue,P1.feeding.vec[2],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[2],$PRE.P1.enableIn.TEin[2],P1.enableIn.TEin[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin_[2],P1.enableIn.TEin_[1],P1.enableIn.active[2],P1.enableIn.active[1],P1.fireOut[1],$PRE.P1.fireOut[1],P1.fireIn[2],$PRE.P1.fireIn[2],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 (286): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 23 * 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,13)} Notification: Performance of prepare postOptimizeDAE: time 0.003004/0.3966, allocations: 1.674 MB / 0.4907 GB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006943/0.3973, allocations: 166.7 kB / 0.4909 GB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008644/0.4059, allocations: 5.13 MB / 0.4959 GB, free: 2.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.469e-05/0.406, allocations: 8 kB / 0.4959 GB, free: 2.223 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-06/0.406, allocations: 0 / 0.4959 GB, free: 2.223 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.528e-05/0.406, allocations: 11.92 kB / 0.4959 GB, free: 2.211 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01139/0.4174, allocations: 7.322 MB / 0.503 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.007116/0.4246, allocations: 4.902 MB / 0.5078 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003082/0.4249, allocations: 79.89 kB / 0.5079 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001125/0.4261, allocations: 389.5 kB / 0.5083 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000252/0.4263, allocations: 103.9 kB / 0.5084 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000958/0.4273, allocations: 0.9153 MB / 0.5093 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.4273, allocations: 3.938 kB / 0.5093 GB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01145/0.4388, allocations: 7.549 MB / 0.5166 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003526/0.4392, allocations: 207.4 kB / 0.5168 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000638/0.4398, allocations: 175.9 kB / 0.517 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/0.4411, allocations: 183.9 kB / 0.5172 GB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006874/0.4418, allocations: 384.6 kB / 0.5176 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002998/0.4421, allocations: 119.9 kB / 0.5177 GB, free: 11.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006814/0.4428, allocations: 475 kB / 0.5181 GB, free: 10.96 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4428, allocations: 0 / 0.5181 GB, free: 10.96 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002435/0.4452, allocations: 0.6861 MB / 0.5188 GB, free: 10.27 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 133 (P2.disMarksInOut,$cse4[1],$whenCondition5,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,P1.disMarksInOut,P1.fireIn[1],P1.fireIn[2],P1.fireOut[1],P1.enableIn.active[1],P1.enableIn.active[2],P1.enableIn.TEin_[1],P1.enableIn.TEin_[2],P1.enableIn.state128[1],P1.enableIn.state128[2],P1.enableIn.state128[3],P1.enableIn.state128[4],P1.enableIn.TEin[1],P1.enableIn.TEin[2],P1.enableIn.disTAin[1],P1.enableIn.disTAin[2],P1.enableIn.remTAin[1],P1.enableIn.remTAin[2],P1.enableIn.cumEnablingProb[1],P1.enableIn.cumEnablingProb[2],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.vec[2],P1.feeding.anytrue,P1.feeding.numtrue,P1.emptying.vec[1],P1.emptying.anytrue,P1.emptying.numtrue,T2.activation.emptied[1],T2.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.NoTokens,T3.inPlaces[1].tokenInOut,T3.activation.fed[1],T3.activation.emptied[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyOutputActiveVec[1],T3.activation.NoTokens,T3.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: 117 (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[2],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,T2.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.NoTokens,P1.feeding.numtrue,P1.feeding.anytrue,T3.activation.weaklyOutputActiveVec[1],T3.activation.weaklyInputActiveVec[1],T3.activation.active,T3.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_[2],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[2],P1.enableIn.cumEnablingProb[1],P1.enableIn.sumEnablingProbTAin,P1.enableIn.nTAin,P1.enableIn.nremTAin,P1.enableIn.remTAin[2],P1.enableIn.remTAin[1],P1.enableIn.Index,P1.enableIn.arcWeightSum,P1.enableIn.disTAin[2],P1.enableIn.disTAin[1],$whenCondition1,P1.enableIn.TEin[2],P1.enableIn.TEin[1],P2.disMarkChange,P1.disMarkChange) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 52 * Array equations: 1 * Algorithm blocks: 19 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0139/0.4591, allocations: 8.46 MB / 0.5271 GB, free: 1.672 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007703/0.4669, allocations: 5.277 MB / 0.5322 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/0.4669, allocations: 5.812 kB / 0.5322 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007828/0.4748, allocations: 6.637 MB / 0.5387 GB, free: 5.215 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002315/0.4771, allocations: 223.8 kB / 0.5389 GB, free: 5.004 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03978/0.5169, allocations: 19.71 MB / 0.5582 GB, free: 4 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001974/0.5189, allocations: 1.443 MB / 0.5596 GB, free: 14.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00162/0.5206, allocations: 337.6 kB / 0.5599 GB, free: 14.19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001161/0.5218, allocations: 0.5461 MB / 0.5604 GB, free: 13.64 MB / 446.1 MB Notification: Performance of SimCode: time 2.034e-06/0.5218, allocations: 0 / 0.5604 GB, free: 13.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2575/0.7793, allocations: 38.01 MB / 0.5975 GB, free: 137.9 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002367/0.7796, allocations: 233.2 kB / 0.5978 GB, free: 137.7 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.871/3.651, allocations: 0 / 0.5978 GB, free: 137.7 MB / 462.1 MB (rm -f PNlib_PNlib.Examples.ConTest.Speed.pipe ; mkfifo PNlib_PNlib.Examples.ConTest.Speed.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ConTest.Speed.pipe >> ../files/PNlib_PNlib.Examples.ConTest.Speed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.ConTest.Speed_res.mat --tempDir=temp_PNlib_PNlib_Examples_ConTest_Speed_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_ConTest_Speed.fmu > PNlib_PNlib.Examples.ConTest.Speed.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.ConTest.Speed_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ConTest.Speed.mat","../files/PNlib_PNlib.Examples.ConTest.Speed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches