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.07667/0.07667, allocations: 12.6 MB / 28.24 MB, free: 108 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 107.4 kB / 31.83 MB, free: 3.426 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.239/1.239, allocations: 205.1 MB / 240.4 MB, free: 12.36 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.001338/0.001338, allocations: 183.4 kB / 290.7 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4119/0.4119, allocations: 78.51 MB / 419.3 MB, free: 11.25 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.002552/0.002552, allocations: 143.4 kB / 0.5554 GB, free: 28.65 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09817/0.1007, allocations: 68.13 MB / 0.6219 GB, free: 15.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1): time 0.008979/0.1097, allocations: 8.779 MB / 0.6305 GB, free: 7.062 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005022/0.1148, allocations: 2.744 MB / 0.6332 GB, free: 4.309 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008953/0.1157, allocations: 20 kB / 0.6332 GB, free: 4.289 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001035/0.1168, allocations: 337.1 kB / 0.6335 GB, free: 3.957 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003163/0.12, allocations: 1.3 MB / 0.6348 GB, free: 2.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001673/0.1217, allocations: 0.7875 MB / 0.6356 GB, free: 1.879 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002758/0.1245, allocations: 2.521 MB / 0.638 GB, free: 15.35 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007281/0.1252, allocations: 486 kB / 0.6385 GB, free: 14.84 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001253/0.1265, allocations: 0.9533 MB / 0.6394 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00154/0.128, allocations: 1.206 MB / 0.6406 GB, free: 12.68 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004912/0.1285, allocations: 200 kB / 0.6408 GB, free: 12.48 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009231/0.1295, allocations: 479.6 kB / 0.6412 GB, free: 12.01 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005077/0.13, allocations: 0.4942 MB / 0.6417 GB, free: 11.52 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009219/0.1309, allocations: 0.9751 MB / 0.6427 GB, free: 10.54 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002388/0.1333, allocations: 2.56 MB / 0.6452 GB, free: 7.965 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1333, allocations: 0 / 0.6452 GB, free: 7.965 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1333, allocations: 0 / 0.6452 GB, free: 7.965 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.858e-05/0.1334, allocations: 0 / 0.6452 GB, free: 7.965 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.01349/0.1469, allocations: 4.087 MB / 0.6492 GB, free: 3.816 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.1469, allocations: 11.98 kB / 0.6492 GB, free: 3.805 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002025/0.1471, allocations: 164.5 kB / 0.6493 GB, free: 3.637 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004576/0.1517, allocations: 0.7793 MB / 0.6501 GB, free: 2.855 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/0.1536, allocations: 1.209 MB / 0.6513 GB, free: 1.598 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004344/0.154, allocations: 462.4 kB / 0.6517 GB, free: 1.07 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000204/0.1542, allocations: 116 kB / 0.6518 GB, free: 0.957 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002878/0.1571, allocations: 1.495 MB / 0.6533 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/0.1572, allocations: 0 / 0.6533 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.1573, allocations: 44 kB / 0.6533 GB, free: 15.37 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/0.1573, allocations: 24 kB / 0.6534 GB, free: 15.34 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003008/0.1603, allocations: 1.398 MB / 0.6547 GB, free: 13.94 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.00878/0.1691, allocations: 5.344 MB / 0.6599 GB, free: 8.355 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008465/0.1776, allocations: 2.992 MB / 0.6629 GB, free: 5.223 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002025/0.1797, allocations: 0.9362 MB / 0.6638 GB, free: 4.281 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005985/0.1803, allocations: 0.7336 MB / 0.6645 GB, free: 3.379 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00238/0.1827, allocations: 1.094 MB / 0.6656 GB, free: 2.262 MB / 478.1 MB Notification: Performance of pre-optimization done (n=132): time 4.669e-06/0.1827, allocations: 0 / 0.6656 GB, free: 2.262 MB / 478.1 MB Notification: Performance of matching and sorting (n=132): time 0.04189/0.2246, allocations: 9.928 MB / 0.6753 GB, free: 8.297 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.129e-05/0.2247, allocations: 116.1 kB / 0.6754 GB, free: 8.16 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002556/0.2273, allocations: 1.539 MB / 0.6769 GB, free: 6.613 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002783/0.2275, allocations: 57.7 kB / 0.6769 GB, free: 6.551 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005548/0.2281, allocations: 0.6523 MB / 0.6776 GB, free: 5.895 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000615/0.2287, allocations: 0.4958 MB / 0.6781 GB, free: 5.395 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008767/0.2296, allocations: 379.6 kB / 0.6784 GB, free: 5.016 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.358e-05/0.2297, allocations: 301.1 kB / 0.6787 GB, free: 4.719 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002398/0.2321, allocations: 1.031 MB / 0.6797 GB, free: 3.684 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002501/0.2346, allocations: 1.258 MB / 0.6809 GB, free: 2.359 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004615/0.2393, allocations: 2.196 MB / 0.6831 GB, free: 108 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.2393, allocations: 8 kB / 0.6831 GB, free: 100 kB / 494.1 MB Notification: Performance of matching and sorting (n=263) (initialization): time 0.009653/0.249, allocations: 3.829 MB / 0.6868 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.249, allocations: 8 kB / 0.6868 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.22e-05/0.249, allocations: 7.938 kB / 0.6868 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009704/0.2587, allocations: 2.675 MB / 0.6895 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001677/0.2604, allocations: 359.5 kB / 0.6898 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006393/0.2669, allocations: 2.695 MB / 0.6924 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002324/0.2692, allocations: 278.6 kB / 0.6927 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002536/0.2695, allocations: 71.97 kB / 0.6928 GB, free: 6.137 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.0007007/0.2702, allocations: 317.5 kB / 0.6931 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000409/0.2706, allocations: 182.8 kB / 0.6932 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01639/0.287, allocations: 4.841 MB / 0.698 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.267e-05/0.2871, allocations: 16 kB / 0.698 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-05/0.2871, allocations: 3.938 kB / 0.698 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.312e-05/0.2871, allocations: 7.969 kB / 0.698 GB, free: 0.7461 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.02029/0.3074, allocations: 7.053 MB / 0.7049 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/0.3075, allocations: 0 / 0.7049 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009723/0.3084, allocations: 159.8 kB / 0.705 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007678/0.3161, allocations: 2.134 MB / 0.7071 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002258/0.3164, allocations: 31.98 kB / 0.7071 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2493/0.5657, allocations: 10.07 MB / 0.717 GB, free: 82.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.5657, allocations: 1.094 kB / 0.717 GB, free: 82.43 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02/0.5857, allocations: 6.07 MB / 0.7229 GB, free: 81.62 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005393/0.5863, allocations: 296.2 kB / 0.7232 GB, free: 81.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002847/0.5866, allocations: 30.61 kB / 0.7232 GB, free: 81.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001632/0.5883, allocations: 140.6 kB / 0.7234 GB, free: 81.43 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008516/0.5891, allocations: 260.1 kB / 0.7236 GB, free: 81.37 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000119/0.5893, allocations: 40.08 kB / 0.7236 GB, free: 81.36 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001565/0.5908, allocations: 1.022 MB / 0.7246 GB, free: 80.96 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5908, allocations: 0 / 0.7246 GB, free: 80.96 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001584/0.5924, allocations: 0.5741 MB / 0.7252 GB, free: 80.89 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.01941/0.6118, allocations: 6.71 MB / 0.7318 GB, free: 78.64 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008824/0.6207, allocations: 2.993 MB / 0.7347 GB, free: 77.75 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.6207, allocations: 0 / 0.7347 GB, free: 77.75 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005906/0.6267, allocations: 1.974 MB / 0.7366 GB, free: 77.06 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.628, allocations: 148.2 kB / 0.7367 GB, free: 76.96 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04851/0.6765, allocations: 21.78 MB / 0.758 GB, free: 59.94 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005399/0.6771, allocations: 1.27 MB / 0.7593 GB, free: 58.64 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006494/0.6778, allocations: 158.8 kB / 0.7594 GB, free: 58.48 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007006/0.6785, allocations: 0.6633 MB / 0.7601 GB, free: 57.82 MB / 0.5137 GB Notification: Performance of SimCode: time 5.21e-07/0.6785, allocations: 0 / 0.7601 GB, free: 57.82 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09581/0.7743, allocations: 46.21 MB / 0.8052 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.51/15.28, allocations: 11.98 kB / 0.8052 GB, free: 11.68 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)