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.008023/0.008023, allocations: 100 kB / 15.73 MB, free: 6.023 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.502/1.502, allocations: 222.9 MB / 239.4 MB, free: 4.551 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.001438/0.001438, allocations: 191.7 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5684/0.5684, allocations: 91.91 MB / 431.8 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002313/0.002313, allocations: 86.11 kB / 0.5723 GB, free: 33.53 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1087, allocations: 71.28 MB / 0.6419 GB, free: 4.082 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.EXAC1): time 0.01028/0.119, allocations: 8.969 MB / 0.6506 GB, free: 11.07 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005875/0.1249, allocations: 2.868 MB / 0.6534 GB, free: 8.195 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009329/0.1259, allocations: 16 kB / 0.6535 GB, free: 8.18 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000936/0.1268, allocations: 349 kB / 0.6538 GB, free: 7.836 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002549/0.1294, allocations: 1.037 MB / 0.6548 GB, free: 6.793 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002112/0.1315, allocations: 0.9689 MB / 0.6558 GB, free: 5.832 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002966/0.1345, allocations: 2.498 MB / 0.6582 GB, free: 3.328 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007843/0.1353, allocations: 0.5259 MB / 0.6587 GB, free: 2.773 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001269/0.1366, allocations: 0.9805 MB / 0.6597 GB, free: 1.789 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001525/0.1381, allocations: 1.221 MB / 0.6609 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003944/0.1385, allocations: 212 kB / 0.6611 GB, free: 364 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009431/0.1395, allocations: 499.7 kB / 0.6615 GB, free: 15.87 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005097/0.14, allocations: 0.5137 MB / 0.662 GB, free: 15.35 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001116/0.1411, allocations: 1.018 MB / 0.663 GB, free: 14.33 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003382/0.1445, allocations: 2.685 MB / 0.6657 GB, free: 11.63 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1445, allocations: 0 / 0.6657 GB, free: 11.63 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1446, allocations: 0 / 0.6657 GB, free: 11.63 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.727e-05/0.1446, allocations: 4 kB / 0.6657 GB, free: 11.63 MB / 478.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.01358/0.1582, allocations: 3.877 MB / 0.6694 GB, free: 7.688 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.1582, allocations: 8.031 kB / 0.6694 GB, free: 7.68 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002585/0.1585, allocations: 172.9 kB / 0.6696 GB, free: 7.5 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004689/0.1632, allocations: 0.787 MB / 0.6704 GB, free: 6.711 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002407/0.1656, allocations: 1.256 MB / 0.6716 GB, free: 5.406 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005871/0.1662, allocations: 0.4885 MB / 0.6721 GB, free: 4.836 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002835/0.1665, allocations: 127.9 kB / 0.6722 GB, free: 4.711 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003549/0.1701, allocations: 1.587 MB / 0.6738 GB, free: 3.074 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.1701, allocations: 0 / 0.6738 GB, free: 3.074 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00014/0.1703, allocations: 44 kB / 0.6738 GB, free: 3.031 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.589e-05/0.1703, allocations: 32 kB / 0.6738 GB, free: 3 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003558/0.1739, allocations: 1.476 MB / 0.6753 GB, free: 1.516 MB / 478.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.01094/0.1848, allocations: 5.506 MB / 0.6806 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009682/0.1945, allocations: 3.134 MB / 0.6837 GB, free: 8.512 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002363/0.1969, allocations: 0.9903 MB / 0.6847 GB, free: 7.512 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007444/0.1977, allocations: 0.7336 MB / 0.6854 GB, free: 6.613 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002651/0.2004, allocations: 1.141 MB / 0.6865 GB, free: 5.449 MB / 494.1 MB Notification: Performance of pre-optimization done (n=136): time 5.3e-06/0.2004, allocations: 4 kB / 0.6865 GB, free: 5.445 MB / 494.1 MB Notification: Performance of matching and sorting (n=136): time 0.04354/0.2439, allocations: 10.05 MB / 0.6963 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.106e-05/0.244, allocations: 124.1 kB / 0.6964 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002668/0.2467, allocations: 1.556 MB / 0.698 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003501/0.2471, allocations: 49.7 kB / 0.698 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006553/0.2477, allocations: 0.6837 MB / 0.6987 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006489/0.2484, allocations: 0.5152 MB / 0.6992 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007395/0.2492, allocations: 383.6 kB / 0.6995 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.2493, allocations: 305.1 kB / 0.6998 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002468/0.2518, allocations: 1.062 MB / 0.7009 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002736/0.2545, allocations: 1.301 MB / 0.7021 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004951/0.2595, allocations: 2.259 MB / 0.7044 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.2595, allocations: 0 / 0.7044 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of matching and sorting (n=263) (initialization): time 0.01124/0.2708, allocations: 4.153 MB / 0.7084 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.2708, allocations: 8 kB / 0.7084 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.2708, allocations: 4 kB / 0.7084 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01035/0.2812, allocations: 2.797 MB / 0.7112 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001671/0.2829, allocations: 343.5 kB / 0.7115 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007391/0.2903, allocations: 3.369 MB / 0.7148 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002465/0.2928, allocations: 282.6 kB / 0.715 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002561/0.293, allocations: 71.98 kB / 0.7151 GB, free: 7.855 MB / 0.5137 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.0008152/0.2939, allocations: 321.5 kB / 0.7154 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004523/0.2943, allocations: 186.8 kB / 0.7156 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01751/0.3118, allocations: 5.009 MB / 0.7205 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.772e-05/0.3119, allocations: 16 kB / 0.7205 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.3119, allocations: 0 / 0.7205 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-05/0.3119, allocations: 7.969 kB / 0.7205 GB, free: 2.289 MB / 0.5137 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.02085/0.3328, allocations: 7.21 MB / 0.7275 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/0.3328, allocations: 0 / 0.7275 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/0.334, allocations: 179.7 kB / 0.7277 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007838/0.3418, allocations: 2.138 MB / 0.7298 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002352/0.3421, allocations: 32 kB / 0.7298 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02745/0.3695, allocations: 10.07 MB / 0.7397 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3696, allocations: 0 / 0.7397 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02029/0.3899, allocations: 6.198 MB / 0.7457 GB, free: 8.145 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000663/0.3906, allocations: 299.5 kB / 0.746 GB, free: 7.832 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004069/0.391, allocations: 28 kB / 0.746 GB, free: 7.805 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001891/0.3929, allocations: 155.8 kB / 0.7462 GB, free: 7.652 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009381/0.3938, allocations: 273.4 kB / 0.7464 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001428/0.394, allocations: 35.98 kB / 0.7465 GB, free: 7.352 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002024/0.396, allocations: 1.044 MB / 0.7475 GB, free: 6.312 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.11e-07/0.3961, allocations: 0 / 0.7475 GB, free: 6.312 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00197/0.398, allocations: 0.5853 MB / 0.7481 GB, free: 5.727 MB / 0.545 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.02056/0.4186, allocations: 6.819 MB / 0.7547 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01005/0.4287, allocations: 3.09 MB / 0.7577 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.4287, allocations: 0 / 0.7577 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006737/0.4355, allocations: 2.024 MB / 0.7597 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/0.4371, allocations: 156.9 kB / 0.7599 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3161/0.7532, allocations: 21.44 MB / 0.7808 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006297/0.7539, allocations: 1.29 MB / 0.7821 GB, free: 114.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006522/0.7546, allocations: 162.1 kB / 0.7822 GB, free: 114.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007684/0.7553, allocations: 0.6828 MB / 0.7829 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.7554, allocations: 2.875 kB / 0.7829 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0737/0.8291, allocations: 48.3 MB / 0.8301 GB, free: 73.45 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.03/16.86, allocations: 7.938 kB / 0.8301 GB, free: 73.44 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 & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe 2>&1)