Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.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.IEEEX1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1",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.00111/0.00111, allocations: 108.6 kB / 15.73 MB, free: 72 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.315/1.315, allocations: 222.9 MB / 239.4 MB, free: 4.555 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.001252/0.001252, allocations: 187.8 kB / 289.7 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5145/0.5145, allocations: 91.91 MB / 431.8 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 85.44 kB / 0.5723 GB, free: 33.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1256, allocations: 71.27 MB / 0.6419 GB, free: 4.094 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1): time 0.01418/0.1398, allocations: 8.743 MB / 0.6504 GB, free: 11.3 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007667/0.1475, allocations: 2.778 MB / 0.6531 GB, free: 8.516 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001303/0.1489, allocations: 12 kB / 0.6531 GB, free: 8.504 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001139/0.1501, allocations: 341.1 kB / 0.6535 GB, free: 8.168 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003181/0.1533, allocations: 1.099 MB / 0.6545 GB, free: 7.066 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002182/0.1555, allocations: 0.8919 MB / 0.6554 GB, free: 6.18 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00327/0.1587, allocations: 2.369 MB / 0.6577 GB, free: 3.805 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008519/0.1596, allocations: 478 kB / 0.6582 GB, free: 3.309 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001381/0.161, allocations: 0.9376 MB / 0.6591 GB, free: 2.367 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001504/0.1625, allocations: 1.186 MB / 0.6602 GB, free: 1.176 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003915/0.1629, allocations: 203.9 kB / 0.6604 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009356/0.1639, allocations: 479.6 kB / 0.6609 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004276/0.1643, allocations: 490.2 kB / 0.6614 GB, free: 28 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001032/0.1654, allocations: 0.9751 MB / 0.6623 GB, free: 15.05 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00316/0.1685, allocations: 2.552 MB / 0.6648 GB, free: 12.48 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1686, allocations: 3.938 kB / 0.6648 GB, free: 12.48 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1686, allocations: 0 / 0.6648 GB, free: 12.48 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.572e-05/0.1686, allocations: 0 / 0.6648 GB, free: 12.48 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: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.01378/0.1824, allocations: 3.795 MB / 0.6685 GB, free: 8.621 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.1825, allocations: 8.031 kB / 0.6685 GB, free: 8.613 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002595/0.1828, allocations: 164.5 kB / 0.6687 GB, free: 8.445 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004895/0.1877, allocations: 0.7715 MB / 0.6694 GB, free: 7.672 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002498/0.1902, allocations: 1.209 MB / 0.6706 GB, free: 6.414 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004931/0.1907, allocations: 466.3 kB / 0.6711 GB, free: 5.883 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002659/0.191, allocations: 120 kB / 0.6712 GB, free: 5.766 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003155/0.1941, allocations: 1.488 MB / 0.6726 GB, free: 4.227 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.1942, allocations: 0 / 0.6726 GB, free: 4.227 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001327/0.1943, allocations: 48 kB / 0.6727 GB, free: 4.18 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.562e-05/0.1943, allocations: 24 kB / 0.6727 GB, free: 4.156 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00324/0.1976, allocations: 1.398 MB / 0.6741 GB, free: 2.75 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.009688/0.2073, allocations: 5.336 MB / 0.6793 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00893/0.2163, allocations: 3.004 MB / 0.6822 GB, free: 10.03 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002011/0.2183, allocations: 0.9395 MB / 0.6831 GB, free: 9.086 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006278/0.2189, allocations: 0.7258 MB / 0.6838 GB, free: 8.191 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002347/0.2213, allocations: 1.098 MB / 0.6849 GB, free: 7.07 MB / 494.1 MB Notification: Performance of pre-optimization done (n=132): time 4.438e-06/0.2213, allocations: 0 / 0.6849 GB, free: 7.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=132): time 0.04236/0.2637, allocations: 9.936 MB / 0.6946 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.239e-05/0.2638, allocations: 116.1 kB / 0.6947 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002434/0.2662, allocations: 1.535 MB / 0.6962 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003432/0.2666, allocations: 57.7 kB / 0.6963 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005411/0.2671, allocations: 0.6562 MB / 0.6969 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006002/0.2678, allocations: 0.4919 MB / 0.6974 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006978/0.2685, allocations: 379.6 kB / 0.6978 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.524e-05/0.2686, allocations: 305.1 kB / 0.698 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002408/0.271, allocations: 1.027 MB / 0.699 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002595/0.2736, allocations: 1.266 MB / 0.7003 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004829/0.2784, allocations: 2.2 MB / 0.7024 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.788e-06/0.2785, allocations: 4 kB / 0.7024 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of matching and sorting (n=263) (initialization): time 0.01024/0.2887, allocations: 3.829 MB / 0.7062 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.2888, allocations: 8 kB / 0.7062 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.175e-05/0.2888, allocations: 4 kB / 0.7062 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0103/0.2991, allocations: 2.683 MB / 0.7088 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001833/0.301, allocations: 347.5 kB / 0.7091 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006895/0.3079, allocations: 2.691 MB / 0.7118 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002617/0.3105, allocations: 270.6 kB / 0.712 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002121/0.3108, allocations: 75.97 kB / 0.7121 GB, free: 10.95 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,iEEEX1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (206): * Single equations (assignments): 204 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0006942/0.3115, allocations: 325.4 kB / 0.7124 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003486/0.3118, allocations: 182.8 kB / 0.7126 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01714/0.329, allocations: 4.833 MB / 0.7173 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.347e-05/0.3291, allocations: 16 kB / 0.7173 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.3291, allocations: 3.938 kB / 0.7173 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-05/0.3291, allocations: 7.969 kB / 0.7173 GB, free: 5.562 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.0207/0.3498, allocations: 7.045 MB / 0.7242 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.681e-05/0.3499, allocations: 4 kB / 0.7242 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/0.351, allocations: 151.8 kB / 0.7244 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008092/0.3591, allocations: 2.146 MB / 0.7265 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003164/0.3594, allocations: 28 kB / 0.7265 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02765/0.3871, allocations: 10.07 MB / 0.7363 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/0.3871, allocations: 4 kB / 0.7363 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02026/0.4074, allocations: 6.078 MB / 0.7423 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006593/0.4081, allocations: 299.5 kB / 0.7425 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003773/0.4085, allocations: 24 kB / 0.7426 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001747/0.4102, allocations: 135.8 kB / 0.7427 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008243/0.4111, allocations: 265.3 kB / 0.7429 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/0.4112, allocations: 43.92 kB / 0.743 GB, free: 10.94 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001722/0.4129, allocations: 1.028 MB / 0.744 GB, free: 9.918 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4129, allocations: 0 / 0.744 GB, free: 9.918 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00168/0.4146, allocations: 0.5698 MB / 0.7446 GB, free: 9.348 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,iEEEX1.LL.TF.x_scaled[1],iEEEX1.imDerivativeLag.x,iEEEX1.SL.state,iEEEX1.rotatingExciter.sISO.y,iEEEX1.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 (89): * Single equations (assignments): 88 * 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.02041/0.435, allocations: 6.692 MB / 0.7511 GB, free: 2.613 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009999/0.4451, allocations: 3.002 MB / 0.754 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/0.4451, allocations: 4.25 kB / 0.754 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006887/0.452, allocations: 1.961 MB / 0.7559 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/0.4535, allocations: 159.2 kB / 0.7561 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2998/0.7534, allocations: 21.78 MB / 0.7774 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008477/0.7543, allocations: 1.273 MB / 0.7786 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007193/0.755, allocations: 154.8 kB / 0.7788 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008275/0.7558, allocations: 0.6592 MB / 0.7794 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.082e-06/0.7558, allocations: 0 / 0.7794 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06818/0.824, allocations: 46.23 MB / 0.8245 GB, free: 78.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.49/15.31, allocations: 2.031 kB / 0.8245 GB, free: 78.84 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1_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_IEEEX1.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe 2>&1)