Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.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.IEEET2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEET2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET2",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.001628/0.001628, allocations: 108 kB / 15.61 MB, free: 152 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.414/1.414, allocations: 222.9 MB / 239.3 MB, free: 4.617 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.001461/0.001461, allocations: 192.5 kB / 289.6 MB, free: 2.332 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6058/0.6058, allocations: 91.9 MB / 431.6 MB, free: 9.297 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 87.86 kB / 0.502 GB, free: 7.66 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3596, allocations: 71.26 MB / 0.5716 GB, free: 36.79 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.IEEET2): time 0.007544/0.3672, allocations: 8.633 MB / 0.58 GB, free: 31.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005409/0.3726, allocations: 2.691 MB / 0.5826 GB, free: 29.6 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009997/0.3737, allocations: 13.34 kB / 0.5827 GB, free: 29.6 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007133/0.3744, allocations: 324.1 kB / 0.583 GB, free: 29.42 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002159/0.3766, allocations: 1.001 MB / 0.5839 GB, free: 28.76 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001743/0.3783, allocations: 0.8446 MB / 0.5848 GB, free: 28.34 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001917/0.3803, allocations: 2.222 MB / 0.5869 GB, free: 27.23 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005697/0.3809, allocations: 487 kB / 0.5874 GB, free: 27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009386/0.3818, allocations: 0.8828 MB / 0.5883 GB, free: 26.55 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001066/0.3829, allocations: 1.145 MB / 0.5894 GB, free: 25.99 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003121/0.3832, allocations: 191.7 kB / 0.5896 GB, free: 25.99 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009175/0.3841, allocations: 470.8 kB / 0.59 GB, free: 25.9 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003948/0.3845, allocations: 482.5 kB / 0.5905 GB, free: 25.58 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007257/0.3853, allocations: 0.9503 MB / 0.5914 GB, free: 24.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002099/0.3874, allocations: 2.415 MB / 0.5938 GB, free: 23.89 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3874, allocations: 0 / 0.5938 GB, free: 23.89 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.3874, allocations: 1.062 kB / 0.5938 GB, free: 23.89 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.936e-05/0.3874, allocations: 0 / 0.5938 GB, free: 23.89 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.01237/0.3998, allocations: 3.644 MB / 0.5973 GB, free: 22.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.3999, allocations: 9.344 kB / 0.5973 GB, free: 22.34 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002052/0.4001, allocations: 163.3 kB / 0.5975 GB, free: 22.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004921/0.405, allocations: 0.7542 MB / 0.5982 GB, free: 22.06 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002438/0.4075, allocations: 1.132 MB / 0.5993 GB, free: 21.31 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004244/0.4079, allocations: 456.5 kB / 0.5998 GB, free: 20.89 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002485/0.4082, allocations: 121.5 kB / 0.5999 GB, free: 20.85 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003041/0.4112, allocations: 1.468 MB / 0.6013 GB, free: 20.25 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.352e-05/0.4113, allocations: 0 / 0.6013 GB, free: 20.25 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001244/0.4114, allocations: 41.67 kB / 0.6014 GB, free: 20.22 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.653e-05/0.4114, allocations: 29.66 kB / 0.6014 GB, free: 20.22 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003045/0.4145, allocations: 1.354 MB / 0.6027 GB, free: 19.76 MB / 430.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.009842/0.4243, allocations: 5.244 MB / 0.6078 GB, free: 16.69 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008408/0.4328, allocations: 2.943 MB / 0.6107 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002228/0.4351, allocations: 0.9226 MB / 0.6116 GB, free: 15.1 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004856/0.4356, allocations: 0.7305 MB / 0.6123 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002632/0.4382, allocations: 1.079 MB / 0.6134 GB, free: 13.83 MB / 430.1 MB Notification: Performance of pre-optimization done (n=131): time 4.198e-06/0.4382, allocations: 0 / 0.6134 GB, free: 13.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=131): time 0.04226/0.4805, allocations: 9.864 MB / 0.623 GB, free: 9.227 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.4806, allocations: 116.1 kB / 0.6231 GB, free: 9.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002083/0.4827, allocations: 1.442 MB / 0.6245 GB, free: 7.637 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000532/0.4832, allocations: 49.7 kB / 0.6246 GB, free: 7.582 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004172/0.4836, allocations: 0.6316 MB / 0.6252 GB, free: 6.945 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006209/0.4843, allocations: 477.2 kB / 0.6256 GB, free: 6.473 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000653/0.4849, allocations: 367.4 kB / 0.626 GB, free: 6.105 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.685e-05/0.485, allocations: 305.2 kB / 0.6263 GB, free: 5.805 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002005/0.487, allocations: 1.003 MB / 0.6273 GB, free: 4.797 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002018/0.489, allocations: 1.227 MB / 0.6285 GB, free: 3.508 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003803/0.4929, allocations: 2.169 MB / 0.6306 GB, free: 1.285 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/0.4929, allocations: 4 kB / 0.6306 GB, free: 1.281 MB / 430.1 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.01785/0.5107, allocations: 5.504 MB / 0.636 GB, free: 11.76 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.312e-05/0.5108, allocations: 8 kB / 0.636 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.209e-05/0.5109, allocations: 7.984 kB / 0.636 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01027/0.5211, allocations: 2.679 MB / 0.6386 GB, free: 9.059 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001889/0.5231, allocations: 339.5 kB / 0.6389 GB, free: 8.727 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007281/0.5304, allocations: 2.703 MB / 0.6415 GB, free: 5.988 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003082/0.5335, allocations: 254.2 kB / 0.6418 GB, free: 5.738 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004705/0.534, allocations: 67.98 kB / 0.6419 GB, free: 5.672 MB / 446.1 MB 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,iEEET2.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 198 * 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.001258/0.5353, allocations: 309.5 kB / 0.6421 GB, free: 5.359 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008371/0.5362, allocations: 165.8 kB / 0.6423 GB, free: 5.195 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01869/0.5549, allocations: 4.942 MB / 0.6471 GB, free: 232 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.447e-05/0.5549, allocations: 12 kB / 0.6471 GB, free: 220 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.555, allocations: 0 / 0.6471 GB, free: 220 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.568e-05/0.555, allocations: 11.97 kB / 0.6472 GB, free: 208 kB / 446.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 postOpt removeSimpleEquations (simulation): time 0.02446/0.5795, allocations: 7.093 MB / 0.6541 GB, free: 8.973 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.18e-05/0.5796, allocations: 4 kB / 0.6541 GB, free: 8.969 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/0.5807, allocations: 151.8 kB / 0.6542 GB, free: 8.82 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008558/0.5892, allocations: 2.201 MB / 0.6564 GB, free: 6.609 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004139/0.5897, allocations: 35.92 kB / 0.6564 GB, free: 6.574 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03084/0.6206, allocations: 11.79 MB / 0.6679 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.6206, allocations: 0 / 0.6679 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02097/0.6416, allocations: 6.088 MB / 0.6739 GB, free: 4.371 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008283/0.6425, allocations: 278.8 kB / 0.6741 GB, free: 4.078 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008213/0.6433, allocations: 24 kB / 0.6742 GB, free: 4.055 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002164/0.6455, allocations: 131.8 kB / 0.6743 GB, free: 3.926 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001104/0.6466, allocations: 269.4 kB / 0.6745 GB, free: 3.66 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002532/0.6469, allocations: 39.98 kB / 0.6746 GB, free: 3.621 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001805/0.6487, allocations: 0.9444 MB / 0.6755 GB, free: 2.68 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.6487, allocations: 0 / 0.6755 GB, free: 2.68 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002495/0.6512, allocations: 0.5659 MB / 0.6761 GB, free: 2.113 MB / 478.1 MB 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,iEEET2.simpleLag.state,iEEET2.derivativeLag.x,iEEET2.simpleLagLim.state,iEEET2.rotatingExciter.sISO.y,iEEET2.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 (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0212/0.6724, allocations: 6.711 MB / 0.6826 GB, free: 11.36 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0108/0.6833, allocations: 2.994 MB / 0.6855 GB, free: 8.355 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.6833, allocations: 0 / 0.6855 GB, free: 8.355 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007216/0.6905, allocations: 2.074 MB / 0.6876 GB, free: 6.254 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002311/0.6929, allocations: 155.3 kB / 0.6877 GB, free: 6.102 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05157/0.7445, allocations: 20.7 MB / 0.7079 GB, free: 380 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00108/0.7456, allocations: 1.247 MB / 0.7091 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008135/0.7464, allocations: 146.5 kB / 0.7093 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00105/0.7475, allocations: 0.6438 MB / 0.7099 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of SimCode: time 1.112e-06/0.7475, allocations: 0 / 0.7099 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09197/0.8395, allocations: 45.08 MB / 0.7539 GB, free: 1.34 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/13.06, allocations: 7.984 kB / 0.7539 GB, free: 1.332 MB / 0.545 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2_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_IEEET2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe 2>&1)