Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.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.EXAC1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXAC1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1",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.006008/0.006007, allocations: 100.6 kB / 15.73 MB, free: 6.469 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.3/1.3, allocations: 222.9 MB / 239.4 MB, free: 4.559 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.001405/0.001405, allocations: 200.3 kB / 289.7 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4304/0.4304, allocations: 78.53 MB / 418.4 MB, free: 3.152 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 79.88 kB / 0.5532 GB, free: 1.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3106, allocations: 68.17 MB / 0.6197 GB, free: 9.348 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.EXAC1): time 0.00679/0.3174, allocations: 8.95 MB / 0.6285 GB, free: 1.184 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005405/0.3229, allocations: 2.868 MB / 0.6313 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/0.3243, allocations: 16 kB / 0.6313 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0012/0.3255, allocations: 353 kB / 0.6316 GB, free: 13.94 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003741/0.3293, allocations: 1.237 MB / 0.6328 GB, free: 12.7 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002049/0.3314, allocations: 0.8833 MB / 0.6337 GB, free: 11.83 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003753/0.3351, allocations: 2.638 MB / 0.6363 GB, free: 9.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008472/0.336, allocations: 0.522 MB / 0.6368 GB, free: 8.621 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001522/0.3375, allocations: 1.008 MB / 0.6378 GB, free: 7.605 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001467/0.339, allocations: 1.233 MB / 0.639 GB, free: 6.367 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003464/0.3394, allocations: 216 kB / 0.6392 GB, free: 6.156 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009148/0.3403, allocations: 495.6 kB / 0.6396 GB, free: 5.672 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004575/0.3408, allocations: 0.5137 MB / 0.6401 GB, free: 5.156 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001153/0.3419, allocations: 1.026 MB / 0.6412 GB, free: 4.125 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003025/0.345, allocations: 2.686 MB / 0.6438 GB, free: 1.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.345, allocations: 0 / 0.6438 GB, free: 1.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.345, allocations: 0 / 0.6438 GB, free: 1.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.238e-05/0.345, allocations: 0 / 0.6438 GB, free: 1.43 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.0151/0.3602, allocations: 4.111 MB / 0.6478 GB, free: 13.26 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.3602, allocations: 16.03 kB / 0.6478 GB, free: 13.24 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002306/0.3605, allocations: 172.9 kB / 0.648 GB, free: 13.06 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004663/0.3651, allocations: 0.7703 MB / 0.6487 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002331/0.3675, allocations: 1.243 MB / 0.6499 GB, free: 11 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005454/0.3681, allocations: 0.4963 MB / 0.6504 GB, free: 10.42 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000262/0.3683, allocations: 124 kB / 0.6505 GB, free: 10.3 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00346/0.3718, allocations: 1.58 MB / 0.6521 GB, free: 8.668 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.3719, allocations: 0 / 0.6521 GB, free: 8.668 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/0.372, allocations: 51.98 kB / 0.6521 GB, free: 8.617 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.292e-05/0.372, allocations: 24 kB / 0.6522 GB, free: 8.594 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003463/0.3755, allocations: 1.48 MB / 0.6536 GB, free: 7.105 MB / 462.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.01051/0.386, allocations: 5.509 MB / 0.659 GB, free: 1.375 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009502/0.3955, allocations: 3.142 MB / 0.662 GB, free: 14.09 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002557/0.3981, allocations: 0.9825 MB / 0.663 GB, free: 13.1 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007115/0.3989, allocations: 0.7297 MB / 0.6637 GB, free: 12.21 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002873/0.4018, allocations: 1.145 MB / 0.6648 GB, free: 11.04 MB / 478.1 MB Notification: Performance of pre-optimization done (n=136): time 4.659e-06/0.4018, allocations: 4 kB / 0.6648 GB, free: 11.04 MB / 478.1 MB Notification: Performance of matching and sorting (n=136): time 0.04352/0.4453, allocations: 10.04 MB / 0.6746 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.29e-05/0.4455, allocations: 116.1 kB / 0.6748 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003106/0.4486, allocations: 1.56 MB / 0.6763 GB, free: 15.24 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000414/0.449, allocations: 53.7 kB / 0.6763 GB, free: 15.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006522/0.4497, allocations: 0.675 MB / 0.677 GB, free: 14.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008126/0.4505, allocations: 492.9 kB / 0.6775 GB, free: 14.01 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001188/0.4517, allocations: 379.5 kB / 0.6778 GB, free: 13.63 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.4518, allocations: 305.1 kB / 0.6781 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002693/0.4545, allocations: 1.074 MB / 0.6792 GB, free: 12.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002939/0.4575, allocations: 1.29 MB / 0.6804 GB, free: 10.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005406/0.4629, allocations: 2.259 MB / 0.6826 GB, free: 8.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.348e-05/0.4629, allocations: 0 / 0.6826 GB, free: 8.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=263) (initialization): time 0.01213/0.4751, allocations: 4.144 MB / 0.6867 GB, free: 4.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.554e-05/0.4752, allocations: 8 kB / 0.6867 GB, free: 4.422 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.4752, allocations: 4 kB / 0.6867 GB, free: 4.418 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0103/0.4855, allocations: 2.808 MB / 0.6894 GB, free: 1.598 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001776/0.4873, allocations: 343.5 kB / 0.6898 GB, free: 1.262 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007804/0.4952, allocations: 3.365 MB / 0.693 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002841/0.498, allocations: 282.1 kB / 0.6933 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000462/0.4985, allocations: 71.92 kB / 0.6934 GB, free: 13.5 MB / 0.4981 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 ($whenCondition2,$whenCondition1,eXAC1.rotatingExciterWithDemagnetizationLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(30,26), (1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.001243/0.4998, allocations: 328.4 kB / 0.6937 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005892/0.5004, allocations: 177.8 kB / 0.6939 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0175/0.5179, allocations: 5.005 MB / 0.6987 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-05/0.518, allocations: 20 kB / 0.6988 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.518, allocations: 0 / 0.6988 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.739e-05/0.518, allocations: 7.969 kB / 0.6988 GB, free: 7.945 MB / 0.4981 GB 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.02131/0.5393, allocations: 7.198 MB / 0.7058 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/0.5394, allocations: 0 / 0.7058 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/0.5405, allocations: 167.8 kB / 0.706 GB, free: 456 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007828/0.5484, allocations: 2.146 MB / 0.7081 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003084/0.5487, allocations: 32 kB / 0.7081 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02708/0.5758, allocations: 10.05 MB / 0.7179 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.5759, allocations: 4 kB / 0.7179 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02033/0.5962, allocations: 6.19 MB / 0.724 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006402/0.5969, allocations: 286.5 kB / 0.7242 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004883/0.5974, allocations: 32 kB / 0.7243 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001943/0.5993, allocations: 155.8 kB / 0.7244 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001006/0.6004, allocations: 273.4 kB / 0.7247 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002017/0.6006, allocations: 39.98 kB / 0.7247 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001971/0.6026, allocations: 1.044 MB / 0.7257 GB, free: 12 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6026, allocations: 0 / 0.7257 GB, free: 12 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001871/0.6044, allocations: 0.5737 MB / 0.7263 GB, free: 11.43 MB / 0.5294 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,eXAC1.imLimitedSimpleLag.state,eXAC1.imDerivativeLag.x,eXAC1.leadLag.TF.x_scaled[1],eXAC1.rotatingExciterWithDemagnetizationLimited.sISO.y,eXAC1.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 (93): * Single equations (assignments): 92 * 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.02029/0.6247, allocations: 6.816 MB / 0.7329 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01027/0.635, allocations: 3.063 MB / 0.7359 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/0.6351, allocations: 8.125 kB / 0.7359 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006906/0.642, allocations: 2.02 MB / 0.7379 GB, free: 15.46 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00172/0.6438, allocations: 163.9 kB / 0.7381 GB, free: 15.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05397/0.6978, allocations: 21.37 MB / 0.7589 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001084/0.6989, allocations: 1.286 MB / 0.7602 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009385/0.6998, allocations: 167.2 kB / 0.7604 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001182/0.701, allocations: 0.6828 MB / 0.761 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of SimCode: time 9.21e-07/0.7011, allocations: 0 / 0.761 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3496/1.051, allocations: 50.12 MB / 0.81 GB, free: 108.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.41/15.46, allocations: 12.55 kB / 0.81 GB, free: 108.8 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe 2>&1)