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.004759/0.004759, allocations: 97.48 kB / 15.73 MB, free: 5.988 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.454/1.454, 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.001419/0.001419, allocations: 192.4 kB / 289.7 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4663/0.4663, allocations: 78.54 MB / 418.4 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003197/0.003198, allocations: 84.09 kB / 0.5532 GB, free: 1.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2763, allocations: 68.17 MB / 0.6197 GB, free: 9.379 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.EXAC1): time 0.006991/0.2833, allocations: 8.955 MB / 0.6285 GB, free: 1.203 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005543/0.2889, allocations: 2.86 MB / 0.6313 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001216/0.2901, allocations: 16 kB / 0.6313 GB, free: 14.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001146/0.2913, allocations: 353 kB / 0.6316 GB, free: 13.97 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00373/0.2951, allocations: 1.244 MB / 0.6328 GB, free: 12.73 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002216/0.2973, allocations: 0.8867 MB / 0.6337 GB, free: 11.85 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003765/0.3011, allocations: 2.638 MB / 0.6363 GB, free: 9.203 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009585/0.302, allocations: 0.522 MB / 0.6368 GB, free: 8.645 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00158/0.3036, allocations: 1 MB / 0.6378 GB, free: 7.637 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0019/0.3055, allocations: 1.241 MB / 0.639 GB, free: 6.391 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009383/0.3065, allocations: 216 kB / 0.6392 GB, free: 6.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001719/0.3082, allocations: 491.6 kB / 0.6397 GB, free: 5.699 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006139/0.3089, allocations: 0.5176 MB / 0.6402 GB, free: 5.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001193/0.3101, allocations: 1.026 MB / 0.6412 GB, free: 4.148 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003461/0.3135, allocations: 2.69 MB / 0.6438 GB, free: 1.453 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3136, allocations: 0 / 0.6438 GB, free: 1.453 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3136, allocations: 0 / 0.6438 GB, free: 1.453 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.301e-05/0.3136, allocations: 0 / 0.6438 GB, free: 1.453 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.01648/0.3301, allocations: 4.173 MB / 0.6479 GB, free: 13.21 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.3302, allocations: 12.03 kB / 0.6479 GB, free: 13.2 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004417/0.3306, allocations: 172.9 kB / 0.648 GB, free: 13.02 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005264/0.3359, allocations: 0.7909 MB / 0.6488 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002998/0.3389, allocations: 1.26 MB / 0.65 GB, free: 10.92 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000672/0.3396, allocations: 0.4885 MB / 0.6505 GB, free: 10.35 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004563/0.3401, allocations: 128 kB / 0.6506 GB, free: 10.23 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004186/0.3443, allocations: 1.58 MB / 0.6522 GB, free: 8.598 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.987e-05/0.3443, allocations: 0 / 0.6522 GB, free: 8.598 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000172/0.3445, allocations: 48 kB / 0.6522 GB, free: 8.551 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.492e-05/0.3446, allocations: 24 kB / 0.6523 GB, free: 8.527 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004027/0.3486, allocations: 1.488 MB / 0.6537 GB, free: 7.031 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.01171/0.3603, allocations: 5.506 MB / 0.6591 GB, free: 1.305 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01028/0.3706, allocations: 3.134 MB / 0.6621 GB, free: 14.03 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002618/0.3733, allocations: 0.9864 MB / 0.6631 GB, free: 13.03 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00077/0.3741, allocations: 0.7296 MB / 0.6638 GB, free: 12.14 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002959/0.377, allocations: 1.147 MB / 0.6649 GB, free: 10.97 MB / 478.1 MB Notification: Performance of pre-optimization done (n=136): time 3.868e-06/0.3771, allocations: 0 / 0.6649 GB, free: 10.97 MB / 478.1 MB Notification: Performance of matching and sorting (n=136): time 0.04711/0.4242, allocations: 10.05 MB / 0.6748 GB, free: 0.875 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.931e-05/0.4243, allocations: 120.2 kB / 0.6749 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003273/0.4276, allocations: 1.556 MB / 0.6764 GB, free: 15.17 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003935/0.428, allocations: 53.7 kB / 0.6764 GB, free: 15.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007324/0.4287, allocations: 0.6837 MB / 0.6771 GB, free: 14.42 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008218/0.4296, allocations: 0.5113 MB / 0.6776 GB, free: 13.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001156/0.4307, allocations: 371.6 kB / 0.678 GB, free: 13.53 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.4309, allocations: 313 kB / 0.6783 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00291/0.4338, allocations: 1.07 MB / 0.6793 GB, free: 12.15 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003157/0.437, allocations: 1.29 MB / 0.6806 GB, free: 10.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0058/0.4428, allocations: 2.259 MB / 0.6828 GB, free: 8.484 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-05/0.4429, allocations: 0 / 0.6828 GB, free: 8.484 MB / 494.1 MB Notification: Performance of matching and sorting (n=263) (initialization): time 0.0135/0.4564, allocations: 4.153 MB / 0.6868 GB, free: 4.316 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/0.4565, allocations: 8 kB / 0.6868 GB, free: 4.309 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/0.4565, allocations: 4 kB / 0.6868 GB, free: 4.305 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01151/0.468, allocations: 2.804 MB / 0.6896 GB, free: 1.488 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00192/0.47, allocations: 351.5 kB / 0.6899 GB, free: 1.145 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008464/0.4785, allocations: 3.362 MB / 0.6932 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002798/0.4813, allocations: 286.5 kB / 0.6935 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003545/0.4817, allocations: 67.98 kB / 0.6935 GB, free: 13.38 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.0009715/0.4827, allocations: 333.5 kB / 0.6939 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005479/0.4832, allocations: 182.8 kB / 0.694 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01913/0.5024, allocations: 5.005 MB / 0.6989 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.473e-05/0.5024, allocations: 16 kB / 0.6989 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.5024, allocations: 0 / 0.6989 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-05/0.5025, allocations: 7.969 kB / 0.6989 GB, free: 7.82 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.02275/0.5252, allocations: 7.206 MB / 0.706 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/0.5253, allocations: 0 / 0.706 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001186/0.5265, allocations: 171.8 kB / 0.7061 GB, free: 320 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008468/0.535, allocations: 2.15 MB / 0.7082 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002709/0.5353, allocations: 31.98 kB / 0.7083 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02926/0.5645, allocations: 10.07 MB / 0.7181 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.5646, allocations: 4 kB / 0.7181 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02185/0.5864, allocations: 6.188 MB / 0.7241 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006704/0.5871, allocations: 303.5 kB / 0.7244 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000485/0.5876, allocations: 27.98 kB / 0.7245 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001989/0.5896, allocations: 147.8 kB / 0.7246 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009907/0.5906, allocations: 281.4 kB / 0.7249 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001696/0.5908, allocations: 39.98 kB / 0.7249 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001988/0.5928, allocations: 1.04 MB / 0.7259 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5928, allocations: 0 / 0.7259 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00179/0.5946, allocations: 0.5737 MB / 0.7265 GB, free: 11.27 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.02205/0.6167, allocations: 6.828 MB / 0.7332 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01085/0.6276, allocations: 3.074 MB / 0.7362 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/0.6276, allocations: 0 / 0.7362 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007484/0.6351, allocations: 2.048 MB / 0.7382 GB, free: 15.27 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001652/0.6368, allocations: 159.7 kB / 0.7383 GB, free: 15.11 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05808/0.6949, allocations: 21.44 MB / 0.7592 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001184/0.6961, allocations: 1.29 MB / 0.7605 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008614/0.697, allocations: 163.2 kB / 0.7607 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001194/0.6982, allocations: 0.6828 MB / 0.7613 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of SimCode: time 8.91e-07/0.6982, allocations: 0 / 0.7613 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3233/1.022, allocations: 48.27 MB / 0.8085 GB, free: 110.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.23/16.25, allocations: 5.766 kB / 0.8085 GB, free: 110.4 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 & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe 2>&1)