Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.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.ES.ESDC1A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",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.001152/0.001152, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.447/1.447, allocations: 222.9 MB / 239 MB, free: 4.746 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.001652/0.001652, allocations: 192.5 kB / 289.3 MB, free: 2.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5536/0.5536, allocations: 91.91 MB / 431.3 MB, free: 9.422 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 75.88 kB / 0.5015 GB, free: 7.969 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4627/0.4642, allocations: 71.27 MB / 0.5711 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A): time 0.008927/0.4732, allocations: 9.09 MB / 0.58 GB, free: 31.09 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006513/0.4798, allocations: 2.886 MB / 0.5828 GB, free: 29.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00198/0.4818, allocations: 16.38 kB / 0.5828 GB, free: 29.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.4829, allocations: 267 kB / 0.5831 GB, free: 28.93 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003007/0.486, allocations: 0.8947 MB / 0.5839 GB, free: 28.35 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002065/0.4881, allocations: 0.8762 MB / 0.5848 GB, free: 27.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002851/0.4909, allocations: 2.408 MB / 0.5871 GB, free: 26.68 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006713/0.4916, allocations: 481.9 kB / 0.5876 GB, free: 26.45 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001426/0.493, allocations: 0.9591 MB / 0.5885 GB, free: 25.96 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001272/0.4943, allocations: 1.198 MB / 0.5897 GB, free: 25.38 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003376/0.4947, allocations: 202.3 kB / 0.5899 GB, free: 25.38 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.4957, allocations: 480.7 kB / 0.5904 GB, free: 25.29 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003781/0.4961, allocations: 0.4933 MB / 0.5908 GB, free: 24.96 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008377/0.4969, allocations: 0.9869 MB / 0.5918 GB, free: 24.29 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002805/0.4997, allocations: 2.528 MB / 0.5943 GB, free: 23.2 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4997, allocations: 0 / 0.5943 GB, free: 23.2 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.4998, allocations: 0 / 0.5943 GB, free: 23.2 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.828e-05/0.4998, allocations: 3.938 kB / 0.5943 GB, free: 23.19 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: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.01379/0.5136, allocations: 3.755 MB / 0.5979 GB, free: 21.61 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.955e-05/0.5137, allocations: 9.75 kB / 0.598 GB, free: 21.61 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002577/0.5139, allocations: 166.1 kB / 0.5981 GB, free: 21.5 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004827/0.5188, allocations: 0.7705 MB / 0.5989 GB, free: 21.31 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002519/0.5213, allocations: 1.214 MB / 0.6001 GB, free: 20.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004596/0.5218, allocations: 468.9 kB / 0.6005 GB, free: 20.11 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002551/0.522, allocations: 121.9 kB / 0.6006 GB, free: 20.06 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003486/0.5255, allocations: 1.526 MB / 0.6021 GB, free: 19.45 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/0.5256, allocations: 4 kB / 0.6021 GB, free: 19.44 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/0.5257, allocations: 40.59 kB / 0.6021 GB, free: 19.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.964e-05/0.5257, allocations: 26.28 kB / 0.6022 GB, free: 19.41 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003426/0.5292, allocations: 1.419 MB / 0.6036 GB, free: 18.93 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.01134/0.5405, allocations: 5.406 MB / 0.6088 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00954/0.5501, allocations: 3.069 MB / 0.6118 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002413/0.5525, allocations: 0.9658 MB / 0.6128 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005643/0.5531, allocations: 0.7316 MB / 0.6135 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00291/0.556, allocations: 1.126 MB / 0.6146 GB, free: 12.87 MB / 430.1 MB Notification: Performance of pre-optimization done (n=133): time 7.925e-06/0.5561, allocations: 0 / 0.6146 GB, free: 12.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=133): time 0.04289/0.599, allocations: 9.766 MB / 0.6241 GB, free: 7.727 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/0.5991, allocations: 116.1 kB / 0.6242 GB, free: 7.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003006/0.6021, allocations: 1.547 MB / 0.6258 GB, free: 6.035 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004443/0.6026, allocations: 57.7 kB / 0.6258 GB, free: 5.973 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005145/0.6031, allocations: 0.6437 MB / 0.6264 GB, free: 5.324 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00079/0.6039, allocations: 485.1 kB / 0.6269 GB, free: 4.844 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001229/0.6051, allocations: 375.5 kB / 0.6273 GB, free: 4.469 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.346e-05/0.6052, allocations: 301.1 kB / 0.6275 GB, free: 4.172 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002241/0.6074, allocations: 1.054 MB / 0.6286 GB, free: 3.113 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002312/0.6098, allocations: 1.266 MB / 0.6298 GB, free: 1.785 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004436/0.6142, allocations: 2.228 MB / 0.632 GB, free: 15.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.385e-05/0.6142, allocations: 4 kB / 0.632 GB, free: 15.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.01058/0.6248, allocations: 3.835 MB / 0.6357 GB, free: 11.65 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.796e-05/0.6249, allocations: 14.12 kB / 0.6357 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.624e-05/0.6249, allocations: 4 kB / 0.6358 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01012/0.635, allocations: 2.675 MB / 0.6384 GB, free: 8.953 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002067/0.6371, allocations: 363.5 kB / 0.6387 GB, free: 8.594 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007008/0.6442, allocations: 2.699 MB / 0.6413 GB, free: 5.871 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003416/0.6476, allocations: 270.1 kB / 0.6416 GB, free: 5.605 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005839/0.6482, allocations: 79.97 kB / 0.6417 GB, free: 5.527 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,eSDC1A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (204): * Single equations (assignments): 202 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001672/0.6499, allocations: 321.4 kB / 0.642 GB, free: 5.203 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00108/0.651, allocations: 181.7 kB / 0.6422 GB, free: 5.023 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01813/0.6692, allocations: 4.942 MB / 0.647 GB, free: 56 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.41e-05/0.6692, allocations: 12 kB / 0.647 GB, free: 44 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/0.6693, allocations: 0 / 0.647 GB, free: 44 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-05/0.6693, allocations: 15.97 kB / 0.647 GB, free: 28 kB / 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.02246/0.6918, allocations: 7.117 MB / 0.654 GB, free: 8.777 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.098e-05/0.6918, allocations: 7.938 kB / 0.654 GB, free: 8.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001248/0.6931, allocations: 159.8 kB / 0.6541 GB, free: 8.613 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007887/0.701, allocations: 2.149 MB / 0.6562 GB, free: 6.457 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004145/0.7014, allocations: 35.98 kB / 0.6563 GB, free: 6.422 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02796/0.7294, allocations: 10.06 MB / 0.6661 GB, free: 12.21 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.7295, allocations: 0 / 0.6661 GB, free: 12.21 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02089/0.7504, allocations: 6.119 MB / 0.6721 GB, free: 6.059 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/0.7514, allocations: 294.5 kB / 0.6723 GB, free: 5.75 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000883/0.7523, allocations: 35.94 kB / 0.6724 GB, free: 5.715 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002439/0.7548, allocations: 151.8 kB / 0.6725 GB, free: 5.566 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001205/0.756, allocations: 273.3 kB / 0.6728 GB, free: 5.301 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002608/0.7563, allocations: 35.98 kB / 0.6728 GB, free: 5.266 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002208/0.7585, allocations: 1.036 MB / 0.6738 GB, free: 4.234 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7585, allocations: 0 / 0.6738 GB, free: 4.234 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002672/0.7612, allocations: 0.5659 MB / 0.6744 GB, free: 3.668 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eSDC1A.imDerivativeLag.x,eSDC1A.imLeadLag.TF.x_scaled[1],eSDC1A.simpleLagLim.state,eSDC1A.rotatingExciterLimited.sISO.y,eSDC1A.TransducerDelay.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 (90): * Single equations (assignments): 89 * 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.02128/0.7825, allocations: 6.746 MB / 0.681 GB, free: 12.88 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01178/0.7943, allocations: 3.091 MB / 0.684 GB, free: 9.781 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.7944, allocations: 0 / 0.684 GB, free: 9.781 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007088/0.8015, allocations: 2.001 MB / 0.6859 GB, free: 7.77 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002523/0.804, allocations: 152.9 kB / 0.6861 GB, free: 7.621 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06768/0.8717, allocations: 23.98 MB / 0.7095 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0013/0.8731, allocations: 1.274 MB / 0.7107 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001096/0.8742, allocations: 162.8 kB / 0.7109 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001263/0.8755, allocations: 0.6633 MB / 0.7115 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of SimCode: time 1.022e-06/0.8755, allocations: 0 / 0.7115 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08531/0.9608, allocations: 44.67 MB / 0.7552 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002066/0.9611, allocations: 212.2 kB / 0.7554 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.672/4.634, allocations: 0 / 0.7554 GB, free: 15.63 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe 2>&1)