Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.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.IEEET1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEET1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEET1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEET1",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.0969/0.0969, allocations: 12.59 MB / 28.22 MB, free: 0.6875 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.001062/0.001062, allocations: 111.4 kB / 31.84 MB, free: 3.844 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.383/1.383, allocations: 205.1 MB / 240.4 MB, free: 12.37 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.001372/0.001372, allocations: 180.5 kB / 290.7 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4322/0.4322, 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.002572/0.002572, allocations: 139.2 kB / 0.5554 GB, free: 28.82 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1369, allocations: 68.13 MB / 0.6219 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.IEEET1): time 0.008766/0.1457, allocations: 8.578 MB / 0.6303 GB, free: 7.289 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005514/0.1512, allocations: 2.65 MB / 0.6329 GB, free: 4.629 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001367/0.1527, allocations: 16 kB / 0.6329 GB, free: 4.613 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008444/0.1535, allocations: 313.3 kB / 0.6332 GB, free: 4.305 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003613/0.1572, allocations: 1.262 MB / 0.6344 GB, free: 3.043 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001949/0.1591, allocations: 0.7499 MB / 0.6352 GB, free: 2.297 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003177/0.1623, allocations: 2.349 MB / 0.6375 GB, free: 15.94 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007662/0.1631, allocations: 477.4 kB / 0.6379 GB, free: 15.44 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001322/0.1644, allocations: 0.8909 MB / 0.6388 GB, free: 14.55 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001173/0.1656, allocations: 1.147 MB / 0.6399 GB, free: 13.39 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002559/0.1659, allocations: 188 kB / 0.6401 GB, free: 13.21 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008238/0.1667, allocations: 463.6 kB / 0.6405 GB, free: 12.76 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003503/0.1671, allocations: 478.2 kB / 0.641 GB, free: 12.29 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007775/0.1679, allocations: 0.9362 MB / 0.6419 GB, free: 11.35 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003043/0.1709, allocations: 2.443 MB / 0.6443 GB, free: 8.895 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1709, allocations: 0 / 0.6443 GB, free: 8.895 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1709, allocations: 0 / 0.6443 GB, free: 8.895 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.599e-05/0.171, allocations: 0 / 0.6443 GB, free: 8.895 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: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.01426/0.1853, allocations: 3.955 MB / 0.6482 GB, free: 4.875 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.1853, allocations: 11.98 kB / 0.6482 GB, free: 4.863 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002084/0.1855, allocations: 164.3 kB / 0.6483 GB, free: 4.695 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00464/0.1902, allocations: 0.7676 MB / 0.6491 GB, free: 3.926 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002011/0.1922, allocations: 1.126 MB / 0.6502 GB, free: 2.75 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004333/0.1927, allocations: 432.9 kB / 0.6506 GB, free: 2.258 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002301/0.1929, allocations: 123.9 kB / 0.6507 GB, free: 2.137 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002874/0.1958, allocations: 1.448 MB / 0.6521 GB, free: 0.668 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/0.1958, allocations: 3.938 kB / 0.6521 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/0.196, allocations: 44 kB / 0.6522 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.071e-05/0.196, allocations: 24 kB / 0.6522 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002837/0.1988, allocations: 1.339 MB / 0.6535 GB, free: 15.26 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.008933/0.2078, allocations: 5.174 MB / 0.6586 GB, free: 9.852 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00818/0.216, allocations: 2.909 MB / 0.6614 GB, free: 6.805 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002092/0.2181, allocations: 0.9196 MB / 0.6623 GB, free: 5.875 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006007/0.2187, allocations: 0.7255 MB / 0.663 GB, free: 4.984 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002221/0.221, allocations: 1.063 MB / 0.664 GB, free: 3.898 MB / 478.1 MB Notification: Performance of pre-optimization done (n=129): time 2.866e-06/0.221, allocations: 0 / 0.664 GB, free: 3.898 MB / 478.1 MB Notification: Performance of matching and sorting (n=129): time 0.04367/0.2647, allocations: 10.55 MB / 0.6743 GB, free: 9.312 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.913e-05/0.2648, allocations: 124.2 kB / 0.6745 GB, free: 9.164 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00207/0.2669, allocations: 1.41 MB / 0.6758 GB, free: 7.746 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003491/0.2672, allocations: 53.7 kB / 0.6759 GB, free: 7.688 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004715/0.2677, allocations: 0.6284 MB / 0.6765 GB, free: 7.055 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000523/0.2683, allocations: 491.8 kB / 0.677 GB, free: 6.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006239/0.2689, allocations: 359.5 kB / 0.6773 GB, free: 6.215 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.254e-05/0.269, allocations: 309 kB / 0.6776 GB, free: 5.91 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002112/0.2711, allocations: 0.9878 MB / 0.6786 GB, free: 4.922 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002277/0.2734, allocations: 1.215 MB / 0.6798 GB, free: 3.652 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004245/0.2777, allocations: 2.126 MB / 0.6818 GB, free: 1.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.2777, allocations: 0 / 0.6818 GB, free: 1.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=252) (initialization): time 0.009333/0.287, allocations: 3.735 MB / 0.6855 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.2871, allocations: 11.98 kB / 0.6855 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.71e-05/0.2871, allocations: 4 kB / 0.6855 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00945/0.2966, allocations: 2.667 MB / 0.6881 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001696/0.2983, allocations: 335.5 kB / 0.6884 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006342/0.3047, allocations: 2.699 MB / 0.6911 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002455/0.3071, allocations: 250.7 kB / 0.6913 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001834/0.3073, allocations: 75.97 kB / 0.6914 GB, free: 7.668 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,iEEET1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 193 * 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.0006387/0.308, allocations: 301.5 kB / 0.6917 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003103/0.3083, allocations: 174.9 kB / 0.6918 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01613/0.3244, allocations: 4.859 MB / 0.6966 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.687e-05/0.3245, allocations: 16 kB / 0.6966 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.3245, allocations: 7.984 kB / 0.6966 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.281e-05/0.3246, allocations: 11.91 kB / 0.6966 GB, free: 2.277 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.0189/0.3435, allocations: 6.887 MB / 0.7033 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.762e-05/0.3435, allocations: 4 kB / 0.7033 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.3446, allocations: 147.8 kB / 0.7035 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007387/0.352, allocations: 2.138 MB / 0.7056 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002388/0.3522, allocations: 31.98 kB / 0.7056 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3033/0.6556, allocations: 10.07 MB / 0.7154 GB, free: 84.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.6556, allocations: 4.531 kB / 0.7154 GB, free: 84.55 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02015/0.6758, allocations: 5.963 MB / 0.7212 GB, free: 83.69 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007987/0.6766, allocations: 283.6 kB / 0.7215 GB, free: 83.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002676/0.6769, allocations: 26.67 kB / 0.7215 GB, free: 83.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001521/0.6784, allocations: 127.9 kB / 0.7217 GB, free: 83.53 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008959/0.6793, allocations: 257.8 kB / 0.7219 GB, free: 83.47 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/0.6794, allocations: 35.69 kB / 0.7219 GB, free: 83.46 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001521/0.681, allocations: 0.9408 MB / 0.7229 GB, free: 83.08 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/0.681, allocations: 0 / 0.7229 GB, free: 83.08 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001883/0.6829, allocations: 0.5557 MB / 0.7234 GB, free: 83.03 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,iEEET1.derivativeLag.x,iEEET1.simpleLagLim.state,iEEET1.rotatingExciter.sISO.y,iEEET1.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 (86): * Single equations (assignments): 85 * 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.01931/0.7022, allocations: 6.586 MB / 0.7298 GB, free: 80.85 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00868/0.7109, allocations: 2.916 MB / 0.7327 GB, free: 80 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.7109, allocations: 0 / 0.7327 GB, free: 80 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005947/0.7169, allocations: 1.941 MB / 0.7346 GB, free: 79.34 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/0.7182, allocations: 145 kB / 0.7347 GB, free: 79.25 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03907/0.7573, allocations: 19.57 MB / 0.7538 GB, free: 65.16 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005373/0.7579, allocations: 1.243 MB / 0.755 GB, free: 63.88 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006556/0.7585, allocations: 142.4 kB / 0.7552 GB, free: 63.74 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007363/0.7593, allocations: 0.6164 MB / 0.7558 GB, free: 63.12 MB / 0.5137 GB Notification: Performance of SimCode: time 9.52e-07/0.7593, allocations: 0 / 0.7558 GB, free: 63.12 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06461/0.8239, allocations: 44.49 MB / 0.7992 GB, free: 18.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.47/15.3, allocations: 18.53 kB / 0.7993 GB, free: 18.69 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1_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_IEEET1.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.pipe 2>&1)