Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.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/Modelica 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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",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.0009328/0.0009332, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.462/1.462, allocations: 223.3 MB / 239 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 176.2 kB / 290.3 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5236/0.5236, allocations: 79.48 MB / 420.8 MB, free: 3.883 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004103/0.0004104, allocations: 8 kB / 0.4892 GB, free: 5.461 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4051/0.4056, allocations: 69.51 MB / 0.5571 GB, free: 37.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.006623/0.4122, allocations: 7.327 MB / 0.5643 GB, free: 36.99 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005112/0.4174, allocations: 2.415 MB / 0.5666 GB, free: 36.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001412/0.4188, allocations: 14.47 kB / 0.5666 GB, free: 36.29 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008575/0.4197, allocations: 222.3 kB / 0.5668 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002192/0.4219, allocations: 0.8076 MB / 0.5676 GB, free: 35.87 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001499/0.4234, allocations: 0.6259 MB / 0.5682 GB, free: 35.79 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002197/0.4256, allocations: 1.893 MB / 0.5701 GB, free: 34.91 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004825/0.4261, allocations: 313.9 kB / 0.5704 GB, free: 34.78 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008934/0.427, allocations: 0.7182 MB / 0.5711 GB, free: 34.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008719/0.4279, allocations: 0.9559 MB / 0.572 GB, free: 34.08 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001527/0.4281, allocations: 90.03 kB / 0.5721 GB, free: 34.08 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005467/0.4286, allocations: 250.4 kB / 0.5724 GB, free: 34.03 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000253/0.4289, allocations: 343 kB / 0.5727 GB, free: 33.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002223/0.4291, allocations: 275.5 kB / 0.5729 GB, free: 33.67 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001123/0.4302, allocations: 1.614 MB / 0.5745 GB, free: 33.2 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4302, allocations: 2.812 kB / 0.5745 GB, free: 33.2 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4303, allocations: 1.688 kB / 0.5745 GB, free: 33.2 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.413e-05/0.4303, allocations: 0 / 0.5745 GB, free: 33.2 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.009969/0.4403, allocations: 3.317 MB / 0.5778 GB, free: 31.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.4403, allocations: 9.094 kB / 0.5778 GB, free: 31.98 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003833/0.4407, allocations: 154.9 kB / 0.5779 GB, free: 31.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004204/0.4449, allocations: 0.7449 MB / 0.5786 GB, free: 31.72 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001817/0.4467, allocations: 1.043 MB / 0.5797 GB, free: 31.06 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003734/0.4471, allocations: 438.9 kB / 0.5801 GB, free: 30.67 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002354/0.4474, allocations: 102.8 kB / 0.5802 GB, free: 30.63 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003343/0.4507, allocations: 1.43 MB / 0.5816 GB, free: 30.11 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.085e-05/0.4508, allocations: 7.922 kB / 0.5816 GB, free: 30.11 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/0.4509, allocations: 40.38 kB / 0.5816 GB, free: 30.08 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.993e-05/0.451, allocations: 23.58 kB / 0.5816 GB, free: 30.08 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002959/0.4539, allocations: 1.381 MB / 0.583 GB, free: 29.63 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008601/0.4625, allocations: 4.738 MB / 0.5876 GB, free: 26.94 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008357/0.4709, allocations: 3.453 MB / 0.591 GB, free: 25.7 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002095/0.473, allocations: 0.9778 MB / 0.5919 GB, free: 25.33 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001781/0.4732, allocations: 22.02 kB / 0.592 GB, free: 25.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002363/0.4756, allocations: 1.132 MB / 0.5931 GB, free: 24.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=124): time 8.757e-06/0.4756, allocations: 0 / 0.5931 GB, free: 24.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=124): time 0.04289/0.5185, allocations: 12.01 MB / 0.6048 GB, free: 23.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.654e-05/0.5187, allocations: 125.5 kB / 0.6049 GB, free: 22.94 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003371/0.522, allocations: 1.331 MB / 0.6062 GB, free: 22.4 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004343/0.5225, allocations: 51.92 kB / 0.6063 GB, free: 22.35 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006401/0.5232, allocations: 0.5708 MB / 0.6068 GB, free: 21.89 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000795/0.524, allocations: 448.4 kB / 0.6073 GB, free: 21.54 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003943/0.5244, allocations: 39.88 kB / 0.6073 GB, free: 21.51 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.5246, allocations: 371 kB / 0.6076 GB, free: 21.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002677/0.5272, allocations: 1.027 MB / 0.6086 GB, free: 20.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002931/0.5302, allocations: 1.228 MB / 0.6098 GB, free: 20.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002774/0.533, allocations: 1.109 MB / 0.6109 GB, free: 19.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.507e-05/0.533, allocations: 5.547 kB / 0.6109 GB, free: 19.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.01009/0.5431, allocations: 3.976 MB / 0.6148 GB, free: 17.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.5432, allocations: 8 kB / 0.6148 GB, free: 17.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.5432, allocations: 7.953 kB / 0.6148 GB, free: 17.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008322/0.5515, allocations: 3.066 MB / 0.6178 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/0.5531, allocations: 300.4 kB / 0.6181 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005677/0.5588, allocations: 3.006 MB / 0.6211 GB, free: 10.97 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002616/0.5614, allocations: 294.3 kB / 0.6213 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003684/0.5618, allocations: 59.98 kB / 0.6214 GB, free: 10.62 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0009831/0.5628, allocations: 293.5 kB / 0.6217 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006342/0.5635, allocations: 150.1 kB / 0.6218 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01422/0.5777, allocations: 5.799 MB / 0.6275 GB, free: 4.359 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-05/0.5778, allocations: 12 kB / 0.6275 GB, free: 4.348 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.811e-05/0.5778, allocations: 0.5 kB / 0.6275 GB, free: 4.348 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.156e-05/0.5779, allocations: 16.75 kB / 0.6275 GB, free: 4.332 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0195/0.5974, allocations: 7.903 MB / 0.6352 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-05/0.5975, allocations: 0 / 0.6352 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000964/0.5984, allocations: 140.7 kB / 0.6354 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007421/0.6059, allocations: 2.51 MB / 0.6378 GB, free: 9.621 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003241/0.6062, allocations: 27.98 kB / 0.6378 GB, free: 9.594 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02454/0.6308, allocations: 10.31 MB / 0.6479 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.319e-06/0.6309, allocations: 0 / 0.6479 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0188/0.6497, allocations: 7.028 MB / 0.6548 GB, free: 8.078 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008751/0.6506, allocations: 274.8 kB / 0.655 GB, free: 7.789 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006848/0.6513, allocations: 20 kB / 0.6551 GB, free: 7.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002036/0.6534, allocations: 183.8 kB / 0.6552 GB, free: 7.59 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001068/0.6545, allocations: 255 kB / 0.6555 GB, free: 7.344 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002488/0.6548, allocations: 35.98 kB / 0.6555 GB, free: 7.309 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002088/0.6569, allocations: 0.9056 MB / 0.6564 GB, free: 6.402 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.6569, allocations: 0 / 0.6564 GB, free: 6.402 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002648/0.6596, allocations: 0.5112 MB / 0.6569 GB, free: 5.891 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,tGOV1.imLeadLag.TF.x_scaled[1],tGOV1.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01897/0.6785, allocations: 7.631 MB / 0.6643 GB, free: 14.22 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009247/0.6878, allocations: 3.13 MB / 0.6674 GB, free: 11.09 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/0.6879, allocations: 0 / 0.6674 GB, free: 11.09 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00621/0.6941, allocations: 2.149 MB / 0.6695 GB, free: 8.93 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002219/0.6964, allocations: 131 kB / 0.6696 GB, free: 8.801 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03015/0.7265, allocations: 13.41 MB / 0.6827 GB, free: 10.91 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001125/0.7277, allocations: 1.2 MB / 0.6839 GB, free: 9.68 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009224/0.7287, allocations: 141 kB / 0.684 GB, free: 9.543 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00109/0.7298, allocations: 0.5696 MB / 0.6846 GB, free: 8.973 MB / 494.1 MB Notification: Performance of SimCode: time 1.512e-06/0.7298, allocations: 4 kB / 0.6846 GB, free: 8.969 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09165/0.8215, allocations: 37.94 MB / 0.7216 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/0.8217, allocations: 201.2 kB / 0.7218 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.032/3.854, allocations: 0 / 0.7218 GB, free: 3.121 MB / 0.5137 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1) Environment - environmentSimulation: