Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_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.0009749/0.0009748, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.331/1.331, allocations: 223.2 MB / 238.9 MB, free: 5.488 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.001171/0.001171, allocations: 185 kB / 290.2 MB, free: 2.176 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4318/0.4318, allocations: 78.53 MB / 419.8 MB, free: 4.301 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003526, allocations: 12 kB / 499.8 MB, free: 6.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1256, allocations: 69.35 MB / 0.5558 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.2131/0.3387, allocations: 6.948 MB / 0.5626 GB, free: 37.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00389/0.3427, allocations: 2.467 MB / 0.565 GB, free: 37.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006341/0.3433, allocations: 11.84 kB / 0.565 GB, free: 37.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005861/0.3439, allocations: 218.5 kB / 0.5652 GB, free: 37.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002253/0.3462, allocations: 1.062 MB / 0.5662 GB, free: 36.79 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.3473, allocations: 0.5537 MB / 0.5668 GB, free: 36.74 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001651/0.349, allocations: 1.414 MB / 0.5681 GB, free: 36.38 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000402/0.3494, allocations: 311.9 kB / 0.5684 GB, free: 36.3 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007388/0.3501, allocations: 0.741 MB / 0.5692 GB, free: 36.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008523/0.351, allocations: 0.9536 MB / 0.5701 GB, free: 35.64 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001853/0.3512, allocations: 86.84 kB / 0.5702 GB, free: 35.64 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005091/0.3517, allocations: 243.3 kB / 0.5704 GB, free: 35.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002372/0.352, allocations: 345.9 kB / 0.5707 GB, free: 35.41 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002125/0.3522, allocations: 278.8 kB / 0.571 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.3533, allocations: 1.575 MB / 0.5725 GB, free: 34.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.3533, allocations: 0 / 0.5725 GB, free: 34.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3533, allocations: 0 / 0.5725 GB, free: 34.79 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.792e-05/0.3534, allocations: 1.719 kB / 0.5725 GB, free: 34.79 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.01255/0.3659, allocations: 3.618 MB / 0.5761 GB, free: 33.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.366, allocations: 9.312 kB / 0.5761 GB, free: 33.52 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003311/0.3663, allocations: 150.2 kB / 0.5762 GB, free: 33.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004625/0.3709, allocations: 0.7475 MB / 0.577 GB, free: 33.25 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001874/0.3728, allocations: 1.036 MB / 0.578 GB, free: 32.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003475/0.3732, allocations: 431.5 kB / 0.5784 GB, free: 32.22 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001872/0.3734, allocations: 107.2 kB / 0.5785 GB, free: 32.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002508/0.3759, allocations: 1.431 MB / 0.5799 GB, free: 31.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.3759, allocations: 0 / 0.5799 GB, free: 31.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.3761, allocations: 46.55 kB / 0.5799 GB, free: 31.62 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.3761, allocations: 21.12 kB / 0.58 GB, free: 31.62 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002575/0.3787, allocations: 1.386 MB / 0.5813 GB, free: 31.17 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.00764/0.3863, allocations: 4.86 MB / 0.5861 GB, free: 28.35 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008578/0.3949, allocations: 3.453 MB / 0.5894 GB, free: 27.12 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001777/0.3951, allocations: 19.33 kB / 0.5894 GB, free: 27.12 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002137/0.3973, allocations: 1.128 MB / 0.5905 GB, free: 26.7 MB / 430.1 MB Notification: Performance of pre-optimization done (n=124): time 3.065e-06/0.3973, allocations: 0 / 0.5905 GB, free: 26.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=124): time 0.04443/0.4417, allocations: 12.03 MB / 0.6023 GB, free: 24.86 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.114e-05/0.4418, allocations: 118.4 kB / 0.6024 GB, free: 24.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002414/0.4443, allocations: 1.339 MB / 0.6037 GB, free: 24.19 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003874/0.4447, allocations: 50.98 kB / 0.6038 GB, free: 24.14 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004099/0.4451, allocations: 0.5625 MB / 0.6043 GB, free: 23.69 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005058/0.4456, allocations: 453.7 kB / 0.6047 GB, free: 23.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.4457, allocations: 35.75 kB / 0.6048 GB, free: 23.31 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.4459, allocations: 371.2 kB / 0.6051 GB, free: 22.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002474/0.4484, allocations: 1.03 MB / 0.6061 GB, free: 22.61 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00262/0.451, allocations: 1.226 MB / 0.6073 GB, free: 22.08 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002299/0.4533, allocations: 1.102 MB / 0.6084 GB, free: 21.61 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.4533, allocations: 6.031 kB / 0.6084 GB, free: 21.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.009416/0.4628, allocations: 3.982 MB / 0.6123 GB, free: 19.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.4628, allocations: 7.625 kB / 0.6123 GB, free: 19.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.4628, allocations: 2.594 kB / 0.6123 GB, free: 19.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009305/0.4722, allocations: 3.069 MB / 0.6153 GB, free: 16.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/0.4737, allocations: 295.6 kB / 0.6156 GB, free: 16.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00586/0.4795, allocations: 3.009 MB / 0.6185 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002406/0.482, allocations: 291.8 kB / 0.6188 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001669/0.4822, allocations: 63.97 kB / 0.6189 GB, free: 13.17 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.0005611/0.4827, allocations: 290 kB / 0.6191 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002657/0.483, allocations: 154.6 kB / 0.6193 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01546/0.4985, allocations: 5.795 MB / 0.625 GB, free: 6.906 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/0.4985, allocations: 16 kB / 0.625 GB, free: 6.891 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.4986, allocations: 0 / 0.625 GB, free: 6.891 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.133e-05/0.4986, allocations: 11.97 kB / 0.625 GB, free: 6.879 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.01814/0.5167, allocations: 7.899 MB / 0.6327 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.799e-05/0.5168, allocations: 1.5 kB / 0.6327 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009103/0.5177, allocations: 139.8 kB / 0.6328 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00793/0.5257, allocations: 2.514 MB / 0.6353 GB, free: 12.17 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002555/0.526, allocations: 23.98 kB / 0.6353 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02558/0.5515, allocations: 10.9 MB / 0.6459 GB, free: 1.109 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.5516, allocations: 0 / 0.6459 GB, free: 1.109 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01919/0.5708, allocations: 7.053 MB / 0.6528 GB, free: 10.01 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007289/0.5716, allocations: 278.7 kB / 0.6531 GB, free: 9.719 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003008/0.5719, allocations: 29.92 kB / 0.6531 GB, free: 9.691 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001555/0.5734, allocations: 176.6 kB / 0.6533 GB, free: 9.52 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007326/0.5742, allocations: 257.2 kB / 0.6535 GB, free: 9.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.336e-05/0.5743, allocations: 39.98 kB / 0.6536 GB, free: 9.23 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001315/0.5756, allocations: 0.9017 MB / 0.6545 GB, free: 8.328 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5756, allocations: 0 / 0.6545 GB, free: 8.328 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001469/0.5771, allocations: 0.5151 MB / 0.655 GB, free: 7.812 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.01934/0.5964, allocations: 7.779 MB / 0.6626 GB, free: 15.98 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008726/0.6052, allocations: 3.128 MB / 0.6656 GB, free: 12.86 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.6053, allocations: 256 / 0.6656 GB, free: 12.86 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00632/0.6116, allocations: 2.16 MB / 0.6677 GB, free: 10.69 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000969/0.6126, allocations: 106.6 kB / 0.6678 GB, free: 10.58 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006923/0.6195, allocations: 6.262 MB / 0.6739 GB, free: 4.277 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006376/0.6202, allocations: 1.238 MB / 0.6752 GB, free: 3.012 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005484/0.6207, allocations: 137.7 kB / 0.6753 GB, free: 2.875 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007099/0.6215, allocations: 0.5696 MB / 0.6758 GB, free: 2.305 MB / 478.1 MB Notification: Performance of SimCode: time 6.81e-07/0.6215, allocations: 0 / 0.6758 GB, free: 2.305 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0554/0.6769, allocations: 36.77 MB / 0.7117 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/0.6771, allocations: 192.3 kB / 0.7119 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.644/3.321, allocations: 4 kB / 0.7119 GB, free: 13.6 MB / 0.5137 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1) Environment - environmentSimulation: