Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.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.IEEET1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEET1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET1",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.001669/0.001669, 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.396/1.396, allocations: 222.9 MB / 239.3 MB, free: 4.613 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.001513/0.001513, allocations: 188.5 kB / 289.6 MB, free: 2.336 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5653/0.5653, allocations: 91.9 MB / 431.6 MB, free: 9.285 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 83.88 kB / 0.502 GB, free: 7.645 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4038, allocations: 71.26 MB / 0.5716 GB, free: 36.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.IEEET1): time 0.007374/0.4113, allocations: 8.547 MB / 0.5799 GB, free: 31.42 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005859/0.4172, allocations: 2.675 MB / 0.5825 GB, free: 29.52 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002133/0.4194, allocations: 13.72 kB / 0.5826 GB, free: 29.52 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001107/0.4205, allocations: 319.6 kB / 0.5829 GB, free: 29.35 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0033/0.4239, allocations: 0.9959 MB / 0.5838 GB, free: 28.69 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001976/0.4258, allocations: 0.8317 MB / 0.5846 GB, free: 28.28 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002782/0.4286, allocations: 2.203 MB / 0.5868 GB, free: 27.18 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006822/0.4293, allocations: 475.3 kB / 0.5873 GB, free: 26.94 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001172/0.4305, allocations: 0.8672 MB / 0.5881 GB, free: 26.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001144/0.4317, allocations: 1.131 MB / 0.5892 GB, free: 25.95 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003506/0.432, allocations: 189.3 kB / 0.5894 GB, free: 25.95 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009366/0.433, allocations: 459.8 kB / 0.5898 GB, free: 25.87 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003015/0.4333, allocations: 470.3 kB / 0.5903 GB, free: 25.56 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006942/0.434, allocations: 0.9396 MB / 0.5912 GB, free: 24.92 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002295/0.4363, allocations: 2.379 MB / 0.5935 GB, free: 23.89 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.4363, allocations: 0 / 0.5935 GB, free: 23.89 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4363, allocations: 0 / 0.5935 GB, free: 23.89 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.524e-05/0.4364, allocations: 1.281 kB / 0.5935 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: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.01287/0.4492, allocations: 3.609 MB / 0.597 GB, free: 22.36 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.994e-05/0.4493, allocations: 9 kB / 0.597 GB, free: 22.36 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002043/0.4495, allocations: 163.5 kB / 0.5972 GB, free: 22.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00472/0.4543, allocations: 0.758 MB / 0.5979 GB, free: 22.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002001/0.4563, allocations: 1.113 MB / 0.599 GB, free: 21.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000374/0.4567, allocations: 431 kB / 0.5994 GB, free: 20.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002257/0.4569, allocations: 119.1 kB / 0.5996 GB, free: 20.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002948/0.4599, allocations: 1.448 MB / 0.601 GB, free: 20.35 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/0.4599, allocations: 5.469 kB / 0.601 GB, free: 20.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/0.46, allocations: 45.11 kB / 0.601 GB, free: 20.31 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.413e-05/0.4601, allocations: 24.25 kB / 0.601 GB, free: 20.31 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002955/0.463, allocations: 1.342 MB / 0.6023 GB, free: 19.86 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.009767/0.4728, allocations: 5.181 MB / 0.6074 GB, free: 16.81 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008316/0.4811, allocations: 2.919 MB / 0.6103 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002182/0.4834, allocations: 0.9256 MB / 0.6112 GB, free: 15.23 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004923/0.4839, allocations: 0.7274 MB / 0.6119 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002662/0.4866, allocations: 1.064 MB / 0.6129 GB, free: 13.97 MB / 430.1 MB Notification: Performance of pre-optimization done (n=129): time 1.196e-05/0.4866, allocations: 5.484 kB / 0.6129 GB, free: 13.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.0453/0.5319, allocations: 10.54 MB / 0.6232 GB, free: 9.055 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.532, allocations: 116.1 kB / 0.6233 GB, free: 8.918 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002343/0.5343, allocations: 1.414 MB / 0.6247 GB, free: 7.496 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004131/0.5348, allocations: 49.7 kB / 0.6247 GB, free: 7.441 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004672/0.5353, allocations: 0.6275 MB / 0.6254 GB, free: 6.809 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006713/0.5359, allocations: 473.3 kB / 0.6258 GB, free: 6.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009753/0.5369, allocations: 359.4 kB / 0.6262 GB, free: 5.984 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.139e-05/0.537, allocations: 305.1 kB / 0.6264 GB, free: 5.684 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001947/0.5389, allocations: 0.9917 MB / 0.6274 GB, free: 4.691 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001974/0.5409, allocations: 1.215 MB / 0.6286 GB, free: 3.426 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00371/0.5446, allocations: 2.13 MB / 0.6307 GB, free: 1.242 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/0.5447, allocations: 4 kB / 0.6307 GB, free: 1.238 MB / 430.1 MB Notification: Performance of matching and sorting (n=252) (initialization): time 0.009155/0.5538, allocations: 3.722 MB / 0.6343 GB, free: 13.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/0.5539, allocations: 8 kB / 0.6343 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.619e-05/0.5539, allocations: 4 kB / 0.6343 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009627/0.5636, allocations: 2.683 MB / 0.6369 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00171/0.5653, allocations: 335.5 kB / 0.6373 GB, free: 10.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006789/0.5721, allocations: 2.695 MB / 0.6399 GB, free: 7.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00288/0.575, allocations: 250.2 kB / 0.6401 GB, free: 7.504 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003878/0.5755, allocations: 67.97 kB / 0.6402 GB, free: 7.438 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,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.001015/0.5765, allocations: 302.1 kB / 0.6405 GB, free: 7.133 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006619/0.5772, allocations: 161.9 kB / 0.6406 GB, free: 6.973 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01675/0.5939, allocations: 4.87 MB / 0.6454 GB, free: 2.082 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.521e-05/0.594, allocations: 12 kB / 0.6454 GB, free: 2.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/0.594, allocations: 4 kB / 0.6454 GB, free: 2.066 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.365e-05/0.5941, allocations: 3.984 kB / 0.6454 GB, free: 2.062 MB / 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.02114/0.6152, allocations: 6.892 MB / 0.6522 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.548e-05/0.6153, allocations: 4 kB / 0.6522 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/0.6164, allocations: 147.8 kB / 0.6523 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007854/0.6243, allocations: 2.146 MB / 0.6544 GB, free: 8.73 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003478/0.6247, allocations: 31.92 kB / 0.6544 GB, free: 8.699 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02695/0.6516, allocations: 10.07 MB / 0.6643 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/0.6517, allocations: 7.984 kB / 0.6643 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01968/0.6714, allocations: 5.952 MB / 0.6701 GB, free: 8.488 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008875/0.6723, allocations: 274.7 kB / 0.6703 GB, free: 8.199 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007163/0.673, allocations: 27.98 kB / 0.6704 GB, free: 8.172 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002135/0.6752, allocations: 123.9 kB / 0.6705 GB, free: 8.051 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001026/0.6762, allocations: 261.4 kB / 0.6707 GB, free: 7.797 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002309/0.6765, allocations: 32 kB / 0.6708 GB, free: 7.766 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001741/0.6782, allocations: 0.9438 MB / 0.6717 GB, free: 6.824 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.6783, allocations: 0 / 0.6717 GB, free: 6.824 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002374/0.6806, allocations: 0.5464 MB / 0.6722 GB, free: 6.277 MB / 478.1 MB 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.02/0.7007, allocations: 6.571 MB / 0.6786 GB, free: 15.66 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01041/0.7111, allocations: 2.955 MB / 0.6815 GB, free: 12.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/0.7112, allocations: 4 kB / 0.6815 GB, free: 12.69 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006756/0.7179, allocations: 1.939 MB / 0.6834 GB, free: 10.74 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002225/0.7202, allocations: 145.3 kB / 0.6836 GB, free: 10.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05087/0.7711, allocations: 20.85 MB / 0.7039 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/0.7722, allocations: 1.239 MB / 0.7051 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008781/0.7731, allocations: 154.3 kB / 0.7053 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/0.7742, allocations: 0.6203 MB / 0.7059 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of SimCode: time 8.82e-07/0.7742, allocations: 0 / 0.7059 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08497/0.8592, allocations: 43.97 MB / 0.7488 GB, free: 6.875 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/13.26, allocations: 4.969 kB / 0.7488 GB, free: 6.871 MB / 0.545 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEET1.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.IEEET1.pipe 2>&1)