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.0009466/0.0009466, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.446/1.446, allocations: 223.3 MB / 239.4 MB, free: 5.496 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.001369/0.001369, allocations: 172.5 kB / 290.6 MB, free: 2.164 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5836/0.5836, allocations: 91.92 MB / 433.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004551/0.0004551, allocations: 15.98 kB / 0.5049 GB, free: 7.137 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4024, allocations: 72.46 MB / 0.5756 GB, free: 36.74 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.005944/0.4084, allocations: 7.831 MB / 0.5833 GB, free: 31.4 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004673/0.4131, allocations: 2.523 MB / 0.5858 GB, free: 29.62 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001211/0.4144, allocations: 11.22 kB / 0.5858 GB, free: 29.62 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008075/0.4152, allocations: 249.9 kB / 0.586 GB, free: 29.52 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002289/0.4175, allocations: 0.8702 MB / 0.5869 GB, free: 28.95 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001421/0.4189, allocations: 0.7127 MB / 0.5876 GB, free: 28.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002158/0.4211, allocations: 2.009 MB / 0.5895 GB, free: 27.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006051/0.4217, allocations: 330.6 kB / 0.5898 GB, free: 27.45 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001238/0.423, allocations: 0.7307 MB / 0.5905 GB, free: 27.13 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001535/0.4245, allocations: 0.9908 MB / 0.5915 GB, free: 26.7 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006302/0.4252, allocations: 86.81 kB / 0.5916 GB, free: 26.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.4263, allocations: 255.4 kB / 0.5918 GB, free: 26.64 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000687/0.427, allocations: 354.2 kB / 0.5922 GB, free: 26.44 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009367/0.428, allocations: 0.7961 MB / 0.593 GB, free: 25.92 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00193/0.4299, allocations: 2.039 MB / 0.5949 GB, free: 25.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.4299, allocations: 0 / 0.5949 GB, free: 25.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.4299, allocations: 5.094 kB / 0.595 GB, free: 25.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.74e-05/0.43, allocations: 0 / 0.595 GB, free: 25.18 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.01219/0.4422, allocations: 3.297 MB / 0.5982 GB, free: 23.92 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/0.4422, allocations: 10.16 kB / 0.5982 GB, free: 23.92 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004857/0.4427, allocations: 148.4 kB / 0.5983 GB, free: 23.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005171/0.4479, allocations: 0.7475 MB / 0.5991 GB, free: 23.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00282/0.4508, allocations: 1.089 MB / 0.6001 GB, free: 22.95 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005274/0.4513, allocations: 436.7 kB / 0.6005 GB, free: 22.56 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004537/0.4518, allocations: 100.5 kB / 0.6006 GB, free: 22.53 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003945/0.4557, allocations: 1.447 MB / 0.602 GB, free: 22 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/0.4558, allocations: 4 kB / 0.602 GB, free: 22 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001887/0.456, allocations: 40.83 kB / 0.6021 GB, free: 21.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.457e-05/0.456, allocations: 25.91 kB / 0.6021 GB, free: 21.96 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003492/0.4595, allocations: 1.389 MB / 0.6035 GB, free: 21.51 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.01078/0.4703, allocations: 4.745 MB / 0.6081 GB, free: 18.81 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01009/0.4805, allocations: 3.454 MB / 0.6115 GB, free: 17.56 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002464/0.483, allocations: 0.9888 MB / 0.6124 GB, free: 17.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001937/0.4832, allocations: 19.78 kB / 0.6125 GB, free: 17.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002813/0.486, allocations: 1.135 MB / 0.6136 GB, free: 16.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=124): time 5.56e-06/0.486, allocations: 0 / 0.6136 GB, free: 16.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=124): time 0.04791/0.5339, allocations: 12.1 MB / 0.6254 GB, free: 10.21 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.534, allocations: 119.8 kB / 0.6255 GB, free: 10.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002677/0.5367, allocations: 1.349 MB / 0.6268 GB, free: 8.707 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004795/0.5372, allocations: 53.7 kB / 0.6269 GB, free: 8.648 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005622/0.5378, allocations: 0.5609 MB / 0.6274 GB, free: 8.082 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007812/0.5386, allocations: 453.5 kB / 0.6278 GB, free: 7.633 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005235/0.5391, allocations: 165.6 kB / 0.628 GB, free: 7.465 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.997e-05/0.5392, allocations: 309.1 kB / 0.6283 GB, free: 7.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002485/0.5417, allocations: 1.039 MB / 0.6293 GB, free: 6.121 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002465/0.5442, allocations: 1.229 MB / 0.6305 GB, free: 4.848 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0046/0.5488, allocations: 2.218 MB / 0.6327 GB, free: 2.582 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.448e-06/0.5488, allocations: 0 / 0.6327 GB, free: 2.582 MB / 430.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.01238/0.5612, allocations: 4.284 MB / 0.6369 GB, free: 14.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.748e-05/0.5613, allocations: 11.94 kB / 0.6369 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.5613, allocations: 4 kB / 0.6369 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01122/0.5725, allocations: 3.054 MB / 0.6399 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001742/0.5743, allocations: 311.5 kB / 0.6402 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00804/0.5824, allocations: 3.012 MB / 0.6431 GB, free: 7.863 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003045/0.5855, allocations: 282.4 kB / 0.6434 GB, free: 7.586 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004163/0.5859, allocations: 63.97 kB / 0.6434 GB, free: 7.523 MB / 446.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 ($whenCondition2,$whenCondition1) * 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 (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 {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.001063/0.587, allocations: 297.5 kB / 0.6437 GB, free: 7.223 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006833/0.5877, allocations: 154 kB / 0.6439 GB, free: 7.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01975/0.6075, allocations: 5.802 MB / 0.6495 GB, free: 1.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.03e-05/0.6076, allocations: 16 kB / 0.6495 GB, free: 1.234 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/0.6076, allocations: 0 / 0.6495 GB, free: 1.234 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.84e-05/0.6076, allocations: 7.969 kB / 0.6495 GB, free: 1.227 MB / 446.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.02525/0.6329, allocations: 7.915 MB / 0.6573 GB, free: 9.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.193e-05/0.633, allocations: 3.938 kB / 0.6573 GB, free: 9.156 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/0.634, allocations: 135.8 kB / 0.6574 GB, free: 9.023 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009084/0.6431, allocations: 2.521 MB / 0.6599 GB, free: 6.496 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003632/0.6435, allocations: 23.98 kB / 0.6599 GB, free: 6.473 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03011/0.6736, allocations: 10.32 MB / 0.67 GB, free: 12.01 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.6737, allocations: 4 kB / 0.67 GB, free: 12.01 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02368/0.6974, allocations: 7.05 MB / 0.6769 GB, free: 4.93 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008363/0.6983, allocations: 274.8 kB / 0.6771 GB, free: 4.641 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006795/0.699, allocations: 28 kB / 0.6771 GB, free: 4.613 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002246/0.7013, allocations: 183.8 kB / 0.6773 GB, free: 4.434 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001059/0.7023, allocations: 249.3 kB / 0.6776 GB, free: 4.188 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002426/0.7026, allocations: 43.92 kB / 0.6776 GB, free: 4.145 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001999/0.7046, allocations: 0.9095 MB / 0.6785 GB, free: 3.234 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.7047, allocations: 4 kB / 0.6785 GB, free: 3.23 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002332/0.707, allocations: 0.5073 MB / 0.679 GB, free: 2.723 MB / 478.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 (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 {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02394/0.7309, allocations: 7.637 MB / 0.6864 GB, free: 11.04 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01126/0.7423, allocations: 3.139 MB / 0.6895 GB, free: 7.902 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/0.7423, allocations: 0 / 0.6895 GB, free: 7.902 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007641/0.75, allocations: 2.159 MB / 0.6916 GB, free: 5.727 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002326/0.7524, allocations: 135.2 kB / 0.6917 GB, free: 5.594 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06224/0.8146, allocations: 22.63 MB / 0.7138 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001151/0.8158, allocations: 1.211 MB / 0.715 GB, free: 13 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009205/0.8168, allocations: 137.7 kB / 0.7152 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001188/0.818, allocations: 0.5618 MB / 0.7157 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of SimCode: time 8.41e-07/0.818, allocations: 0 / 0.7157 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1062/0.9242, allocations: 37.86 MB / 0.7527 GB, free: 6.613 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00021/0.9245, allocations: 212.3 kB / 0.7529 GB, free: 6.359 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.069/3.994, allocations: 0 / 0.7529 GB, free: 6.359 MB / 0.545 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/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)