Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.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.ESDC1A,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",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.005734/0.005734, allocations: 97.62 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.324/1.324, allocations: 222.9 MB / 239.4 MB, free: 4.551 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.001301/0.001301, allocations: 188.5 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4506/0.4506, allocations: 78.53 MB / 418.4 MB, free: 3.172 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 80.11 kB / 0.5532 GB, free: 1.461 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3387, allocations: 68.16 MB / 0.6197 GB, free: 9.477 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A): time 0.006856/0.3456, allocations: 8.744 MB / 0.6283 GB, free: 1.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005431/0.351, allocations: 2.852 MB / 0.6311 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009904/0.3521, allocations: 19.94 kB / 0.6311 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008714/0.3529, allocations: 341.1 kB / 0.6314 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002824/0.3558, allocations: 1.288 MB / 0.6327 GB, free: 12.91 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001715/0.3575, allocations: 0.86 MB / 0.6335 GB, free: 12.06 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002428/0.36, allocations: 2.568 MB / 0.636 GB, free: 9.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006036/0.3606, allocations: 494.1 kB / 0.6365 GB, free: 8.961 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009927/0.3616, allocations: 0.9767 MB / 0.6374 GB, free: 7.977 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001191/0.3628, allocations: 1.21 MB / 0.6386 GB, free: 6.762 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002671/0.3631, allocations: 204 kB / 0.6388 GB, free: 6.562 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007179/0.3638, allocations: 475.7 kB / 0.6393 GB, free: 6.098 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003981/0.3642, allocations: 0.4981 MB / 0.6397 GB, free: 5.598 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007669/0.365, allocations: 0.9867 MB / 0.6407 GB, free: 4.605 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002409/0.3674, allocations: 2.588 MB / 0.6432 GB, free: 2.012 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3674, allocations: 0 / 0.6432 GB, free: 2.012 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.3674, allocations: 4 kB / 0.6432 GB, free: 2.008 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.277e-05/0.3674, allocations: 3.938 kB / 0.6432 GB, free: 2.004 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: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.01409/0.3815, allocations: 4.105 MB / 0.6473 GB, free: 13.84 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.3816, allocations: 12.03 kB / 0.6473 GB, free: 13.83 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000214/0.3818, allocations: 164.5 kB / 0.6474 GB, free: 13.66 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004667/0.3865, allocations: 0.7754 MB / 0.6482 GB, free: 12.88 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002154/0.3887, allocations: 1.229 MB / 0.6494 GB, free: 11.6 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004552/0.3891, allocations: 466.5 kB / 0.6498 GB, free: 11.07 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002401/0.3894, allocations: 127.9 kB / 0.6499 GB, free: 10.95 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003096/0.3925, allocations: 1.519 MB / 0.6514 GB, free: 9.375 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/0.3925, allocations: 0 / 0.6514 GB, free: 9.375 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/0.3927, allocations: 47.94 kB / 0.6515 GB, free: 9.328 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.268e-05/0.3927, allocations: 27.98 kB / 0.6515 GB, free: 9.301 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003112/0.3958, allocations: 1.417 MB / 0.6529 GB, free: 7.875 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.008849/0.4047, allocations: 5.395 MB / 0.6582 GB, free: 2.246 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008658/0.4133, allocations: 3.064 MB / 0.6611 GB, free: 15.04 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002037/0.4154, allocations: 0.9668 MB / 0.6621 GB, free: 14.07 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000542/0.416, allocations: 0.7375 MB / 0.6628 GB, free: 13.17 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002294/0.4183, allocations: 1.118 MB / 0.6639 GB, free: 12.03 MB / 478.1 MB Notification: Performance of pre-optimization done (n=133): time 2.935e-06/0.4183, allocations: 4 kB / 0.6639 GB, free: 12.02 MB / 478.1 MB Notification: Performance of matching and sorting (n=133): time 0.04016/0.4584, allocations: 9.765 MB / 0.6734 GB, free: 2.215 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.084e-05/0.4585, allocations: 116.1 kB / 0.6736 GB, free: 2.078 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002629/0.4612, allocations: 1.54 MB / 0.6751 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003605/0.4616, allocations: 57.7 kB / 0.6751 GB, free: 480 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005083/0.4621, allocations: 0.6604 MB / 0.6758 GB, free: 15.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005496/0.4626, allocations: 0.5036 MB / 0.6763 GB, free: 15.29 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006849/0.4633, allocations: 371.6 kB / 0.6766 GB, free: 14.92 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.111e-05/0.4634, allocations: 301.1 kB / 0.6769 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002362/0.4658, allocations: 1.05 MB / 0.6779 GB, free: 13.57 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002542/0.4683, allocations: 1.278 MB / 0.6792 GB, free: 12.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00475/0.4731, allocations: 2.22 MB / 0.6813 GB, free: 9.949 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/0.4731, allocations: 4 kB / 0.6813 GB, free: 9.945 MB / 494.1 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.01011/0.4833, allocations: 3.84 MB / 0.6851 GB, free: 6.094 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.712e-05/0.4833, allocations: 19.94 kB / 0.6851 GB, free: 6.074 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.671e-05/0.4834, allocations: 4 kB / 0.6851 GB, free: 6.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009608/0.493, allocations: 2.675 MB / 0.6877 GB, free: 3.391 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001825/0.4948, allocations: 359.5 kB / 0.6881 GB, free: 3.039 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006585/0.5014, allocations: 2.7 MB / 0.6907 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002644/0.5041, allocations: 278.6 kB / 0.691 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003526/0.5045, allocations: 71.98 kB / 0.691 GB, free: 15.97 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,eSDC1A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (204): * Single equations (assignments): 202 * 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.0008656/0.5054, allocations: 317.5 kB / 0.6913 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004697/0.5058, allocations: 182.8 kB / 0.6915 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01662/0.5225, allocations: 4.954 MB / 0.6964 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.94e-05/0.5225, allocations: 16 kB / 0.6964 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.5225, allocations: 0 / 0.6964 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.21e-05/0.5226, allocations: 7.969 kB / 0.6964 GB, free: 10.47 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.02001/0.5426, allocations: 7.12 MB / 0.7033 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.518e-05/0.5426, allocations: 0 / 0.7033 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/0.5438, allocations: 163.8 kB / 0.7035 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007702/0.5515, allocations: 2.138 MB / 0.7056 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002807/0.5518, allocations: 31.98 kB / 0.7056 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02715/0.5789, allocations: 10.08 MB / 0.7154 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.579, allocations: 3.938 kB / 0.7154 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0201/0.5991, allocations: 6.141 MB / 0.7214 GB, free: 496 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007086/0.5998, allocations: 295.5 kB / 0.7217 GB, free: 180 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005093/0.6004, allocations: 31.94 kB / 0.7218 GB, free: 148 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001983/0.6024, allocations: 143.8 kB / 0.7219 GB, free: 4 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009764/0.6034, allocations: 269.5 kB / 0.7221 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001771/0.6035, allocations: 43.92 kB / 0.7222 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002116/0.6057, allocations: 1.032 MB / 0.7232 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.01e-07/0.6057, allocations: 0 / 0.7232 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002112/0.6078, allocations: 0.5698 MB / 0.7238 GB, free: 14.1 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,eSDC1A.imDerivativeLag.x,eSDC1A.imLeadLag.TF.x_scaled[1],eSDC1A.simpleLagLim.state,eSDC1A.rotatingExciterLimited.sISO.y,eSDC1A.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 (90): * Single equations (assignments): 89 * 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.02006/0.6279, allocations: 6.751 MB / 0.7303 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009865/0.6378, allocations: 3.044 MB / 0.7333 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.6378, allocations: 0.875 kB / 0.7333 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006795/0.6446, allocations: 1.992 MB / 0.7353 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002068/0.6467, allocations: 165.6 kB / 0.7354 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05932/0.706, allocations: 21.97 MB / 0.7569 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001128/0.7072, allocations: 1.274 MB / 0.7581 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001014/0.7082, allocations: 158.8 kB / 0.7583 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001307/0.7096, allocations: 0.6594 MB / 0.7589 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of SimCode: time 1.172e-06/0.7096, allocations: 0 / 0.7589 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3429/1.052, allocations: 46.69 MB / 0.8045 GB, free: 113.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.17/15.22, allocations: 8 kB / 0.8045 GB, free: 113.9 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A_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_ESDC1A.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe 2>&1)