Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07779/0.07779, allocations: 12.59 MB / 28.22 MB, free: 0.7656 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001089, allocations: 111.4 kB / 31.84 MB, free: 3.895 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.291/1.291, allocations: 205.1 MB / 240.4 MB, free: 12.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 187.4 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4441/0.4441, allocations: 78.51 MB / 419.3 MB, free: 11.24 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002686/0.002687, allocations: 139 kB / 0.5554 GB, free: 28.77 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.11, allocations: 68.13 MB / 0.6219 GB, free: 15.9 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1): time 0.008726/0.1188, allocations: 8.782 MB / 0.6305 GB, free: 7.078 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005006/0.1238, allocations: 2.744 MB / 0.6332 GB, free: 4.324 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000781/0.1246, allocations: 23.94 kB / 0.6332 GB, free: 4.301 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009385/0.1256, allocations: 337.1 kB / 0.6335 GB, free: 3.969 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003125/0.1288, allocations: 1.294 MB / 0.6348 GB, free: 2.676 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00173/0.1305, allocations: 0.7872 MB / 0.6356 GB, free: 1.895 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002732/0.1332, allocations: 2.521 MB / 0.638 GB, free: 15.37 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006682/0.1339, allocations: 490 kB / 0.6385 GB, free: 14.86 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.1351, allocations: 0.9494 MB / 0.6394 GB, free: 13.9 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00127/0.1364, allocations: 1.21 MB / 0.6406 GB, free: 12.69 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002755/0.1366, allocations: 200 kB / 0.6408 GB, free: 12.49 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007704/0.1374, allocations: 471.7 kB / 0.6412 GB, free: 12.03 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004156/0.1379, allocations: 0.4942 MB / 0.6417 GB, free: 11.54 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008512/0.1387, allocations: 0.979 MB / 0.6427 GB, free: 10.55 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002608/0.1413, allocations: 2.556 MB / 0.6452 GB, free: 7.984 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1413, allocations: 0 / 0.6452 GB, free: 7.984 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1414, allocations: 0 / 0.6452 GB, free: 7.984 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.996e-05/0.1414, allocations: 0 / 0.6452 GB, free: 7.984 MB / 462.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.01519/0.1566, allocations: 4.087 MB / 0.6492 GB, free: 3.836 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.1567, allocations: 11.98 kB / 0.6492 GB, free: 3.824 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002201/0.1569, allocations: 164.5 kB / 0.6493 GB, free: 3.656 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004934/0.1618, allocations: 0.7832 MB / 0.6501 GB, free: 2.871 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002333/0.1642, allocations: 1.209 MB / 0.6513 GB, free: 1.613 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00049/0.1647, allocations: 458.4 kB / 0.6517 GB, free: 1.09 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002583/0.165, allocations: 120 kB / 0.6518 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003385/0.1683, allocations: 1.492 MB / 0.6533 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.198e-05/0.1684, allocations: 4 kB / 0.6533 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001405/0.1686, allocations: 40 kB / 0.6533 GB, free: 15.38 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.011e-05/0.1686, allocations: 24 kB / 0.6534 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003486/0.1721, allocations: 1.398 MB / 0.6547 GB, free: 13.95 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.01043/0.1826, allocations: 5.344 MB / 0.6599 GB, free: 8.375 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009017/0.1916, allocations: 2.993 MB / 0.6629 GB, free: 5.242 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002346/0.194, allocations: 0.9401 MB / 0.6638 GB, free: 4.297 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006613/0.1947, allocations: 0.7297 MB / 0.6645 GB, free: 3.398 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002475/0.1972, allocations: 1.098 MB / 0.6656 GB, free: 2.277 MB / 478.1 MB Notification: Performance of pre-optimization done (n=132): time 3.778e-06/0.1972, allocations: 0 / 0.6656 GB, free: 2.277 MB / 478.1 MB Notification: Performance of matching and sorting (n=132): time 0.04346/0.2407, allocations: 9.92 MB / 0.6752 GB, free: 8.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.281e-05/0.2408, allocations: 120.1 kB / 0.6754 GB, free: 8.18 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003081/0.2439, allocations: 1.543 MB / 0.6769 GB, free: 6.629 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003862/0.2443, allocations: 53.7 kB / 0.6769 GB, free: 6.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006425/0.245, allocations: 0.6562 MB / 0.6776 GB, free: 5.91 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008267/0.2458, allocations: 0.4997 MB / 0.678 GB, free: 5.406 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001406/0.2472, allocations: 375.6 kB / 0.6784 GB, free: 5.031 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.2473, allocations: 305.1 kB / 0.6787 GB, free: 4.73 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002743/0.2501, allocations: 1.039 MB / 0.6797 GB, free: 3.688 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00287/0.253, allocations: 1.247 MB / 0.6809 GB, free: 2.375 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005412/0.2584, allocations: 2.196 MB / 0.6831 GB, free: 124 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.244e-05/0.2585, allocations: 8 kB / 0.6831 GB, free: 116 kB / 494.1 MB Notification: Performance of matching and sorting (n=263) (initialization): time 0.01141/0.2699, allocations: 3.825 MB / 0.6868 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.27, allocations: 18.84 kB / 0.6868 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.776e-05/0.27, allocations: 7.938 kB / 0.6868 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01029/0.2803, allocations: 2.683 MB / 0.6895 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00187/0.2822, allocations: 355.5 kB / 0.6898 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006937/0.2892, allocations: 2.695 MB / 0.6924 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002666/0.2919, allocations: 274.6 kB / 0.6927 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003356/0.2922, allocations: 67.98 kB / 0.6928 GB, free: 6.152 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,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.0008628/0.2931, allocations: 317.5 kB / 0.6931 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004992/0.2936, allocations: 182.8 kB / 0.6932 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01706/0.3107, allocations: 4.837 MB / 0.698 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.892e-05/0.3107, allocations: 16 kB / 0.698 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.3108, allocations: 3.938 kB / 0.698 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.194e-05/0.3108, allocations: 7.969 kB / 0.698 GB, free: 0.7656 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.02095/0.3317, allocations: 7.053 MB / 0.7049 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.514e-05/0.3318, allocations: 0 / 0.7049 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/0.3328, allocations: 159.8 kB / 0.705 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007751/0.3406, allocations: 2.134 MB / 0.7071 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002072/0.3408, allocations: 35.98 kB / 0.7071 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.253/0.5939, allocations: 10.06 MB / 0.717 GB, free: 82.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.5939, allocations: 0.7188 kB / 0.717 GB, free: 82.91 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02024/0.6142, allocations: 6.073 MB / 0.7229 GB, free: 81.78 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005786/0.6148, allocations: 297.7 kB / 0.7232 GB, free: 81.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003129/0.6151, allocations: 31.33 kB / 0.7232 GB, free: 81.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001712/0.6168, allocations: 141.2 kB / 0.7234 GB, free: 81.59 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000793/0.6176, allocations: 260.4 kB / 0.7236 GB, free: 81.53 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/0.6177, allocations: 36.47 kB / 0.7236 GB, free: 81.52 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001634/0.6194, allocations: 1.025 MB / 0.7246 GB, free: 81.12 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6194, allocations: 0 / 0.7246 GB, free: 81.12 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001632/0.621, allocations: 0.5653 MB / 0.7252 GB, free: 81.05 MB / 0.5137 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.01989/0.6409, allocations: 6.713 MB / 0.7317 GB, free: 78.81 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008864/0.6498, allocations: 2.997 MB / 0.7347 GB, free: 77.92 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.6499, allocations: 1.125 kB / 0.7347 GB, free: 77.92 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006009/0.6559, allocations: 1.966 MB / 0.7366 GB, free: 77.23 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.6572, allocations: 158 kB / 0.7367 GB, free: 77.14 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04769/0.7049, allocations: 21.79 MB / 0.758 GB, free: 60.14 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005039/0.7054, allocations: 1.266 MB / 0.7593 GB, free: 58.85 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006569/0.7061, allocations: 158.8 kB / 0.7594 GB, free: 58.69 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007293/0.7068, allocations: 0.6594 MB / 0.7601 GB, free: 58.03 MB / 0.5137 GB Notification: Performance of SimCode: time 7.81e-07/0.7069, allocations: 4 kB / 0.7601 GB, free: 58.03 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06406/0.7709, allocations: 46.22 MB / 0.8052 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.36/15.13, allocations: 15.53 kB / 0.8052 GB, free: 11.88 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_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_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.pipe 2>&1)