Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.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.HYGOV,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV",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.0008948/0.0008948, allocations: 91.38 kB / 15.06 MB, free: 1.098 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.421/1.421, allocations: 223.2 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.001126/0.001126, allocations: 188.5 kB / 290.3 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4865/0.4865, allocations: 79.48 MB / 420.8 MB, free: 3.961 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004301/0.0004302, allocations: 12 kB / 0.4892 GB, free: 5.484 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4533/0.4537, allocations: 69.52 MB / 0.5571 GB, free: 37.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV): time 0.01/0.4638, allocations: 8.291 MB / 0.5652 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008608/0.4724, allocations: 2.737 MB / 0.5679 GB, free: 35.85 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00271/0.4752, allocations: 21.91 kB / 0.5679 GB, free: 35.85 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.4766, allocations: 249.6 kB / 0.5681 GB, free: 35.73 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003848/0.4805, allocations: 0.8374 MB / 0.5689 GB, free: 35.19 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00251/0.483, allocations: 0.7803 MB / 0.5697 GB, free: 34.81 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004782/0.4878, allocations: 2.217 MB / 0.5719 GB, free: 33.7 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001648/0.4895, allocations: 450.7 kB / 0.5723 GB, free: 33.54 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001956/0.4914, allocations: 0.815 MB / 0.5731 GB, free: 33.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002164/0.4936, allocations: 1.054 MB / 0.5741 GB, free: 32.72 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008077/0.4944, allocations: 94.25 kB / 0.5742 GB, free: 32.72 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00148/0.4959, allocations: 301.8 kB / 0.5745 GB, free: 32.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008556/0.4968, allocations: 387.4 kB / 0.5749 GB, free: 32.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007928/0.4976, allocations: 333.8 kB / 0.5752 GB, free: 32.24 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001986/0.4996, allocations: 1.954 MB / 0.5771 GB, free: 31.7 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.4996, allocations: 2.25 kB / 0.5771 GB, free: 31.7 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.208e-06/0.4996, allocations: 0 / 0.5771 GB, free: 31.7 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.893e-05/0.4996, allocations: 5.812 kB / 0.5771 GB, free: 31.7 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.01074/0.5104, allocations: 3.674 MB / 0.5807 GB, free: 30.28 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.5105, allocations: 8.375 kB / 0.5807 GB, free: 30.28 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004/0.5109, allocations: 189.9 kB / 0.5809 GB, free: 30.15 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004275/0.5151, allocations: 0.7854 MB / 0.5817 GB, free: 29.97 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002069/0.5172, allocations: 1.155 MB / 0.5828 GB, free: 29.25 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004168/0.5177, allocations: 0.5077 MB / 0.5833 GB, free: 28.79 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002029/0.5179, allocations: 138.5 kB / 0.5834 GB, free: 28.74 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00296/0.5208, allocations: 1.775 MB / 0.5851 GB, free: 28.03 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/0.5209, allocations: 0 / 0.5851 GB, free: 28.03 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/0.521, allocations: 46.31 kB / 0.5852 GB, free: 27.99 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.255e-05/0.521, allocations: 28.81 kB / 0.5852 GB, free: 27.99 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003359/0.5244, allocations: 1.62 MB / 0.5868 GB, free: 27.46 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.009403/0.5338, allocations: 6.048 MB / 0.5927 GB, free: 23.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008619/0.5424, allocations: 3.687 MB / 0.5963 GB, free: 22.6 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002465/0.5449, allocations: 1.087 MB / 0.5974 GB, free: 22.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001597/0.5451, allocations: 22.73 kB / 0.5974 GB, free: 22.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002756/0.5479, allocations: 1.25 MB / 0.5986 GB, free: 21.73 MB / 430.1 MB Notification: Performance of pre-optimization done (n=143): time 4.658e-06/0.5479, allocations: 0 / 0.5986 GB, free: 21.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=147): time 0.05081/0.5987, allocations: 15.76 MB / 0.614 GB, free: 17.51 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.96e-05/0.5988, allocations: 199.5 kB / 0.6142 GB, free: 17.29 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002872/0.6017, allocations: 1.537 MB / 0.6157 GB, free: 16.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000484/0.6022, allocations: 57.7 kB / 0.6157 GB, free: 16.36 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004436/0.6027, allocations: 0.7027 MB / 0.6164 GB, free: 15.65 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000595/0.6033, allocations: 0.52 MB / 0.6169 GB, free: 15.12 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.6034, allocations: 48.06 kB / 0.617 GB, free: 15.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.6036, allocations: 390.1 kB / 0.6174 GB, free: 14.69 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002051/0.6056, allocations: 1.156 MB / 0.6185 GB, free: 13.53 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002118/0.6078, allocations: 1.403 MB / 0.6199 GB, free: 12.05 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002148/0.6099, allocations: 1.265 MB / 0.6211 GB, free: 10.76 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.6099, allocations: 0 / 0.6211 GB, free: 10.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01004/0.62, allocations: 4.752 MB / 0.6257 GB, free: 5.953 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001689/0.6202, allocations: 256.6 kB / 0.626 GB, free: 5.629 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.6202, allocations: 4 kB / 0.626 GB, free: 5.625 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00803/0.6283, allocations: 3.093 MB / 0.629 GB, free: 2.527 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/0.6297, allocations: 312.2 kB / 0.6293 GB, free: 2.223 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009436/0.6392, allocations: 5.432 MB / 0.6346 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002516/0.6417, allocations: 235.7 kB / 0.6348 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001577/0.6419, allocations: 71.98 kB / 0.6349 GB, free: 12.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.6419, allocations: 10.14 kB / 0.6349 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01014/0.6521, allocations: 4.471 MB / 0.6393 GB, free: 7.805 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.6521, allocations: 5.188 kB / 0.6393 GB, free: 7.801 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008717/0.6608, allocations: 3.053 MB / 0.6423 GB, free: 4.746 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/0.6624, allocations: 311.6 kB / 0.6426 GB, free: 4.441 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01002/0.6724, allocations: 5.324 MB / 0.6478 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002745/0.6752, allocations: 223.9 kB / 0.648 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000439/0.6756, allocations: 74.03 kB / 0.648 GB, free: 14.66 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,hYGOV.Position_Limiter.local_reset,hYGOV.q.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,29 44} Notification: Performance of prepare postOptimizeDAE: time 0.001391/0.677, allocations: 418.4 kB / 0.6484 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007872/0.6778, allocations: 181.8 kB / 0.6486 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01722/0.6951, allocations: 6.252 MB / 0.6547 GB, free: 7.789 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.683e-05/0.6951, allocations: 12 kB / 0.6547 GB, free: 7.777 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.6952, allocations: 4 kB / 0.6547 GB, free: 7.773 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-05/0.6952, allocations: 11.97 kB / 0.6547 GB, free: 7.762 MB / 462.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.02235/0.7176, allocations: 8.573 MB / 0.6631 GB, free: 15.05 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-05/0.7176, allocations: 4.938 kB / 0.6631 GB, free: 15.04 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001184/0.7188, allocations: 173.3 kB / 0.6633 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007957/0.7268, allocations: 2.661 MB / 0.6659 GB, free: 12.21 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000361/0.7272, allocations: 31.98 kB / 0.6659 GB, free: 12.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02703/0.7543, allocations: 12.4 MB / 0.678 GB, free: 15.51 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.7543, allocations: 0 / 0.678 GB, free: 15.51 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02013/0.7745, allocations: 7.605 MB / 0.6855 GB, free: 7.871 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008819/0.7754, allocations: 276.7 kB / 0.6857 GB, free: 7.582 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007674/0.7762, allocations: 31.94 kB / 0.6857 GB, free: 7.551 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002122/0.7783, allocations: 207.8 kB / 0.6859 GB, free: 7.348 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001172/0.7795, allocations: 318.2 kB / 0.6862 GB, free: 7.035 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002302/0.7798, allocations: 39.98 kB / 0.6863 GB, free: 6.996 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002056/0.7818, allocations: 1.011 MB / 0.6873 GB, free: 5.992 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.7818, allocations: 0 / 0.6873 GB, free: 5.992 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00387/0.7857, allocations: 0.8712 MB / 0.6881 GB, free: 5.121 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,hYGOV.SimpleLag1.state,hYGOV.q.y,hYGOV.g.state,hYGOV.Position_Limiter.y,sCRX.imLeadLag.TF.x_scaled[1],sCRX.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 (98): * Single equations (assignments): 96 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02087/0.8066, allocations: 8.213 MB / 0.6961 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0185/0.8251, allocations: 6.412 MB / 0.7024 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.657e-06/0.8252, allocations: 0.875 kB / 0.7024 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007373/0.8326, allocations: 2.456 MB / 0.7048 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003162/0.8358, allocations: 169.9 kB / 0.705 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04103/0.8769, allocations: 16 MB / 0.7206 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001391/0.8783, allocations: 1.341 MB / 0.7219 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001345/0.8797, allocations: 193.9 kB / 0.7221 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001266/0.8809, allocations: 0.7102 MB / 0.7228 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of SimCode: time 9.51e-07/0.881, allocations: 4 kB / 0.7228 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4508/1.332, allocations: 51.88 MB / 0.7734 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001621/1.332, allocations: 201 kB / 0.7736 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.587/4.919, allocations: 0.5312 kB / 0.7736 GB, free: 163.6 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe 2>&1) Environment - environmentSimulation: