Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.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.ES.IEEEX1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1",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.0008822/0.0008822, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.151/1.151, allocations: 223.3 MB / 239.3 MB, free: 5.531 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.0009002/0.0009003, allocations: 184.5 kB / 290.6 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3958/0.3958, allocations: 78.55 MB / 420.3 MB, free: 4.254 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003129/0.0003129, allocations: 12.38 kB / 0.4888 GB, free: 5.938 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1026, allocations: 69.36 MB / 0.5565 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1): time 0.1795/0.2821, allocations: 8.516 MB / 0.5648 GB, free: 34.2 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00397/0.2861, allocations: 2.804 MB / 0.5675 GB, free: 33.14 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.2873, allocations: 16.38 kB / 0.5676 GB, free: 33.14 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006747/0.288, allocations: 258.8 kB / 0.5678 GB, free: 33.04 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002078/0.29, allocations: 1.103 MB / 0.5689 GB, free: 32.59 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.2912, allocations: 0.7166 MB / 0.5696 GB, free: 32.53 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001448/0.2927, allocations: 2.386 MB / 0.5719 GB, free: 32.05 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004301/0.2931, allocations: 437.3 kB / 0.5723 GB, free: 31.95 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005405/0.2936, allocations: 0.8064 MB / 0.5731 GB, free: 31.72 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007406/0.2944, allocations: 1.071 MB / 0.5742 GB, free: 31.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001531/0.2946, allocations: 96.44 kB / 0.5743 GB, free: 31.43 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004698/0.295, allocations: 359 kB / 0.5746 GB, free: 31.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002178/0.2953, allocations: 388.2 kB / 0.575 GB, free: 31.3 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004935/0.2958, allocations: 0.89 MB / 0.5758 GB, free: 30.92 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001264/0.297, allocations: 2.377 MB / 0.5782 GB, free: 30.4 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.297, allocations: 4.469 kB / 0.5782 GB, free: 30.4 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.297, allocations: 0 / 0.5782 GB, free: 30.4 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.2971, allocations: 0 / 0.5782 GB, free: 30.4 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: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.01117/0.3082, allocations: 3.78 MB / 0.5819 GB, free: 29.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.891e-05/0.3083, allocations: 12.41 kB / 0.5819 GB, free: 29.27 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001674/0.3085, allocations: 163.6 kB / 0.582 GB, free: 29.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003971/0.3124, allocations: 0.7718 MB / 0.5828 GB, free: 29.1 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001379/0.3138, allocations: 1.199 MB / 0.584 GB, free: 28.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003307/0.3142, allocations: 472.4 kB / 0.5844 GB, free: 28.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000213/0.3144, allocations: 122.5 kB / 0.5845 GB, free: 28.23 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002435/0.3168, allocations: 1.576 MB / 0.5861 GB, free: 27.67 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.3169, allocations: 2.094 kB / 0.5861 GB, free: 27.67 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/0.317, allocations: 41.12 kB / 0.5861 GB, free: 27.64 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.317, allocations: 26.03 kB / 0.5861 GB, free: 27.64 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002773/0.3198, allocations: 1.484 MB / 0.5876 GB, free: 27.15 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.006939/0.3267, allocations: 5.435 MB / 0.5929 GB, free: 24.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008344/0.3351, allocations: 3.561 MB / 0.5964 GB, free: 22.74 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001773/0.3369, allocations: 1.02 MB / 0.5974 GB, free: 22.35 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003413/0.3372, allocations: 0.7382 MB / 0.5981 GB, free: 21.49 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002121/0.3393, allocations: 1.174 MB / 0.5992 GB, free: 21.06 MB / 430.1 MB Notification: Performance of pre-optimization done (n=132): time 2.514e-06/0.3394, allocations: 0 / 0.5992 GB, free: 21.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=132): time 0.04226/0.3816, allocations: 12.08 MB / 0.611 GB, free: 18.95 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.3817, allocations: 122.1 kB / 0.6111 GB, free: 18.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001937/0.3836, allocations: 1.532 MB / 0.6126 GB, free: 17.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001378/0.3838, allocations: 54.95 kB / 0.6127 GB, free: 17.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003194/0.3841, allocations: 0.6442 MB / 0.6133 GB, free: 17.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003179/0.3844, allocations: 491.3 kB / 0.6138 GB, free: 16.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002191/0.3847, allocations: 193.1 kB / 0.614 GB, free: 16.81 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.566e-05/0.3847, allocations: 307 kB / 0.6143 GB, free: 16.51 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00207/0.3868, allocations: 1.111 MB / 0.6153 GB, free: 15.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002115/0.3889, allocations: 1.343 MB / 0.6167 GB, free: 15.22 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003776/0.3927, allocations: 2.365 MB / 0.619 GB, free: 13.08 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.3927, allocations: 0 / 0.619 GB, free: 13.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=263) (initialization): time 0.00801/0.4007, allocations: 4.234 MB / 0.6231 GB, free: 8.832 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.4007, allocations: 11.92 kB / 0.6231 GB, free: 8.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.4008, allocations: 8 kB / 0.6231 GB, free: 8.812 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008492/0.4093, allocations: 3.063 MB / 0.6261 GB, free: 5.742 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/0.4106, allocations: 355.5 kB / 0.6265 GB, free: 5.395 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005398/0.416, allocations: 3.014 MB / 0.6294 GB, free: 2.359 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001865/0.4178, allocations: 318.1 kB / 0.6297 GB, free: 2.047 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/0.418, allocations: 71.97 kB / 0.6298 GB, free: 1.977 MB / 430.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,iEEEX1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (206): * Single equations (assignments): 204 * 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.0004711/0.4185, allocations: 313.5 kB / 0.6301 GB, free: 1.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/0.4187, allocations: 169.8 kB / 0.6302 GB, free: 1.492 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01644/0.4351, allocations: 5.893 MB / 0.636 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.4351, allocations: 18.34 kB / 0.636 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.4352, allocations: 3.938 kB / 0.636 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.404e-05/0.4352, allocations: 7.969 kB / 0.636 GB, free: 11.55 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.0191/0.4543, allocations: 8.098 MB / 0.6439 GB, free: 3.316 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.4543, allocations: 0 / 0.6439 GB, free: 3.316 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007961/0.4551, allocations: 159.8 kB / 0.6441 GB, free: 3.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007613/0.4627, allocations: 2.515 MB / 0.6465 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/0.4628, allocations: 28 kB / 0.6466 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02396/0.4868, allocations: 10.32 MB / 0.6566 GB, free: 6.164 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.4868, allocations: 8.562 kB / 0.6566 GB, free: 6.156 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01895/0.5058, allocations: 7.189 MB / 0.6637 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003341/0.5061, allocations: 294.5 kB / 0.6639 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002274/0.5064, allocations: 31.94 kB / 0.664 GB, free: 14.59 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001539/0.5079, allocations: 179.8 kB / 0.6641 GB, free: 14.41 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006063/0.5085, allocations: 253.3 kB / 0.6644 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.853e-05/0.5086, allocations: 41.11 kB / 0.6644 GB, free: 14.13 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001392/0.51, allocations: 1.028 MB / 0.6654 GB, free: 13.11 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.51, allocations: 0 / 0.6654 GB, free: 13.11 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001241/0.5113, allocations: 0.5698 MB / 0.666 GB, free: 12.54 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,iEEEX1.LL.TF.x_scaled[1],iEEEX1.imDerivativeLag.x,iEEEX1.SL.state,iEEEX1.rotatingExciter.sISO.y,iEEEX1.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 (89): * Single equations (assignments): 88 * 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.01964/0.5309, allocations: 7.816 MB / 0.6736 GB, free: 4.684 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008691/0.5396, allocations: 3.326 MB / 0.6769 GB, free: 1.352 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5396, allocations: 0.875 kB / 0.6769 GB, free: 1.352 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006034/0.5457, allocations: 2.2 MB / 0.679 GB, free: 15.14 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.5467, allocations: 151.6 kB / 0.6792 GB, free: 14.99 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05492/0.6017, allocations: 26.1 MB / 0.7046 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007477/0.6024, allocations: 1.27 MB / 0.7059 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005139/0.6029, allocations: 158.6 kB / 0.706 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008133/0.6038, allocations: 0.6555 MB / 0.7067 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.6038, allocations: 0 / 0.7067 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0577/0.6615, allocations: 41.75 MB / 0.7474 GB, free: 8.293 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001966/0.6617, allocations: 211.1 kB / 0.7477 GB, free: 8.035 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.627/3.289, allocations: 0 / 0.7477 GB, free: 8.035 MB / 0.545 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe 2>&1)