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.007443/0.007443, allocations: 100.2 kB / 15.73 MB, free: 6.059 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.396/1.396, allocations: 222.9 MB / 239.4 MB, free: 4.543 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.001442/0.001442, allocations: 188.5 kB / 289.7 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5262/0.5262, allocations: 91.97 MB / 431.8 MB, free: 9.078 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 79.25 kB / 0.5724 GB, free: 33.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.119, allocations: 71.29 MB / 0.642 GB, free: 3.98 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1): time 0.009827/0.1289, allocations: 8.751 MB / 0.6505 GB, free: 11.18 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005905/0.1348, allocations: 2.778 MB / 0.6532 GB, free: 8.395 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001449/0.1363, allocations: 12 kB / 0.6533 GB, free: 8.383 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.1374, allocations: 333.1 kB / 0.6536 GB, free: 8.055 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003252/0.1407, allocations: 1.039 MB / 0.6546 GB, free: 7.012 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002285/0.143, allocations: 0.888 MB / 0.6555 GB, free: 6.129 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003447/0.1465, allocations: 2.365 MB / 0.6578 GB, free: 3.758 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007923/0.1473, allocations: 486 kB / 0.6582 GB, free: 3.254 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001505/0.1488, allocations: 0.9338 MB / 0.6591 GB, free: 2.316 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00158/0.1504, allocations: 1.186 MB / 0.6603 GB, free: 1.125 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003495/0.1508, allocations: 200 kB / 0.6605 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009594/0.1517, allocations: 475.7 kB / 0.6609 GB, free: 476 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000477/0.1522, allocations: 498.2 kB / 0.6614 GB, free: 15.97 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001016/0.1532, allocations: 0.9827 MB / 0.6624 GB, free: 14.99 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003232/0.1565, allocations: 2.541 MB / 0.6649 GB, free: 12.44 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1565, allocations: 0 / 0.6649 GB, free: 12.44 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1565, allocations: 0 / 0.6649 GB, free: 12.44 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.311e-05/0.1566, allocations: 8 kB / 0.6649 GB, free: 12.43 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.01346/0.17, allocations: 3.783 MB / 0.6686 GB, free: 8.582 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.1701, allocations: 8.031 kB / 0.6686 GB, free: 8.574 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002315/0.1703, allocations: 164.5 kB / 0.6687 GB, free: 8.406 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004763/0.1751, allocations: 0.7793 MB / 0.6695 GB, free: 7.625 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002382/0.1775, allocations: 1.213 MB / 0.6707 GB, free: 6.363 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005352/0.178, allocations: 462.4 kB / 0.6711 GB, free: 5.836 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002442/0.1783, allocations: 116 kB / 0.6712 GB, free: 5.723 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003511/0.1818, allocations: 1.495 MB / 0.6727 GB, free: 4.176 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.969e-05/0.1819, allocations: 4 kB / 0.6727 GB, free: 4.172 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001446/0.182, allocations: 43.94 kB / 0.6727 GB, free: 4.129 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.86e-05/0.1821, allocations: 24 kB / 0.6727 GB, free: 4.105 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003516/0.1856, allocations: 1.39 MB / 0.6741 GB, free: 2.707 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.01088/0.1965, allocations: 5.352 MB / 0.6793 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00897/0.2055, allocations: 2.988 MB / 0.6822 GB, free: 9.988 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002168/0.2077, allocations: 0.9395 MB / 0.6832 GB, free: 9.043 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006734/0.2084, allocations: 0.7336 MB / 0.6839 GB, free: 8.141 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002403/0.2108, allocations: 1.087 MB / 0.6849 GB, free: 7.031 MB / 494.1 MB Notification: Performance of pre-optimization done (n=132): time 3.146e-06/0.2108, allocations: 0 / 0.6849 GB, free: 7.031 MB / 494.1 MB Notification: Performance of matching and sorting (n=132): time 0.04279/0.2536, allocations: 9.936 MB / 0.6946 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.937e-05/0.2537, allocations: 120.1 kB / 0.6948 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002614/0.2563, allocations: 1.535 MB / 0.6963 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003921/0.2567, allocations: 57.77 kB / 0.6963 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005853/0.2573, allocations: 0.6562 MB / 0.697 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006245/0.258, allocations: 0.4996 MB / 0.6974 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007213/0.2587, allocations: 375.6 kB / 0.6978 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.2588, allocations: 309.1 kB / 0.6981 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002396/0.2612, allocations: 1.031 MB / 0.6991 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002615/0.2639, allocations: 1.255 MB / 0.7003 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004778/0.2687, allocations: 2.2 MB / 0.7025 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.2687, allocations: 0 / 0.7025 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of matching and sorting (n=263) (initialization): time 0.01007/0.2787, allocations: 3.829 MB / 0.7062 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.2788, allocations: 8 kB / 0.7062 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.417e-05/0.2788, allocations: 8.062 kB / 0.7062 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01015/0.289, allocations: 2.679 MB / 0.7088 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001845/0.2909, allocations: 363.5 kB / 0.7092 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006969/0.2978, allocations: 2.684 MB / 0.7118 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002509/0.3004, allocations: 270.6 kB / 0.7121 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000224/0.3006, allocations: 71.97 kB / 0.7121 GB, free: 10.91 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.0006984/0.3013, allocations: 321.5 kB / 0.7124 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003845/0.3017, allocations: 190.8 kB / 0.7126 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01683/0.3186, allocations: 4.833 MB / 0.7174 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.458e-05/0.3186, allocations: 12 kB / 0.7174 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.3186, allocations: 7.938 kB / 0.7174 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.708e-05/0.3187, allocations: 7.969 kB / 0.7174 GB, free: 5.516 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.02043/0.3391, allocations: 7.045 MB / 0.7243 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.609e-05/0.3392, allocations: 0 / 0.7243 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.3402, allocations: 155.8 kB / 0.7244 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007907/0.3482, allocations: 2.142 MB / 0.7265 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000272/0.3485, allocations: 31.98 kB / 0.7265 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02688/0.3754, allocations: 10.08 MB / 0.7364 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3754, allocations: 4 kB / 0.7364 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01982/0.3952, allocations: 6.082 MB / 0.7423 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006199/0.3959, allocations: 295.5 kB / 0.7426 GB, free: 11.35 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002735/0.3962, allocations: 28 kB / 0.7426 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001599/0.3978, allocations: 139.8 kB / 0.7428 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008179/0.3986, allocations: 265.4 kB / 0.743 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/0.3987, allocations: 32 kB / 0.743 GB, free: 10.89 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001675/0.4004, allocations: 1.028 MB / 0.744 GB, free: 9.871 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/0.4004, allocations: 0 / 0.744 GB, free: 9.871 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001472/0.4019, allocations: 0.5698 MB / 0.7446 GB, free: 9.301 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.02015/0.422, allocations: 6.703 MB / 0.7511 GB, free: 2.559 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00945/0.4315, allocations: 2.998 MB / 0.7541 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.4316, allocations: 4 kB / 0.7541 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006812/0.4384, allocations: 1.958 MB / 0.756 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/0.4398, allocations: 156.4 kB / 0.7561 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3036/0.7434, allocations: 21.79 MB / 0.7774 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00086/0.7443, allocations: 1.271 MB / 0.7787 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007369/0.745, allocations: 153.5 kB / 0.7788 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007934/0.7458, allocations: 0.6633 MB / 0.7794 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.103e-06/0.7458, allocations: 0 / 0.7794 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07346/0.8193, allocations: 46.23 MB / 0.8246 GB, free: 78.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.73/15.55, allocations: 0 / 0.8246 GB, free: 78.8 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)