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.007071/0.007071, allocations: 98.8 kB / 15.73 MB, free: 6.047 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.424/1.424, allocations: 222.9 MB / 239.4 MB, free: 4.535 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.001477/0.001477, allocations: 192.5 kB / 289.7 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5218/0.5218, allocations: 91.97 MB / 431.8 MB, free: 9.062 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002194/0.002194, allocations: 83.7 kB / 0.5724 GB, free: 33.7 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1328, allocations: 71.29 MB / 0.642 GB, free: 3.977 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.IEEET2): time 0.01041/0.1433, allocations: 8.634 MB / 0.6504 GB, free: 11.3 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006486/0.1498, allocations: 2.7 MB / 0.6531 GB, free: 8.59 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001919/0.1518, allocations: 16 kB / 0.6531 GB, free: 8.574 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009204/0.1527, allocations: 309.2 kB / 0.6534 GB, free: 8.27 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00305/0.1558, allocations: 1.006 MB / 0.6543 GB, free: 7.258 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001924/0.1577, allocations: 0.8459 MB / 0.6552 GB, free: 6.418 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002855/0.1606, allocations: 2.24 MB / 0.6574 GB, free: 4.172 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007461/0.1613, allocations: 481.9 kB / 0.6578 GB, free: 3.672 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001274/0.1626, allocations: 0.8831 MB / 0.6587 GB, free: 2.785 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001428/0.1641, allocations: 1.147 MB / 0.6598 GB, free: 1.633 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003035/0.1644, allocations: 196 kB / 0.66 GB, free: 1.441 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008679/0.1653, allocations: 467.7 kB / 0.6604 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004304/0.1657, allocations: 474.2 kB / 0.6609 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009304/0.1666, allocations: 0.9517 MB / 0.6618 GB, free: 15.56 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002746/0.1694, allocations: 2.463 MB / 0.6642 GB, free: 13.09 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.1694, allocations: 0 / 0.6642 GB, free: 13.09 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1694, allocations: 3.938 kB / 0.6642 GB, free: 13.09 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.538e-05/0.1694, allocations: 0 / 0.6642 GB, free: 13.09 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.01216/0.1816, allocations: 3.693 MB / 0.6678 GB, free: 9.328 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.1817, allocations: 12.03 kB / 0.6678 GB, free: 9.316 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002125/0.1819, allocations: 160.4 kB / 0.668 GB, free: 9.152 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004603/0.1865, allocations: 0.7676 MB / 0.6687 GB, free: 8.383 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00194/0.1885, allocations: 1.142 MB / 0.6699 GB, free: 7.191 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004939/0.189, allocations: 462.4 kB / 0.6703 GB, free: 6.664 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002114/0.1892, allocations: 123.9 kB / 0.6704 GB, free: 6.543 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003026/0.1922, allocations: 1.476 MB / 0.6719 GB, free: 5.02 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/0.1922, allocations: 0 / 0.6719 GB, free: 5.02 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001223/0.1924, allocations: 40 kB / 0.6719 GB, free: 4.98 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.224e-05/0.1924, allocations: 24 kB / 0.6719 GB, free: 4.957 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003069/0.1955, allocations: 1.351 MB / 0.6732 GB, free: 3.605 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.009823/0.2053, allocations: 5.23 MB / 0.6783 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008783/0.2141, allocations: 2.947 MB / 0.6812 GB, free: 11.06 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002317/0.2165, allocations: 0.9239 MB / 0.6821 GB, free: 10.13 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006864/0.2172, allocations: 0.7297 MB / 0.6828 GB, free: 9.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002476/0.2197, allocations: 1.084 MB / 0.6839 GB, free: 8.125 MB / 494.1 MB Notification: Performance of pre-optimization done (n=131): time 2.845e-06/0.2197, allocations: 0 / 0.6839 GB, free: 8.125 MB / 494.1 MB Notification: Performance of matching and sorting (n=131): time 0.04274/0.2624, allocations: 9.868 MB / 0.6935 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.228e-05/0.2626, allocations: 116.1 kB / 0.6936 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002308/0.2649, allocations: 1.43 MB / 0.695 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003422/0.2652, allocations: 57.7 kB / 0.6951 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005677/0.2658, allocations: 0.6324 MB / 0.6957 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006489/0.2665, allocations: 0.4958 MB / 0.6962 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000737/0.2672, allocations: 371.4 kB / 0.6966 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.2674, allocations: 313.1 kB / 0.6969 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002365/0.2697, allocations: 1.007 MB / 0.6978 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002488/0.2722, allocations: 1.223 MB / 0.699 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004659/0.2769, allocations: 2.153 MB / 0.7011 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.2769, allocations: 0 / 0.7011 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.01863/0.2956, allocations: 5.524 MB / 0.7065 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.382e-05/0.2956, allocations: 8 kB / 0.7065 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.324e-05/0.2957, allocations: 4 kB / 0.7065 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01158/0.3073, allocations: 2.659 MB / 0.7091 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001672/0.309, allocations: 343.5 kB / 0.7095 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006703/0.3157, allocations: 2.703 MB / 0.7121 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002459/0.3182, allocations: 254.7 kB / 0.7123 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002554/0.3185, allocations: 71.98 kB / 0.7124 GB, free: 10.62 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,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.0006636/0.3191, allocations: 305.5 kB / 0.7127 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003475/0.3195, allocations: 178.8 kB / 0.7129 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01749/0.337, allocations: 4.935 MB / 0.7177 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.65e-05/0.3371, allocations: 16 kB / 0.7177 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.3371, allocations: 3.938 kB / 0.7177 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.862e-05/0.3371, allocations: 7.969 kB / 0.7177 GB, free: 5.148 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.02076/0.3579, allocations: 7.092 MB / 0.7246 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.488e-05/0.3579, allocations: 0 / 0.7246 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009811/0.3589, allocations: 151.8 kB / 0.7248 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008162/0.3671, allocations: 2.201 MB / 0.7269 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002763/0.3674, allocations: 24 kB / 0.727 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02942/0.3969, allocations: 11.81 MB / 0.7385 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3969, allocations: 0 / 0.7385 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0203/0.4172, allocations: 6.108 MB / 0.7445 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00067/0.4179, allocations: 287.5 kB / 0.7447 GB, free: 8.988 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002756/0.4182, allocations: 27.98 kB / 0.7448 GB, free: 8.961 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001547/0.4197, allocations: 127.9 kB / 0.7449 GB, free: 8.836 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009244/0.4207, allocations: 265.3 kB / 0.7451 GB, free: 8.578 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/0.4208, allocations: 39.98 kB / 0.7452 GB, free: 8.539 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001545/0.4224, allocations: 0.9522 MB / 0.7461 GB, free: 7.59 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4224, allocations: 0 / 0.7461 GB, free: 7.59 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001568/0.4239, allocations: 0.562 MB / 0.7467 GB, free: 7.027 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,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.02061/0.4446, allocations: 6.721 MB / 0.7532 GB, free: 268 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00945/0.454, allocations: 2.948 MB / 0.7561 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.4541, allocations: 0 / 0.7561 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006994/0.4611, allocations: 2.077 MB / 0.7581 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/0.4625, allocations: 151.8 kB / 0.7583 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2971/0.7596, allocations: 19.37 MB / 0.7772 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009361/0.7606, allocations: 1.251 MB / 0.7784 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006504/0.7613, allocations: 145.2 kB / 0.7786 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007997/0.7621, allocations: 0.6385 MB / 0.7792 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of SimCode: time 8.42e-07/0.7621, allocations: 0 / 0.7792 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07401/0.8361, allocations: 45.63 MB / 0.8237 GB, free: 79.79 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.59/15.43, allocations: 11.72 kB / 0.8238 GB, free: 79.78 MB / 0.5606 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)