Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.ESDC1A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A,fileNamePrefix="OpenIPSL_dev_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.001184/0.001184, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.373/1.373, allocations: 222.9 MB / 238.9 MB, free: 4.758 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.001481/0.001482, allocations: 188.5 kB / 289.2 MB, free: 2.492 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5269/0.5269, allocations: 91.9 MB / 431.2 MB, free: 9.438 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 71.89 kB / 0.5013 GB, free: 8.059 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.3735, allocations: 71.26 MB / 0.5709 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A): time 0.00744/0.3809, allocations: 9.101 MB / 0.5798 GB, free: 31.03 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005469/0.3865, allocations: 2.884 MB / 0.5826 GB, free: 29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001453/0.3879, allocations: 19 kB / 0.5826 GB, free: 29 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009212/0.3889, allocations: 261 kB / 0.5829 GB, free: 28.89 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002308/0.3912, allocations: 0.9148 MB / 0.5838 GB, free: 28.29 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001758/0.393, allocations: 0.8824 MB / 0.5846 GB, free: 27.8 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002384/0.3954, allocations: 2.266 MB / 0.5869 GB, free: 26.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000611/0.396, allocations: 445.7 kB / 0.5873 GB, free: 26.49 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001197/0.3972, allocations: 0.848 MB / 0.5881 GB, free: 26.11 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001151/0.3984, allocations: 1.117 MB / 0.5892 GB, free: 25.6 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002424/0.3986, allocations: 113.7 kB / 0.5893 GB, free: 25.6 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008438/0.3995, allocations: 384 kB / 0.5897 GB, free: 25.51 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003396/0.3998, allocations: 418.2 kB / 0.5901 GB, free: 25.27 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000717/0.4006, allocations: 0.894 MB / 0.5909 GB, free: 24.69 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002078/0.4026, allocations: 2.453 MB / 0.5933 GB, free: 23.65 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4027, allocations: 0 / 0.5933 GB, free: 23.65 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.4027, allocations: 0 / 0.5933 GB, free: 23.65 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.449e-05/0.4027, allocations: 1.344 kB / 0.5933 GB, free: 23.65 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: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.01383/0.4165, allocations: 3.759 MB / 0.597 GB, free: 22.06 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.328e-05/0.4166, allocations: 13.36 kB / 0.597 GB, free: 22.06 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002552/0.4169, allocations: 163.6 kB / 0.5972 GB, free: 21.95 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004935/0.4218, allocations: 0.7757 MB / 0.5979 GB, free: 21.76 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002554/0.4244, allocations: 1.207 MB / 0.5991 GB, free: 20.99 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004631/0.4249, allocations: 462 kB / 0.5996 GB, free: 20.57 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002506/0.4251, allocations: 122.3 kB / 0.5997 GB, free: 20.52 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003338/0.4285, allocations: 1.525 MB / 0.6012 GB, free: 19.91 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/0.4285, allocations: 5.031 kB / 0.6012 GB, free: 19.9 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001252/0.4287, allocations: 41.16 kB / 0.6012 GB, free: 19.87 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.874e-05/0.4287, allocations: 24.59 kB / 0.6012 GB, free: 19.87 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003371/0.4321, allocations: 1.419 MB / 0.6026 GB, free: 19.39 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.01079/0.4429, allocations: 5.414 MB / 0.6079 GB, free: 16.24 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008711/0.4516, allocations: 3.071 MB / 0.6109 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002116/0.4537, allocations: 0.9689 MB / 0.6119 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004756/0.4542, allocations: 0.7286 MB / 0.6126 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002391/0.4566, allocations: 1.115 MB / 0.6137 GB, free: 13.33 MB / 430.1 MB Notification: Performance of pre-optimization done (n=133): time 3.727e-06/0.4566, allocations: 4.719 kB / 0.6137 GB, free: 13.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=133): time 0.04029/0.4969, allocations: 9.769 MB / 0.6232 GB, free: 8.508 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.497, allocations: 120.1 kB / 0.6233 GB, free: 8.367 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002263/0.4993, allocations: 1.543 MB / 0.6248 GB, free: 6.816 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003869/0.4997, allocations: 53.7 kB / 0.6249 GB, free: 6.758 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000378/0.5001, allocations: 0.6398 MB / 0.6255 GB, free: 6.113 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004403/0.5005, allocations: 485.1 kB / 0.626 GB, free: 5.633 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006095/0.5011, allocations: 379.5 kB / 0.6263 GB, free: 5.254 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.058e-05/0.5012, allocations: 305.1 kB / 0.6266 GB, free: 4.953 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002005/0.5032, allocations: 1.043 MB / 0.6276 GB, free: 3.906 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002117/0.5053, allocations: 1.274 MB / 0.6289 GB, free: 2.566 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003868/0.5092, allocations: 2.228 MB / 0.6311 GB, free: 292 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.358e-06/0.5092, allocations: 4 kB / 0.6311 GB, free: 288 kB / 430.1 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.009379/0.5186, allocations: 3.828 MB / 0.6348 GB, free: 12.44 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.041e-05/0.5187, allocations: 11.94 kB / 0.6348 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.57e-05/0.5187, allocations: 4 kB / 0.6348 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00942/0.5281, allocations: 2.683 MB / 0.6374 GB, free: 9.734 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00185/0.53, allocations: 359.5 kB / 0.6378 GB, free: 9.383 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00623/0.5362, allocations: 2.695 MB / 0.6404 GB, free: 6.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002868/0.5391, allocations: 278.1 kB / 0.6407 GB, free: 6.387 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003571/0.5395, allocations: 79.92 kB / 0.6407 GB, free: 6.309 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,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.001025/0.5405, allocations: 321.5 kB / 0.6411 GB, free: 5.984 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006836/0.5412, allocations: 177.8 kB / 0.6412 GB, free: 5.809 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01673/0.558, allocations: 4.946 MB / 0.6461 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-05/0.558, allocations: 12 kB / 0.6461 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.5581, allocations: 0 / 0.6461 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.024e-05/0.5581, allocations: 11.97 kB / 0.6461 GB, free: 0.8125 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.02145/0.5796, allocations: 7.125 MB / 0.653 GB, free: 9.559 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-05/0.5796, allocations: 3.938 kB / 0.653 GB, free: 9.555 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/0.5808, allocations: 167.8 kB / 0.6532 GB, free: 9.391 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007408/0.5882, allocations: 2.138 MB / 0.6553 GB, free: 7.246 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003318/0.5886, allocations: 31.98 kB / 0.6553 GB, free: 7.215 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02546/0.614, allocations: 9.171 MB / 0.6643 GB, free: 13.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.6141, allocations: 4 kB / 0.6643 GB, free: 13.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02013/0.6342, allocations: 6.126 MB / 0.6703 GB, free: 7.738 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009277/0.6352, allocations: 290.5 kB / 0.6705 GB, free: 7.434 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007366/0.636, allocations: 27.98 kB / 0.6706 GB, free: 7.406 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002227/0.6382, allocations: 151.8 kB / 0.6707 GB, free: 7.258 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001039/0.6393, allocations: 261.2 kB / 0.671 GB, free: 7.004 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001843/0.6395, allocations: 39.98 kB / 0.671 GB, free: 6.965 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002296/0.6418, allocations: 1.036 MB / 0.672 GB, free: 5.934 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6418, allocations: 0 / 0.672 GB, free: 5.934 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002461/0.6443, allocations: 0.5659 MB / 0.6726 GB, free: 5.367 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,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.01973/0.664, allocations: 6.739 MB / 0.6791 GB, free: 14.58 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009815/0.6739, allocations: 3.01 MB / 0.6821 GB, free: 11.57 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.6739, allocations: 0 / 0.6821 GB, free: 11.57 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006686/0.6806, allocations: 1.956 MB / 0.684 GB, free: 9.598 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002483/0.6831, allocations: 151.6 kB / 0.6841 GB, free: 9.449 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06405/0.7472, allocations: 23.98 MB / 0.7076 GB, free: 336 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00135/0.7486, allocations: 1.278 MB / 0.7088 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001125/0.7497, allocations: 162.8 kB / 0.709 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001289/0.751, allocations: 0.6516 MB / 0.7096 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of SimCode: time 9.32e-07/0.751, allocations: 0 / 0.7096 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07748/0.8285, allocations: 42.81 MB / 0.7514 GB, free: 3.559 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002142/0.8288, allocations: 219.8 kB / 0.7516 GB, free: 3.293 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.15/3.979, allocations: 0 / 0.7516 GB, free: 3.293 MB / 0.545 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe 2>&1)