Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXAC2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXAC2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXAC2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXAC2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001212/0.001212, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.279/1.279, allocations: 205.2 MB / 218.5 MB, free: 9.16 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000866/0.0008658, allocations: 94.58 kB / 266.6 MB, free: 9.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06267/0.06267, allocations: 12.2 MB / 326.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2761/0.2761, allocations: 78.01 MB / 455.6 MB, free: 15.37 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.827e-05/3.84e-05, allocations: 7.984 kB / 0.5213 GB, free: 24.09 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1126, allocations: 69.24 MB / 0.5889 GB, free: 2.926 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4163/0.5289, allocations: 118 MB / 0.7041 GB, free: 14.15 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/0.5293, allocations: 89.88 kB / 0.7042 GB, free: 14.1 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1364/0.6657, allocations: 49.01 MB / 0.7521 GB, free: 4.852 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.367e-06/0.6657, allocations: 3.984 kB / 0.7521 GB, free: 4.848 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002199/0.6659, allocations: 36 kB / 0.7521 GB, free: 4.812 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 295 * Number of variables: 295 Notification: Performance of Generate backend data structure: time 0.007788/0.6737, allocations: 2.342 MB / 0.7544 GB, free: 2.582 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.6738, allocations: 11.98 kB / 0.7544 GB, free: 2.57 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006581/0.6745, allocations: 181.4 kB / 0.7546 GB, free: 2.461 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003765/0.6782, allocations: 0.6005 MB / 0.7552 GB, free: 1.898 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003454/0.6817, allocations: 1.162 MB / 0.7563 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006566/0.6824, allocations: 0.5009 MB / 0.7568 GB, free: 460 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005491/0.683, allocations: 122.1 kB / 0.7569 GB, free: 376 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003638/0.6866, allocations: 1.442 MB / 0.7583 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.917e-05/0.6867, allocations: 0 / 0.7583 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002141/0.6869, allocations: 50.44 kB / 0.7584 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.083e-05/0.6869, allocations: 31.95 kB / 0.7584 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002627/0.6896, allocations: 1.288 MB / 0.7597 GB, free: 14.55 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or 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.01169/0.7013, allocations: 5.7 MB / 0.7652 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008313/0.7096, allocations: 3.38 MB / 0.7685 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001855/0.7115, allocations: 0.8109 MB / 0.7693 GB, free: 5.598 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006011/0.7121, allocations: 0.7336 MB / 0.77 GB, free: 4.699 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001618/0.7138, allocations: 0.9698 MB / 0.771 GB, free: 3.707 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=143): time 4.088e-06/0.7138, allocations: 4 kB / 0.771 GB, free: 3.703 MB / 0.4948 GB Notification: Performance of matching and sorting (n=143): time 0.0161/0.7299, allocations: 5.153 MB / 0.776 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.816e-05/0.73, allocations: 145.8 kB / 0.7762 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002319/0.7323, allocations: 1.329 MB / 0.7775 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004331/0.7328, allocations: 57.64 kB / 0.7775 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000536/0.7333, allocations: 0.7347 MB / 0.7782 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006372/0.734, allocations: 0.5005 MB / 0.7787 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.7341, allocations: 32 kB / 0.7788 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.7343, allocations: 365.9 kB / 0.7791 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001242/0.7355, allocations: 0.6758 MB / 0.7798 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001301/0.7368, allocations: 0.8763 MB / 0.7806 GB, free: 9.719 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001315/0.7382, allocations: 0.7361 MB / 0.7813 GB, free: 8.984 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-06/0.7382, allocations: 0 / 0.7813 GB, free: 8.984 MB / 0.5105 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.004756/0.7429, allocations: 2.432 MB / 0.7837 GB, free: 6.539 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005494/0.7435, allocations: 1.551 MB / 0.7852 GB, free: 4.863 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.7435, allocations: 4 kB / 0.7852 GB, free: 4.859 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008719/0.7523, allocations: 2.653 MB / 0.7878 GB, free: 2.195 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/0.7536, allocations: 235.7 kB / 0.788 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004967/0.7586, allocations: 2.91 MB / 0.7909 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002477/0.7611, allocations: 302.5 kB / 0.7912 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001928/0.7613, allocations: 55.98 kB / 0.7912 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.7613, allocations: 4 kB / 0.7912 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004202/0.7655, allocations: 2.233 MB / 0.7934 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.7655, allocations: 4 kB / 0.7934 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008881/0.7744, allocations: 2.653 MB / 0.796 GB, free: 9.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.7758, allocations: 239.6 kB / 0.7962 GB, free: 9.516 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005389/0.7812, allocations: 2.903 MB / 0.7991 GB, free: 6.559 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002912/0.7842, allocations: 286.7 kB / 0.7993 GB, free: 6.277 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000253/0.7844, allocations: 59.98 kB / 0.7994 GB, free: 6.219 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,eXAC2.rotatingExciterWithDemagnetizationLimited.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 129 * 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 {30 26,1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004603/0.7849, allocations: 176.7 kB / 0.7996 GB, free: 6.039 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006619/0.7856, allocations: 185.7 kB / 0.7997 GB, free: 5.855 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01556/0.8012, allocations: 5.241 MB / 0.8049 GB, free: 0.5938 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.553e-05/0.8012, allocations: 16 kB / 0.8049 GB, free: 0.5781 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.8012, allocations: 0 / 0.8049 GB, free: 0.5781 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.906e-05/0.8013, allocations: 11.97 kB / 0.8049 GB, free: 0.5664 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.01872/0.82, allocations: 7.599 MB / 0.8123 GB, free: 8.836 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.912e-05/0.8201, allocations: 0 / 0.8123 GB, free: 8.836 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00134/0.8214, allocations: 191.8 kB / 0.8125 GB, free: 8.648 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006433/0.8279, allocations: 2.009 MB / 0.8145 GB, free: 6.637 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004953/0.8284, allocations: 35.98 kB / 0.8145 GB, free: 6.602 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01788/0.8463, allocations: 7.845 MB / 0.8222 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.8464, allocations: 4 kB / 0.8222 GB, free: 14.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01722/0.8636, allocations: 6.361 MB / 0.8284 GB, free: 8.199 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008298/0.8645, allocations: 302.4 kB / 0.8287 GB, free: 7.883 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003041/0.8648, allocations: 28 kB / 0.8287 GB, free: 7.855 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001795/0.8666, allocations: 215.7 kB / 0.8289 GB, free: 7.645 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008833/0.8675, allocations: 293.2 kB / 0.8292 GB, free: 7.359 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00012/0.8676, allocations: 43.98 kB / 0.8292 GB, free: 7.316 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001494/0.8691, allocations: 1.019 MB / 0.8302 GB, free: 6.305 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.585e-06/0.8691, allocations: 0 / 0.8302 GB, free: 6.305 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00215/0.8713, allocations: 0.8813 MB / 0.8311 GB, free: 5.422 MB / 0.5573 GB 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,eXAC2.imLimitedSimpleLag.state,eXAC2.imDerivativeLag.x,eXAC2.leadLag.TF.x_scaled[1],eXAC2.rotatingExciterWithDemagnetizationLimited.sISO.y,eXAC2.TransducerDelay.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 99 * 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.01753/0.8888, allocations: 7.135 MB / 0.838 GB, free: 14.24 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01298/0.9019, allocations: 4.433 MB / 0.8424 GB, free: 9.809 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.314e-05/0.9019, allocations: 4 kB / 0.8424 GB, free: 9.805 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.005675/0.9076, allocations: 1.987 MB / 0.8443 GB, free: 7.805 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.9089, allocations: 152 kB / 0.8445 GB, free: 7.656 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006394/0.9153, allocations: 3.166 MB / 0.8475 GB, free: 4.441 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008094/0.9161, allocations: 1.361 MB / 0.8489 GB, free: 3.055 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.00136/0.9175, allocations: 291.3 kB / 0.8492 GB, free: 2.766 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008213/0.9183, allocations: 0.6789 MB / 0.8498 GB, free: 2.086 MB / 0.573 GB Notification: Performance of SimCode: time 6.71e-07/0.9183, allocations: 0 / 0.8498 GB, free: 2.086 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3611/1.279, allocations: 51.43 MB / 0.9 GB, free: 177.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001513/1.28, allocations: 168.9 kB / 0.9002 GB, free: 177.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.764/5.043, allocations: 3.625 kB / 0.9002 GB, free: 177.5 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXAC2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXAC2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe 2>&1)