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.00173/0.00173, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.378/1.378, allocations: 222.9 MB / 239 MB, free: 4.742 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.001461/0.001461, allocations: 192.5 kB / 289.3 MB, free: 2.484 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5293/0.5293, allocations: 91.89 MB / 431.3 MB, free: 9.422 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 79.81 kB / 0.5015 GB, free: 7.969 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.378, allocations: 71.26 MB / 0.5711 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.EXAC1): time 0.007548/0.3856, allocations: 9.3 MB / 0.5802 GB, free: 30.9 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00519/0.3908, allocations: 2.9 MB / 0.583 GB, free: 28.85 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001202/0.392, allocations: 18.06 kB / 0.583 GB, free: 28.85 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009166/0.3929, allocations: 261.4 kB / 0.5833 GB, free: 28.74 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002194/0.3952, allocations: 0.9068 MB / 0.5842 GB, free: 28.15 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001715/0.3969, allocations: 0.897 MB / 0.585 GB, free: 27.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002192/0.3991, allocations: 2.47 MB / 0.5874 GB, free: 26.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006691/0.3998, allocations: 0.5286 MB / 0.588 GB, free: 26.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.4009, allocations: 0.9843 MB / 0.5889 GB, free: 25.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001127/0.4021, allocations: 1.234 MB / 0.5901 GB, free: 25.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003107/0.4024, allocations: 214 kB / 0.5903 GB, free: 25.05 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008465/0.4033, allocations: 493.4 kB / 0.5908 GB, free: 24.96 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003659/0.4036, allocations: 0.5155 MB / 0.5913 GB, free: 24.62 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007252/0.4044, allocations: 1.015 MB / 0.5923 GB, free: 23.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002323/0.4067, allocations: 2.641 MB / 0.5949 GB, free: 22.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.4067, allocations: 4 kB / 0.5949 GB, free: 22.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.4067, allocations: 1.406 kB / 0.5949 GB, free: 22.79 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.306e-05/0.4068, allocations: 0 / 0.5949 GB, free: 22.79 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.01398/0.4207, allocations: 3.814 MB / 0.5986 GB, free: 21.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.472e-05/0.4208, allocations: 9.312 kB / 0.5986 GB, free: 21.18 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003293/0.4212, allocations: 176.7 kB / 0.5988 GB, free: 21.05 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005004/0.4262, allocations: 0.7709 MB / 0.5995 GB, free: 20.88 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002351/0.4285, allocations: 1.237 MB / 0.6007 GB, free: 20.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004838/0.429, allocations: 0.4949 MB / 0.6012 GB, free: 19.62 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002748/0.4293, allocations: 121.4 kB / 0.6013 GB, free: 19.58 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003648/0.433, allocations: 1.585 MB / 0.6029 GB, free: 18.95 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/0.433, allocations: 0.6562 kB / 0.6029 GB, free: 18.95 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001406/0.4332, allocations: 46.03 kB / 0.6029 GB, free: 18.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.242e-05/0.4332, allocations: 30.03 kB / 0.603 GB, free: 18.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003674/0.4369, allocations: 1.478 MB / 0.6044 GB, free: 18.4 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.01141/0.4483, allocations: 5.547 MB / 0.6098 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009199/0.4575, allocations: 3.131 MB / 0.6129 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002541/0.4601, allocations: 0.9895 MB / 0.6138 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000541/0.4607, allocations: 0.7385 MB / 0.6146 GB, free: 12.7 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002738/0.4634, allocations: 1.144 MB / 0.6157 GB, free: 12.27 MB / 430.1 MB Notification: Performance of pre-optimization done (n=136): time 3.426e-06/0.4635, allocations: 0 / 0.6157 GB, free: 12.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=136): time 0.04371/0.5072, allocations: 10.04 MB / 0.6255 GB, free: 6.316 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.5073, allocations: 116.1 kB / 0.6256 GB, free: 6.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002323/0.5096, allocations: 1.556 MB / 0.6271 GB, free: 4.617 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004441/0.51, allocations: 53.7 kB / 0.6272 GB, free: 4.559 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003715/0.5104, allocations: 0.675 MB / 0.6278 GB, free: 3.875 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004697/0.5109, allocations: 496.9 kB / 0.6283 GB, free: 3.383 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000641/0.5115, allocations: 375.5 kB / 0.6287 GB, free: 3.008 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.362e-05/0.5116, allocations: 309.1 kB / 0.629 GB, free: 2.703 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002073/0.5137, allocations: 1.066 MB / 0.63 GB, free: 1.633 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002141/0.5158, allocations: 1.301 MB / 0.6313 GB, free: 272 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004753/0.5206, allocations: 2.255 MB / 0.6335 GB, free: 13.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/0.5206, allocations: 4 kB / 0.6335 GB, free: 13.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=263) (initialization): time 0.01136/0.532, allocations: 4.148 MB / 0.6375 GB, free: 9.785 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.5321, allocations: 4 kB / 0.6375 GB, free: 9.781 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.5321, allocations: 4 kB / 0.6375 GB, free: 9.777 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01018/0.5423, allocations: 2.8 MB / 0.6403 GB, free: 6.973 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001901/0.5442, allocations: 339.5 kB / 0.6406 GB, free: 6.641 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007313/0.5515, allocations: 3.368 MB / 0.6439 GB, free: 3.227 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002953/0.5545, allocations: 282.1 kB / 0.6442 GB, free: 2.949 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002098/0.5548, allocations: 71.97 kB / 0.6442 GB, free: 2.879 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.0007874/0.5555, allocations: 321.5 kB / 0.6445 GB, free: 2.555 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003812/0.5559, allocations: 181.8 kB / 0.6447 GB, free: 2.375 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01707/0.573, allocations: 5.013 MB / 0.6496 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.207e-05/0.5731, allocations: 16 kB / 0.6496 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.5731, allocations: 0 / 0.6496 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.402e-05/0.5732, allocations: 3.984 kB / 0.6496 GB, free: 13.32 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.02054/0.5937, allocations: 7.203 MB / 0.6567 GB, free: 5.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.596e-05/0.5938, allocations: 0 / 0.6567 GB, free: 5.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/0.595, allocations: 171.8 kB / 0.6568 GB, free: 5.812 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007397/0.6024, allocations: 2.153 MB / 0.6589 GB, free: 3.652 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003374/0.6028, allocations: 31.98 kB / 0.6589 GB, free: 3.621 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02577/0.6286, allocations: 10.08 MB / 0.6688 GB, free: 9.391 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.6286, allocations: 7.984 kB / 0.6688 GB, free: 9.383 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02024/0.6489, allocations: 6.188 MB / 0.6748 GB, free: 3.172 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000974/0.6499, allocations: 286.5 kB / 0.6751 GB, free: 2.871 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007777/0.6507, allocations: 28 kB / 0.6751 GB, free: 2.844 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002293/0.653, allocations: 151.8 kB / 0.6753 GB, free: 2.695 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001086/0.6541, allocations: 281.3 kB / 0.6755 GB, free: 2.418 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002001/0.6543, allocations: 39.98 kB / 0.6756 GB, free: 2.379 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002038/0.6564, allocations: 1.04 MB / 0.6766 GB, free: 1.344 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6564, allocations: 0 / 0.6766 GB, free: 1.344 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002262/0.6586, allocations: 0.5775 MB / 0.6772 GB, free: 0.7656 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.0202/0.6788, allocations: 6.816 MB / 0.6838 GB, free: 9.906 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01038/0.6893, allocations: 3.121 MB / 0.6869 GB, free: 6.781 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/0.6893, allocations: 0 / 0.6869 GB, free: 6.781 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006465/0.6958, allocations: 2.021 MB / 0.6888 GB, free: 4.75 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002189/0.698, allocations: 165 kB / 0.689 GB, free: 4.59 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05633/0.7543, allocations: 23.56 MB / 0.712 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009654/0.7553, allocations: 1.29 MB / 0.7133 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000904/0.7563, allocations: 159.2 kB / 0.7134 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001084/0.7574, allocations: 0.6828 MB / 0.7141 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of SimCode: time 5.41e-07/0.7574, allocations: 3.938 kB / 0.7141 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07865/0.836, allocations: 46.09 MB / 0.7591 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001905/0.8363, allocations: 212.8 kB / 0.7593 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.472/4.308, allocations: 0 / 0.7593 GB, free: 11.5 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)