Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.IEEEX1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1,fileNamePrefix="OpenIPSL_dev_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.001781/0.001781, 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.402/1.402, allocations: 222.9 MB / 239 MB, free: 4.73 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.00162/0.00162, allocations: 196.1 kB / 289.3 MB, free: 2.469 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.553/0.553, allocations: 91.9 MB / 431.3 MB, free: 9.398 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002323/0.002323, allocations: 83.86 kB / 0.5015 GB, free: 7.949 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3525, allocations: 71.26 MB / 0.5711 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1): time 0.00711/0.3596, allocations: 9.076 MB / 0.58 GB, free: 31.12 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004891/0.3646, allocations: 2.798 MB / 0.5827 GB, free: 29.14 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001022/0.3656, allocations: 21.31 kB / 0.5827 GB, free: 29.14 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008276/0.3665, allocations: 260.2 kB / 0.583 GB, free: 29.03 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002013/0.3685, allocations: 0.9071 MB / 0.5838 GB, free: 28.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001537/0.3701, allocations: 0.8174 MB / 0.5846 GB, free: 27.99 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001823/0.3719, allocations: 2.351 MB / 0.5869 GB, free: 26.83 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005629/0.3725, allocations: 479.6 kB / 0.5874 GB, free: 26.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009625/0.3734, allocations: 0.9394 MB / 0.5883 GB, free: 26.11 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000992/0.3745, allocations: 1.188 MB / 0.5895 GB, free: 25.54 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002856/0.3747, allocations: 204.5 kB / 0.5897 GB, free: 25.53 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007423/0.3755, allocations: 477 kB / 0.5901 GB, free: 25.45 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002966/0.3758, allocations: 0.4886 MB / 0.5906 GB, free: 25.12 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006417/0.3765, allocations: 0.9778 MB / 0.5916 GB, free: 24.46 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001966/0.3784, allocations: 2.505 MB / 0.594 GB, free: 23.37 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3784, allocations: 1.25 kB / 0.594 GB, free: 23.37 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3785, allocations: 0 / 0.594 GB, free: 23.37 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.399e-05/0.3785, allocations: 3.938 kB / 0.594 GB, free: 23.36 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.01248/0.391, allocations: 3.728 MB / 0.5977 GB, free: 21.79 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.391, allocations: 10.28 kB / 0.5977 GB, free: 21.79 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002071/0.3913, allocations: 164.7 kB / 0.5978 GB, free: 21.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004645/0.3959, allocations: 0.7663 MB / 0.5986 GB, free: 21.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002105/0.398, allocations: 1.202 MB / 0.5997 GB, free: 20.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003946/0.3984, allocations: 465.2 kB / 0.6002 GB, free: 20.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002121/0.3986, allocations: 117.7 kB / 0.6003 GB, free: 20.26 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00295/0.4016, allocations: 1.489 MB / 0.6018 GB, free: 19.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.4016, allocations: 0 / 0.6018 GB, free: 19.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001243/0.4018, allocations: 46.09 kB / 0.6018 GB, free: 19.62 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.349e-05/0.4018, allocations: 24.62 kB / 0.6018 GB, free: 19.62 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003054/0.4049, allocations: 1.398 MB / 0.6032 GB, free: 19.14 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.01085/0.4157, allocations: 5.348 MB / 0.6084 GB, free: 16.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008882/0.4246, allocations: 3.002 MB / 0.6113 GB, free: 14.78 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002037/0.4267, allocations: 0.936 MB / 0.6123 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005119/0.4272, allocations: 0.7317 MB / 0.613 GB, free: 13.55 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002568/0.4298, allocations: 1.098 MB / 0.614 GB, free: 13.13 MB / 430.1 MB Notification: Performance of pre-optimization done (n=132): time 7.494e-06/0.4298, allocations: 0 / 0.614 GB, free: 13.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=132): time 0.04249/0.4723, allocations: 9.928 MB / 0.6237 GB, free: 8.117 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/0.4725, allocations: 116.1 kB / 0.6238 GB, free: 7.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003059/0.4755, allocations: 1.542 MB / 0.6253 GB, free: 6.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004423/0.476, allocations: 53.7 kB / 0.6254 GB, free: 6.371 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005898/0.4766, allocations: 0.6476 MB / 0.626 GB, free: 5.719 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007695/0.4774, allocations: 481.1 kB / 0.6265 GB, free: 5.242 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001399/0.4788, allocations: 383.4 kB / 0.6269 GB, free: 4.859 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.029e-05/0.4789, allocations: 301.1 kB / 0.6271 GB, free: 4.562 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00234/0.4812, allocations: 1.031 MB / 0.6282 GB, free: 3.527 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002428/0.4836, allocations: 1.258 MB / 0.6294 GB, free: 2.207 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004419/0.4881, allocations: 2.204 MB / 0.6315 GB, free: 15.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/0.4881, allocations: 0 / 0.6315 GB, free: 15.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=263) (initialization): time 0.01077/0.4989, allocations: 3.816 MB / 0.6353 GB, free: 12.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/0.4989, allocations: 10.03 kB / 0.6353 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.309e-05/0.499, allocations: 7.984 kB / 0.6353 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01046/0.5095, allocations: 2.69 MB / 0.6379 GB, free: 9.406 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002081/0.5116, allocations: 351.5 kB / 0.6382 GB, free: 9.062 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007338/0.5189, allocations: 2.695 MB / 0.6409 GB, free: 6.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003304/0.5223, allocations: 270 kB / 0.6411 GB, free: 6.074 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004525/0.5227, allocations: 71.97 kB / 0.6412 GB, free: 6.004 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,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.001278/0.524, allocations: 321.4 kB / 0.6415 GB, free: 5.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008726/0.5249, allocations: 169.8 kB / 0.6417 GB, free: 5.512 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01828/0.5432, allocations: 4.837 MB / 0.6464 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.473e-05/0.5433, allocations: 16 kB / 0.6464 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.99e-05/0.5433, allocations: 3.938 kB / 0.6464 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.814e-05/0.5434, allocations: 7.969 kB / 0.6464 GB, free: 0.6211 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.02357/0.567, allocations: 7.047 MB / 0.6533 GB, free: 9.441 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.639e-05/0.5671, allocations: 4 kB / 0.6533 GB, free: 9.438 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/0.5683, allocations: 155.8 kB / 0.6535 GB, free: 9.285 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008228/0.5765, allocations: 2.149 MB / 0.6555 GB, free: 7.129 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000332/0.5769, allocations: 24 kB / 0.6556 GB, free: 7.105 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02881/0.6057, allocations: 10.08 MB / 0.6654 GB, free: 12.88 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/0.6058, allocations: 4 kB / 0.6654 GB, free: 12.88 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02161/0.6274, allocations: 6.064 MB / 0.6713 GB, free: 6.781 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/0.6285, allocations: 294.5 kB / 0.6716 GB, free: 6.473 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009059/0.6294, allocations: 20 kB / 0.6716 GB, free: 6.453 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002526/0.6319, allocations: 139.8 kB / 0.6718 GB, free: 6.316 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001169/0.6331, allocations: 261.3 kB / 0.672 GB, free: 6.062 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002815/0.6334, allocations: 43.98 kB / 0.6721 GB, free: 6.02 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00242/0.6359, allocations: 1.028 MB / 0.6731 GB, free: 4.996 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.6359, allocations: 0 / 0.6731 GB, free: 4.996 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002901/0.6388, allocations: 0.562 MB / 0.6736 GB, free: 4.434 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.02199/0.6608, allocations: 6.688 MB / 0.6801 GB, free: 13.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01156/0.6724, allocations: 3.04 MB / 0.6831 GB, free: 10.66 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/0.6725, allocations: 0 / 0.6831 GB, free: 10.66 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007148/0.6796, allocations: 1.973 MB / 0.685 GB, free: 8.676 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002746/0.6824, allocations: 158.1 kB / 0.6852 GB, free: 8.523 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07253/0.755, allocations: 23.75 MB / 0.7084 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001503/0.7565, allocations: 1.266 MB / 0.7096 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001246/0.7578, allocations: 166.8 kB / 0.7098 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001497/0.7593, allocations: 0.6594 MB / 0.7104 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of SimCode: time 1.233e-06/0.7593, allocations: 0 / 0.7104 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08952/0.8488, allocations: 44.28 MB / 0.7537 GB, free: 1.414 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002293/0.8491, allocations: 219.2 kB / 0.7539 GB, free: 1.156 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.285/4.134, allocations: 0 / 0.7539 GB, free: 1.156 MB / 0.545 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe 2>&1)