Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.EXAC1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXAC1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1",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.004981/0.004981, allocations: 99.45 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.267/1.267, allocations: 222.9 MB / 239.4 MB, free: 4.527 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.001367/0.001367, allocations: 188.5 kB / 289.7 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4285/0.4285, allocations: 78.53 MB / 418.4 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 75.88 kB / 0.5532 GB, free: 1.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3221, allocations: 68.18 MB / 0.6197 GB, free: 9.359 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.EXAC1): time 0.006649/0.3288, allocations: 8.94 MB / 0.6285 GB, free: 1.172 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005387/0.3342, allocations: 2.871 MB / 0.6313 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001176/0.3354, allocations: 16 kB / 0.6313 GB, free: 14.28 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009495/0.3363, allocations: 349 kB / 0.6316 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002954/0.3393, allocations: 1.303 MB / 0.6329 GB, free: 12.63 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001846/0.3412, allocations: 0.8875 MB / 0.6338 GB, free: 11.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002961/0.3441, allocations: 2.646 MB / 0.6363 GB, free: 9.094 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006949/0.3449, allocations: 0.5181 MB / 0.6369 GB, free: 8.535 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001157/0.346, allocations: 0.9961 MB / 0.6378 GB, free: 7.535 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001333/0.3474, allocations: 1.241 MB / 0.639 GB, free: 6.289 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002854/0.3477, allocations: 216 kB / 0.6392 GB, free: 6.078 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007566/0.3484, allocations: 491.7 kB / 0.6397 GB, free: 5.598 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004126/0.3489, allocations: 0.5253 MB / 0.6402 GB, free: 5.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008379/0.3497, allocations: 1.022 MB / 0.6412 GB, free: 4.043 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002661/0.3524, allocations: 2.689 MB / 0.6439 GB, free: 1.348 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3524, allocations: 4 kB / 0.6439 GB, free: 1.344 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3524, allocations: 0 / 0.6439 GB, free: 1.344 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.492e-05/0.3524, allocations: 0 / 0.6439 GB, free: 1.344 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.01461/0.3671, allocations: 4.17 MB / 0.6479 GB, free: 13.11 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.3671, allocations: 8.031 kB / 0.6479 GB, free: 13.1 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002233/0.3673, allocations: 176.9 kB / 0.6481 GB, free: 12.92 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004605/0.372, allocations: 0.7909 MB / 0.6489 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002081/0.374, allocations: 1.26 MB / 0.6501 GB, free: 10.82 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005107/0.3746, allocations: 0.4924 MB / 0.6506 GB, free: 10.24 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002366/0.3748, allocations: 124 kB / 0.6507 GB, free: 10.12 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003234/0.3781, allocations: 1.587 MB / 0.6523 GB, free: 8.484 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.3781, allocations: 0 / 0.6523 GB, free: 8.484 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001346/0.3782, allocations: 44 kB / 0.6523 GB, free: 8.441 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.432e-05/0.3783, allocations: 28 kB / 0.6523 GB, free: 8.414 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003328/0.3816, allocations: 1.48 MB / 0.6538 GB, free: 6.926 MB / 462.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.009518/0.3911, allocations: 5.518 MB / 0.6592 GB, free: 1.188 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009031/0.4002, allocations: 3.126 MB / 0.6622 GB, free: 13.92 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002178/0.4024, allocations: 0.9902 MB / 0.6632 GB, free: 12.92 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005722/0.403, allocations: 0.7296 MB / 0.6639 GB, free: 12.03 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002467/0.4055, allocations: 1.141 MB / 0.665 GB, free: 10.86 MB / 478.1 MB Notification: Performance of pre-optimization done (n=136): time 3.646e-06/0.4055, allocations: 0 / 0.665 GB, free: 10.86 MB / 478.1 MB Notification: Performance of matching and sorting (n=136): time 0.04237/0.4478, allocations: 10.06 MB / 0.6748 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.908e-05/0.448, allocations: 116.1 kB / 0.6749 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002657/0.4506, allocations: 1.56 MB / 0.6765 GB, free: 15.05 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003147/0.451, allocations: 49.7 kB / 0.6765 GB, free: 15 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005723/0.4515, allocations: 0.6837 MB / 0.6772 GB, free: 14.31 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006946/0.4522, allocations: 0.5113 MB / 0.6777 GB, free: 13.79 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009/0.4531, allocations: 379.7 kB / 0.678 GB, free: 13.41 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.4533, allocations: 309.1 kB / 0.6783 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002555/0.4558, allocations: 1.062 MB / 0.6794 GB, free: 12.04 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002689/0.4586, allocations: 1.298 MB / 0.6806 GB, free: 10.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00503/0.4636, allocations: 2.255 MB / 0.6828 GB, free: 8.375 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.4636, allocations: 0 / 0.6828 GB, free: 8.375 MB / 494.1 MB Notification: Performance of matching and sorting (n=263) (initialization): time 0.0113/0.4749, allocations: 4.157 MB / 0.6869 GB, free: 4.203 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.475, allocations: 8 kB / 0.6869 GB, free: 4.195 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.475, allocations: 4 kB / 0.6869 GB, free: 4.191 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009957/0.485, allocations: 2.804 MB / 0.6896 GB, free: 1.375 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001706/0.4867, allocations: 347.5 kB / 0.69 GB, free: 1.035 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007095/0.4938, allocations: 3.37 MB / 0.6933 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002561/0.4964, allocations: 286.5 kB / 0.6935 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002834/0.4967, allocations: 71.98 kB / 0.6936 GB, free: 13.27 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,eXAC1.rotatingExciterWithDemagnetizationLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 196 * 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 {(30,26), (1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0007964/0.4975, allocations: 325.5 kB / 0.6939 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004632/0.498, allocations: 182.8 kB / 0.6941 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01681/0.5148, allocations: 5.005 MB / 0.699 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.791e-05/0.5148, allocations: 12 kB / 0.699 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.5149, allocations: 4 kB / 0.699 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.86e-05/0.5149, allocations: 7.969 kB / 0.699 GB, free: 7.711 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.0203/0.5352, allocations: 7.206 MB / 0.706 GB, free: 376 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.535e-05/0.5352, allocations: 4 kB / 0.706 GB, free: 372 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/0.5364, allocations: 175.8 kB / 0.7062 GB, free: 196 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007665/0.5441, allocations: 2.138 MB / 0.7083 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002632/0.5443, allocations: 31.98 kB / 0.7083 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0263/0.5707, allocations: 10.08 MB / 0.7182 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.5707, allocations: 0 / 0.7182 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01989/0.5906, allocations: 6.199 MB / 0.7242 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006481/0.5913, allocations: 295.5 kB / 0.7245 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005042/0.5918, allocations: 32 kB / 0.7245 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001975/0.5938, allocations: 151.8 kB / 0.7247 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009523/0.5947, allocations: 277.4 kB / 0.7249 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001991/0.595, allocations: 35.98 kB / 0.725 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002013/0.597, allocations: 1.04 MB / 0.726 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.597, allocations: 0 / 0.726 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001939/0.5989, allocations: 0.5776 MB / 0.7266 GB, free: 11.15 MB / 0.5294 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,eXAC1.imLimitedSimpleLag.state,eXAC1.imDerivativeLag.x,eXAC1.leadLag.TF.x_scaled[1],eXAC1.rotatingExciterWithDemagnetizationLimited.sISO.y,eXAC1.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 (93): * Single equations (assignments): 92 * 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.02023/0.6192, allocations: 6.827 MB / 0.7332 GB, free: 4.281 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009708/0.6289, allocations: 3.078 MB / 0.7362 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.629, allocations: 0 / 0.7362 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00657/0.6355, allocations: 2.028 MB / 0.7382 GB, free: 15.16 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001567/0.6371, allocations: 161.6 kB / 0.7384 GB, free: 15 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05319/0.6903, allocations: 21.44 MB / 0.7593 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/0.6915, allocations: 1.29 MB / 0.7606 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008107/0.6923, allocations: 163.2 kB / 0.7607 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/0.6934, allocations: 0.6867 MB / 0.7614 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of SimCode: time 6.11e-07/0.6934, allocations: 0 / 0.7614 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3187/1.012, allocations: 48.27 MB / 0.8085 GB, free: 110.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.56/15.57, allocations: 8.844 kB / 0.8085 GB, free: 110.5 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.pipe 2>&1)