Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.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.EXAC1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXAC1,fileNamePrefix="OpenIPSL_dev_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.001107/0.001107, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 222.9 MB / 239.2 MB, free: 4.605 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.00125/0.00125, allocations: 200.4 kB / 289.6 MB, free: 2.332 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4827/0.4827, allocations: 91.9 MB / 431.6 MB, free: 9.285 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 75.89 kB / 0.502 GB, free: 7.637 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3037, allocations: 71.26 MB / 0.5716 GB, free: 36.36 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.EXAC1): time 0.006732/0.3104, allocations: 8.957 MB / 0.5803 GB, free: 31.07 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004853/0.3153, allocations: 2.883 MB / 0.5831 GB, free: 29.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/0.3164, allocations: 13.56 kB / 0.5832 GB, free: 29.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007738/0.3172, allocations: 346.3 kB / 0.5835 GB, free: 28.9 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002034/0.3192, allocations: 1.034 MB / 0.5845 GB, free: 28.22 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001742/0.321, allocations: 0.9838 MB / 0.5855 GB, free: 27.71 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002139/0.3231, allocations: 2.471 MB / 0.5879 GB, free: 26.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006297/0.3238, allocations: 0.5226 MB / 0.5884 GB, free: 26.22 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001075/0.3249, allocations: 0.9852 MB / 0.5893 GB, free: 25.72 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001171/0.326, allocations: 1.217 MB / 0.5905 GB, free: 25.13 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000344/0.3264, allocations: 214.7 kB / 0.5907 GB, free: 25.13 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008267/0.3272, allocations: 496.1 kB / 0.5912 GB, free: 25.04 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003322/0.3276, allocations: 0.5081 MB / 0.5917 GB, free: 24.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006753/0.3283, allocations: 1.022 MB / 0.5927 GB, free: 24 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002087/0.3304, allocations: 2.636 MB / 0.5953 GB, free: 22.87 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.3304, allocations: 1.281 kB / 0.5953 GB, free: 22.87 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3304, allocations: 3.938 kB / 0.5953 GB, free: 22.86 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.822e-05/0.3304, allocations: 0 / 0.5953 GB, free: 22.86 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.01329/0.3437, allocations: 3.814 MB / 0.599 GB, free: 21.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.3438, allocations: 12.56 kB / 0.599 GB, free: 21.25 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002047/0.344, allocations: 174.2 kB / 0.5992 GB, free: 21.13 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004729/0.3487, allocations: 0.7712 MB / 0.5999 GB, free: 20.95 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002107/0.3509, allocations: 1.236 MB / 0.6011 GB, free: 20.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004644/0.3513, allocations: 0.4898 MB / 0.6016 GB, free: 19.7 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002224/0.3516, allocations: 122.6 kB / 0.6017 GB, free: 19.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003177/0.3548, allocations: 1.581 MB / 0.6033 GB, free: 19.03 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/0.3548, allocations: 3.938 kB / 0.6033 GB, free: 19.03 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/0.3549, allocations: 49.36 kB / 0.6033 GB, free: 18.99 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.25e-05/0.355, allocations: 31.78 kB / 0.6034 GB, free: 18.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003381/0.3583, allocations: 1.477 MB / 0.6048 GB, free: 18.48 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.009695/0.3681, allocations: 5.543 MB / 0.6102 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008764/0.3768, allocations: 3.145 MB / 0.6133 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002224/0.3791, allocations: 0.9889 MB / 0.6143 GB, free: 13.63 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004364/0.3796, allocations: 0.7279 MB / 0.615 GB, free: 12.78 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002411/0.382, allocations: 1.143 MB / 0.6161 GB, free: 12.35 MB / 430.1 MB Notification: Performance of pre-optimization done (n=136): time 3.277e-06/0.382, allocations: 1.219 kB / 0.6161 GB, free: 12.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=136): time 0.04048/0.4225, allocations: 10.04 MB / 0.6259 GB, free: 6.145 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.4225, allocations: 120.2 kB / 0.626 GB, free: 6.004 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002266/0.4248, allocations: 1.56 MB / 0.6275 GB, free: 4.438 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003778/0.4252, allocations: 53.7 kB / 0.6276 GB, free: 4.379 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003679/0.4256, allocations: 0.675 MB / 0.6282 GB, free: 3.695 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004114/0.426, allocations: 496.9 kB / 0.6287 GB, free: 3.203 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000583/0.4266, allocations: 379.5 kB / 0.6291 GB, free: 2.824 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.521e-05/0.4266, allocations: 305.1 kB / 0.6294 GB, free: 2.523 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002112/0.4288, allocations: 1.07 MB / 0.6304 GB, free: 1.449 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002178/0.4309, allocations: 1.29 MB / 0.6317 GB, free: 96 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004872/0.4358, allocations: 2.263 MB / 0.6339 GB, free: 13.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.4359, allocations: 0 / 0.6339 GB, free: 13.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=263) (initialization): time 0.01125/0.4471, allocations: 4.14 MB / 0.6379 GB, free: 9.617 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.069e-05/0.4472, allocations: 8 kB / 0.6379 GB, free: 9.609 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-05/0.4472, allocations: 7.938 kB / 0.6379 GB, free: 9.602 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01054/0.4578, allocations: 2.805 MB / 0.6407 GB, free: 6.785 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002017/0.4598, allocations: 343.5 kB / 0.641 GB, free: 6.449 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007294/0.4671, allocations: 3.368 MB / 0.6443 GB, free: 3.031 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002578/0.4697, allocations: 278.1 kB / 0.6446 GB, free: 2.758 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001682/0.4699, allocations: 67.98 kB / 0.6446 GB, free: 2.691 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,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.0006488/0.4705, allocations: 329.5 kB / 0.6449 GB, free: 2.359 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003185/0.4709, allocations: 173.8 kB / 0.6451 GB, free: 2.188 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01665/0.4875, allocations: 5.013 MB / 0.65 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.919e-05/0.4876, allocations: 16 kB / 0.65 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.4876, allocations: 0 / 0.65 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.325e-05/0.4876, allocations: 7.969 kB / 0.65 GB, free: 13.13 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 postOpt removeSimpleEquations (simulation): time 0.02004/0.5077, allocations: 7.203 MB / 0.6571 GB, free: 5.793 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/0.5077, allocations: 0 / 0.6571 GB, free: 5.793 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/0.5089, allocations: 171.8 kB / 0.6572 GB, free: 5.625 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007553/0.5164, allocations: 2.149 MB / 0.6593 GB, free: 3.469 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002711/0.5167, allocations: 35.98 kB / 0.6594 GB, free: 3.434 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02533/0.5421, allocations: 10.08 MB / 0.6692 GB, free: 9.199 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.5421, allocations: 0 / 0.6692 GB, free: 9.199 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01958/0.5617, allocations: 6.196 MB / 0.6752 GB, free: 2.977 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006824/0.5624, allocations: 286.6 kB / 0.6755 GB, free: 2.676 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003386/0.5628, allocations: 27.98 kB / 0.6755 GB, free: 2.648 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001718/0.5645, allocations: 151.8 kB / 0.6757 GB, free: 2.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008219/0.5653, allocations: 281.4 kB / 0.676 GB, free: 2.223 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/0.5654, allocations: 35.98 kB / 0.676 GB, free: 2.188 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001533/0.567, allocations: 1.04 MB / 0.677 GB, free: 1.152 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.567, allocations: 3.938 kB / 0.677 GB, free: 1.148 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001459/0.5684, allocations: 0.5814 MB / 0.6776 GB, free: 0.5664 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,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.01919/0.5876, allocations: 6.808 MB / 0.6842 GB, free: 9.715 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01036/0.598, allocations: 3.125 MB / 0.6873 GB, free: 6.586 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.5981, allocations: 0 / 0.6873 GB, free: 6.586 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006466/0.6045, allocations: 2.028 MB / 0.6893 GB, free: 4.547 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/0.606, allocations: 160.5 kB / 0.6894 GB, free: 4.391 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05242/0.6584, allocations: 22.99 MB / 0.7119 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008922/0.6594, allocations: 1.29 MB / 0.7131 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007557/0.6601, allocations: 167.2 kB / 0.7133 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000965/0.6611, allocations: 0.6867 MB / 0.714 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of SimCode: time 5.72e-07/0.6611, allocations: 0 / 0.714 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08242/0.7435, allocations: 47.69 MB / 0.7605 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.47, allocations: 1.875 kB / 0.7605 GB, free: 10.48 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe 2>&1)