Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PNlib_PNlib.Examples.ExtTest.TATest.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.ExtTest.TATest,fileNamePrefix="PNlib_PNlib_Examples_ExtTest_TATest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PNlib.Examples.ExtTest.TATest,fileNamePrefix="PNlib_PNlib_Examples_ExtTest_TATest",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.001369/0.001369, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001511/0.001511, allocations: 194.3 kB / 16.25 MB, free: 6.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 1.244/1.244, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PNlib 3.0.0-master/package.mo): time 0.1749/0.1749, allocations: 16.76 MB / 306.8 MB, free: 14.98 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 63.91 kB / 371.2 MB, free: 3.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2335, allocations: 53.45 MB / 424.7 MB, free: 39.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PNlib.Examples.ExtTest.TATest): time 0.003445/0.237, allocations: 4.186 MB / 428.9 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003389/0.2404, allocations: 2.854 MB / 431.7 MB, free: 35.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003466/0.2408, allocations: 12.62 kB / 431.8 MB, free: 35.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004891/0.2413, allocations: 271.8 kB / 432 MB, free: 35.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006881/0.242, allocations: 277.2 kB / 432.3 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001423/0.2434, allocations: 1.126 MB / 433.4 MB, free: 34.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002126/0.2456, allocations: 3.627 MB / 437 MB, free: 33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006541/0.2462, allocations: 0.8063 MB / 437.9 MB, free: 32.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008775/0.2471, allocations: 1.487 MB / 439.3 MB, free: 31.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007681/0.2479, allocations: 1.246 MB / 440.6 MB, free: 31.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003166/0.2482, allocations: 333.1 kB / 440.9 MB, free: 31.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007007/0.2489, allocations: 0.7024 MB / 441.6 MB, free: 31.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003721/0.2493, allocations: 0.6648 MB / 442.3 MB, free: 30.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008138/0.2501, allocations: 1.44 MB / 443.7 MB, free: 29.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002007/0.2521, allocations: 3.526 MB / 447.2 MB, free: 28.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.2521, allocations: 0 / 447.2 MB, free: 28.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2521, allocations: 0 / 447.2 MB, free: 28.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.515e-05/0.2522, allocations: 0 / 447.2 MB, free: 28.41 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: 743 * Number of variables: 743 Notification: Performance of Generate backend data structure: time 0.003185/0.2554, allocations: 3.389 MB / 450.6 MB, free: 26.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.2554, allocations: 13.42 kB / 450.6 MB, free: 26.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004162/0.2558, allocations: 450.6 kB / 451.1 MB, free: 25.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001884/0.2577, allocations: 0.5218 MB / 451.6 MB, free: 25.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.259, allocations: 1.119 MB / 452.7 MB, free: 25.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003954/0.2594, allocations: 0.7614 MB / 453.5 MB, free: 24.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003342/0.2597, allocations: 326.7 kB / 453.8 MB, free: 24.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006478/0.2662, allocations: 5.245 MB / 459.1 MB, free: 22.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.185e-05/0.2663, allocations: 10.81 kB / 459.1 MB, free: 22.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000295/0.2666, allocations: 154.1 kB / 459.2 MB, free: 22.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004344/0.267, allocations: 279.4 kB / 459.5 MB, free: 22.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006047/0.2731, allocations: 3.889 MB / 463.4 MB, free: 20.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01353/0.2866, allocations: 10.25 MB / 473.6 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006213/0.2928, allocations: 5.083 MB / 478.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004242/0.2971, allocations: 4.497 MB / 483.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001899/0.2973, allocations: 126.1 kB / 483.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003578/0.3009, allocations: 2.664 MB / 486 MB, free: 7.211 MB / 350.1 MB Notification: Performance of pre-optimization done (n=212): time 8.696e-06/0.3009, allocations: 1.484 kB / 486 MB, free: 7.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=212): time 0.01199/0.3129, allocations: 8.428 MB / 494.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008262/0.3138, allocations: 1.301 MB / 495.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001822/0.3156, allocations: 1.116 MB / 496.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002583/0.3159, allocations: 133.7 kB / 497 MB, free: 11.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009402/0.3168, allocations: 0.8693 MB / 497.8 MB, free: 11 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006978/0.3175, allocations: 0.5711 MB / 498.4 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00119/0.3187, allocations: 0.72 MB / 499.1 MB, free: 9.688 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3189, allocations: 349.9 kB / 499.5 MB, free: 9.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002432/0.3213, allocations: 1.552 MB / 0.4893 GB, free: 7.785 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003153/0.3245, allocations: 2.556 MB / 0.4918 GB, free: 4.781 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005706/0.3302, allocations: 4.929 MB / 0.4966 GB, free: 15.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.411e-05/0.3303, allocations: 11.94 kB / 0.4966 GB, free: 15.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.008257/0.3385, allocations: 5.49 MB / 0.502 GB, free: 9.539 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005061/0.339, allocations: 0.8056 MB / 0.5027 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.612e-05/0.3391, allocations: 39.98 kB / 0.5028 GB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001885/0.341, allocations: 0.5215 MB / 0.5033 GB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/0.3421, allocations: 355.1 kB / 0.5036 GB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/0.3433, allocations: 1.061 MB / 0.5047 GB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001583/0.3449, allocations: 404.7 kB / 0.5051 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003031/0.3452, allocations: 164 kB / 0.5052 GB, free: 6.035 MB / 382.1 MB Warning: Assuming fixed start value for the following 36 variables: 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.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.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.Index:DISCRETE(fixed = true protected = true ) 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: 131 * Number of states: 0 () * Number of discrete variables: 314 ($PRE.P2.enableOut.posTE,P2.enableOut.posTE,$PRE.P2.enableOut.k,P2.enableOut.k,$PRE.P2.enableOut.endWhile,P2.enableOut.endWhile,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],P2.enableOut.cumEnablingProb[1],$PRE.P2.enableOut.cumEnablingProb[1],$PRE.P2.enableOut.sumEnablingProbTAout,P2.enableOut.sumEnablingProbTAout,$PRE.P2.enableOut.nTAout,P2.enableOut.nTAout,$PRE.P2.enableOut.nremTAout,P2.enableOut.nremTAout,P2.enableOut.remTAout[1],$PRE.P2.enableOut.remTAout[1],$PRE.P2.enableOut.Index,P2.enableOut.Index,$PRE.P2.enableOut.arcWeightSum,P2.enableOut.arcWeightSum,P2.enableOut.disTAout[1],$PRE.P2.enableOut.disTAout[1],$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[2],$PRE.P1.enableOut.cumEnablingProb[2],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[2],$PRE.P1.enableOut.remTAout[2],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[2],$PRE.P1.enableOut.disTAout[2],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],T3.inPlaces[1].tokenInOut,$PRE.P2.disMarksInOut,T1.inPlaces[1].tokenInOut,$PRE.P1.disMarksInOut,P1.outTransition[2].tokenInOut,$PRE.P2.disMarksIn.anytrue,$PRE.P2.disMarksOut.anytrue,P2.disMarksInOut,$whenCondition6,$PRE.P1.disMarksIn.anytrue,$PRE.P1.disMarksOut.anytrue,P1.disMarksInOut,$whenCondition5,T3.firingCon,T3.inPlaces[2].disTransition,P1.outTransition[2].normalArc,P1.outTransition[2].testValueint,P1.outTransition[2].arcType,P1.outTransition[2].disPlace,P1.outTransition[2].minTokensint,P1.outTransition[2].tint,T3.inPlaces[1].disTransition,P2.outTransition[1].disPlace,P2.outTransition[1].minTokensint,P2.outTransition[1].tint,T2.firingCon,T2.outPlaces[1].disTransition,T2.outPlaces[1].enabledByInPlaces,P1.inTransition[1].disPlace,P1.inTransition[1].maxTokensint,P1.inTransition[1].tint,T1.firingCon,T1.outPlaces[1].disTransition,T1.outPlaces[1].enabledByInPlaces,P2.inTransition[1].disPlace,P2.inTransition[1].maxTokensint,P2.inTransition[1].tint,T1.inPlaces[1].disTransition,P1.outTransition[1].disPlace,P1.outTransition[1].minTokensint,P1.outTransition[1].tint,P2.reStart,P1.reStart,P1.disMarksOut.vec[1],P1.disMarksOut.vec[2],P1.disMarksOut.numtrue,P1.disMarksOut.anytrue,P1.disMarksIn.vec[1],P1.disMarksIn.numtrue,P1.disMarksIn.anytrue,P2.disMarksOut.vec[1],P2.disMarksOut.numtrue,P2.disMarksOut.anytrue,P2.disMarksIn.vec[1],P2.disMarksIn.numtrue,P2.disMarksIn.anytrue,TA2.outTransition.arcType,T2.fire_,TA1.outTransition.arcType,P1.delayPassedOut.vec[1],P1.delayPassedOut.vec[2],P1.delayPassedIn.vec[1],P2.delayPassedOut.vec[1],P2.delayPassedIn.vec[1],T1.activation.testValueInt[1],T3.activation.testValueInt[1],T1.activation.arcWeightIntIn[1],T1.activation.arcWeightIntOut[1],T2.activation.arcWeightIntOut[1],T3.activation.arcWeightIntIn[1],T3.activation.arcWeightIntIn[2],T3.activation.normalArc[2],T3.activation.testValueInt[2],T3.activation.arcType[2],T3.activation.disPlaceIn[2],T3.activation.minTokensInt[2],T3.activation.tIntIn[2],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],T1.activation.disPlaceIn[1],T1.activation.minTokensInt[1],T1.activation.tIntIn[1],P2.outTransition[1].arcWeightint,P1.outTransition[1].arcWeightint,T3.fire_,T3.activation.NoTokens,T3.activation.weaklyInputActiveVec[2],T3.activation.weaklyInputActiveVec[1],T3.activation.active,T3.activation.normalArc[1],T3.activation.fed[2],T3.activation.fed[1],T3.activation.arcType[1],T2.activation.NoTokens,T2.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.emptied[1],T1.fire_,T1.activation.NoTokens,T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.activation.normalArc[1],T1.activation.emptied[1],T1.activation.fed[1],T1.activation.arcType[1],TA2.testColor[3],TA2.testColor[2],TA2.testColor[1],TA1.testColor[3],TA1.testColor[2],TA1.testColor[1],P2.emptying.numtrue,P2.emptying.anytrue,P2.emptying.vec[1],P2.feeding.numtrue,P2.feeding.anytrue,P2.feeding.vec[1],P2.delayPassedIn.numtrue,P2.delayPassedIn.anytrue,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P2.enableOut.TEout[1],$PRE.P2.enableOut.TEout[1],P2.enableOut.TEout_[1],P2.enableOut.TAout[1],P2.enableIn.TEin[1],$PRE.P2.enableIn.TEin[1],P2.enableIn.TEin_[1],P2.enableIn.active[1],P2.fireOut[1],$PRE.P2.fireOut[1],P2.fireIn[1],$PRE.P2.fireIn[1],P1.emptying.numtrue,P1.emptying.anytrue,P1.emptying.vec[2],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[2],$PRE.P1.enableOut.TEout[2],P1.enableOut.TEout[1],$PRE.P1.enableOut.TEout[1],P1.enableOut.TEout_[2],P1.enableOut.TEout_[1],P1.enableOut.TAout[2],P1.enableOut.TAout[1],P1.enableIn.TEin[1],$PRE.P1.enableIn.TEin[1],P1.enableIn.TEin_[1],P1.enableIn.active[1],P1.fireOut[2],$PRE.P1.fireOut[2],P1.fireOut[1],$PRE.P1.fireOut[1],P1.fireIn[1],$PRE.P1.fireIn[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,P2.outTransition[1].normalArc,P2.outTransition[1].testValueint,P2.outTransition[1].arcType,P1.outTransition[1].normalArc,P1.outTransition[1].testValueint,P1.outTransition[1].arcType) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (343): * Single equations (assignments): 319 * 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 {(6,12)} Notification: Performance of prepare postOptimizeDAE: time 0.00286/0.3481, allocations: 1.935 MB / 0.5071 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007686/0.3488, allocations: 214.2 kB / 0.5073 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009605/0.3584, allocations: 6.643 MB / 0.5138 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.918e-05/0.3585, allocations: 15.98 kB / 0.5138 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.3585, allocations: 0 / 0.5138 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/0.3585, allocations: 7.984 kB / 0.5138 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01227/0.3708, allocations: 8.977 MB / 0.5226 GB, free: 3.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-05/0.3708, allocations: 7.984 kB / 0.5226 GB, free: 3.789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003807/0.3712, allocations: 99.81 kB / 0.5227 GB, free: 3.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009679/0.3722, allocations: 429.9 kB / 0.5231 GB, free: 3.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002547/0.3725, allocations: 123.9 kB / 0.5232 GB, free: 3.148 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00108/0.3736, allocations: 1.024 MB / 0.5242 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.3736, allocations: 4 kB / 0.5242 GB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0133/0.3869, allocations: 9.628 MB / 0.5336 GB, free: 8.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000308/0.3872, allocations: 227 kB / 0.5338 GB, free: 8.078 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005972/0.3878, allocations: 199.9 kB / 0.534 GB, free: 7.883 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001421/0.3893, allocations: 227.8 kB / 0.5342 GB, free: 7.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001023/0.3903, allocations: 0.7034 MB / 0.5349 GB, free: 6.957 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003176/0.3906, allocations: 135.9 kB / 0.5351 GB, free: 6.824 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000841/0.3915, allocations: 0.5926 MB / 0.5356 GB, free: 6.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3915, allocations: 0 / 0.5356 GB, free: 6.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002442/0.3939, allocations: 0.8766 MB / 0.5365 GB, free: 5.352 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: 158 ($cse5[1],$cse6[1],$cse6[2],$whenCondition6,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,P1.outTransition[2].tokenInOut,P1.disMarksInOut,P1.fireIn[1],P1.fireOut[1],P1.fireOut[2],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.TAout[2],P1.enableOut.TEout_[1],P1.enableOut.TEout_[2],P1.enableOut.state128[1],P1.enableOut.state128[2],P1.enableOut.state128[3],P1.enableOut.state128[4],P1.enableOut.TEout[1],P1.enableOut.TEout[2],P1.enableOut.disTAout[1],P1.enableOut.disTAout[2],P1.enableOut.remTAout[1],P1.enableOut.remTAout[2],P1.enableOut.cumEnablingProb[1],P1.enableOut.cumEnablingProb[2],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.vec[2],P1.emptying.anytrue,P1.emptying.numtrue,P2.disMarksInOut,P2.fireIn[1],P2.fireOut[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.enableOut.TAout[1],P2.enableOut.TEout_[1],P2.enableOut.state128[1],P2.enableOut.state128[2],P2.enableOut.state128[3],P2.enableOut.state128[4],P2.enableOut.TEout[1],P2.enableOut.disTAout[1],P2.enableOut.remTAout[1],P2.enableOut.cumEnablingProb[1],P2.enableOut.arcWeightSum,P2.enableOut.nremTAout,P2.enableOut.nTAout,P2.enableOut.k,P2.enableOut.posTE,P2.enableOut.randNum,P2.enableOut.sumEnablingProbTAout,P2.enableOut.endWhile,P2.enableOut.Index,P2.delayPassedOut.anytrue,P2.delayPassedOut.numtrue,P2.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.vec[1],P2.emptying.anytrue,P2.emptying.numtrue,TA1.testColor[1],TA1.testColor[2],TA1.testColor[3],TA2.testColor[1],TA2.testColor[2],TA2.testColor[3],T1.inPlaces[1].tokenInOut,T1.activation.arcType[1],T1.activation.fed[1],T1.activation.emptied[1],T1.activation.normalArc[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.NoTokens,T1.fire_,T2.activation.emptied[1],T2.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.NoTokens,T3.inPlaces[1].tokenInOut,T3.activation.arcType[1],T3.activation.fed[1],T3.activation.fed[2],T3.activation.normalArc[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyInputActiveVec[2],T3.activation.NoTokens,T3.fire_) * Number of discrete states: 125 (P2.disMarksInOut,P1.disMarksInOut,P2.fireIn[1],P2.fireOut[1],P2.disMarksOut.anytrue,P2.disMarksIn.anytrue,P1.fireIn[1],P1.fireOut[2],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,P2.delayPassedOut.numtrue,P2.delayPassedOut.anytrue,P1.emptying.numtrue,P1.emptying.anytrue,T2.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.NoTokens,P1.feeding.numtrue,P1.feeding.anytrue,T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T1.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],T3.activation.weaklyInputActiveVec[2],T3.activation.weaklyInputActiveVec[1],T3.activation.active,T3.activation.NoTokens,P2.enableOut.TEout_[1],P2.enableOut.posTE,P2.enableOut.k,P2.enableOut.endWhile,P2.enableOut.state128[4],P2.enableOut.state128[3],P2.enableOut.state128[2],P2.enableOut.state128[1],P2.enableOut.randNum,P2.enableOut.cumEnablingProb[1],P2.enableOut.sumEnablingProbTAout,P2.enableOut.nTAout,P2.enableOut.nremTAout,P2.enableOut.remTAout[1],P2.enableOut.Index,P2.enableOut.arcWeightSum,P2.enableOut.disTAout[1],$whenCondition4,P2.enableOut.TEout[1],P1.disMarksIn.numtrue,P1.disMarksOut.numtrue,P1.delayPassedIn.numtrue,P1.delayPassedIn.anytrue,P1.delayPassedOut.numtrue,P1.delayPassedOut.anytrue,P1.enableOut.TEout_[2],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[2],P1.enableOut.cumEnablingProb[1],P1.enableOut.sumEnablingProbTAout,P1.enableOut.nTAout,P1.enableOut.nremTAout,P1.enableOut.remTAout[2],P1.enableOut.remTAout[1],P1.enableOut.Index,P1.enableOut.arcWeightSum,P1.enableOut.disTAout[2],P1.enableOut.disTAout[1],$whenCondition2,P1.enableOut.TEout[2],P1.enableOut.TEout[1],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 (97): * Single equations (assignments): 75 * Array equations: 2 * 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 {(6,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01488/0.4088, allocations: 10.67 MB / 0.5469 GB, free: 10.54 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.009908/0.4188, allocations: 7.568 MB / 0.5543 GB, free: 2.684 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.4188, allocations: 320 / 0.5543 GB, free: 2.684 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006654/0.4255, allocations: 8.382 MB / 0.5625 GB, free: 10.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.4267, allocations: 272.7 kB / 0.5628 GB, free: 9.793 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1708/0.5975, allocations: 25.26 MB / 0.5874 GB, free: 139 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/0.5987, allocations: 1.692 MB / 0.5891 GB, free: 138.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009191/0.5996, allocations: 443.1 kB / 0.5895 GB, free: 138.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006795/0.6003, allocations: 0.7509 MB / 0.5902 GB, free: 138.2 MB / 462.1 MB Notification: Performance of SimCode: time 6.81e-07/0.6003, allocations: 0 / 0.5902 GB, free: 138.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.39/2.99, allocations: 50.76 MB / 0.6398 GB, free: 118 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001532/2.99, allocations: 230.9 kB / 0.64 GB, free: 117.7 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.27/7.26, allocations: 1.125 kB / 0.64 GB, free: 117.7 MB / 462.1 MB (rm -f PNlib_PNlib.Examples.ExtTest.TATest.pipe ; mkfifo PNlib_PNlib.Examples.ExtTest.TATest.pipe ; head -c 1048576 < PNlib_PNlib.Examples.ExtTest.TATest.pipe >> ../files/PNlib_PNlib.Examples.ExtTest.TATest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PNlib_PNlib.Examples.ExtTest.TATest_res.mat --tempDir=temp_PNlib_PNlib_Examples_ExtTest_TATest_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 PNlib_PNlib_Examples_ExtTest_TATest.fmu > PNlib_PNlib.Examples.ExtTest.TATest.pipe 2>&1) diffSimulationResults("PNlib_PNlib.Examples.ExtTest.TATest_res.mat","/mnt/ReferenceFiles/PNlib/ReferenceFiles/PNlib.Examples.ExtTest.TATest.mat","../files/PNlib_PNlib.Examples.ExtTest.TATest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches