Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.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.EXST1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXST1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXST1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXST1",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.0009217/0.0009215, allocations: 91.3 kB / 15.06 MB, free: 1.098 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.426/1.426, allocations: 223.3 MB / 239 MB, free: 5.453 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.001308/0.001308, allocations: 176.5 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.531/0.531, allocations: 79.47 MB / 420.8 MB, free: 3.965 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003648/0.0003648, allocations: 8 kB / 0.4892 GB, free: 5.461 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4417/0.4421, allocations: 69.5 MB / 0.5571 GB, free: 37.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.EXST1): time 0.007774/0.4499, allocations: 7.654 MB / 0.5646 GB, free: 36.78 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005567/0.4555, allocations: 2.554 MB / 0.5671 GB, free: 36.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009006/0.4565, allocations: 15.16 kB / 0.5671 GB, free: 36.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007324/0.4572, allocations: 227.2 kB / 0.5673 GB, free: 35.96 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001949/0.4592, allocations: 0.8311 MB / 0.5681 GB, free: 35.61 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001555/0.4607, allocations: 0.6929 MB / 0.5688 GB, free: 35.36 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001831/0.4626, allocations: 2.008 MB / 0.5708 GB, free: 34.35 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005184/0.4631, allocations: 352.3 kB / 0.5711 GB, free: 34.22 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000792/0.4639, allocations: 0.7586 MB / 0.5718 GB, free: 33.9 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009357/0.4648, allocations: 1.001 MB / 0.5728 GB, free: 33.48 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001707/0.465, allocations: 90.12 kB / 0.5729 GB, free: 33.48 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005301/0.4656, allocations: 255.9 kB / 0.5731 GB, free: 33.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002816/0.4658, allocations: 361.9 kB / 0.5735 GB, free: 33.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002387/0.4661, allocations: 298.1 kB / 0.5738 GB, free: 33.04 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001214/0.4673, allocations: 1.723 MB / 0.5754 GB, free: 32.55 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.4673, allocations: 0 / 0.5754 GB, free: 32.55 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4673, allocations: 0 / 0.5754 GB, free: 32.55 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.797e-05/0.4674, allocations: 0 / 0.5754 GB, free: 32.55 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.01003/0.4774, allocations: 3.435 MB / 0.5788 GB, free: 31.29 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.4775, allocations: 7.812 kB / 0.5788 GB, free: 31.29 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00035/0.4778, allocations: 159 kB / 0.579 GB, free: 31.19 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004207/0.482, allocations: 0.7632 MB / 0.5797 GB, free: 31.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001895/0.4839, allocations: 1.085 MB / 0.5808 GB, free: 30.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004643/0.4844, allocations: 0.5055 MB / 0.5813 GB, free: 29.88 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001811/0.4846, allocations: 120.4 kB / 0.5814 GB, free: 29.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002753/0.4874, allocations: 1.56 MB / 0.5829 GB, free: 29.28 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/0.4874, allocations: 7.594 kB / 0.5829 GB, free: 29.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/0.4875, allocations: 37.66 kB / 0.5829 GB, free: 29.24 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.126e-05/0.4876, allocations: 24.31 kB / 0.583 GB, free: 29.24 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003009/0.4906, allocations: 1.54 MB / 0.5845 GB, free: 28.77 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.008473/0.4991, allocations: 5.046 MB / 0.5894 GB, free: 25.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00858/0.5076, allocations: 3.583 MB / 0.5929 GB, free: 24.7 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00223/0.5099, allocations: 1.053 MB / 0.5939 GB, free: 24.31 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001613/0.5101, allocations: 31.12 kB / 0.594 GB, free: 24.3 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.229e-05/0.5101, allocations: 45.88 kB / 0.594 GB, free: 24.25 MB / 430.1 MB Notification: Performance of pre-optimization done (n=128): time 3.487e-06/0.5101, allocations: 3.938 kB / 0.594 GB, free: 24.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=128): time 0.04195/0.5521, allocations: 12.17 MB / 0.6059 GB, free: 22.26 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.478e-05/0.5522, allocations: 148 kB / 0.606 GB, free: 22.1 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003916/0.5562, allocations: 1.431 MB / 0.6074 GB, free: 21.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004259/0.5566, allocations: 51.73 kB / 0.6075 GB, free: 21.47 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007557/0.5574, allocations: 0.6117 MB / 0.6081 GB, free: 20.99 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009154/0.5583, allocations: 477.6 kB / 0.6085 GB, free: 20.61 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003694/0.5587, allocations: 36.12 kB / 0.6086 GB, free: 20.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.5589, allocations: 376.6 kB / 0.6089 GB, free: 20.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002945/0.5619, allocations: 1.11 MB / 0.61 GB, free: 19.87 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003217/0.5651, allocations: 1.319 MB / 0.6113 GB, free: 19.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00285/0.568, allocations: 1.2 MB / 0.6125 GB, free: 18.76 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.321e-05/0.568, allocations: 0 / 0.6125 GB, free: 18.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=244) (initialization): time 0.009982/0.578, allocations: 4.215 MB / 0.6166 GB, free: 15.63 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001058/0.5781, allocations: 192 kB / 0.6168 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.5781, allocations: 4.625 kB / 0.6168 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009157/0.5873, allocations: 3.46 MB / 0.6201 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/0.5887, allocations: 299.5 kB / 0.6204 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007394/0.5961, allocations: 3.587 MB / 0.6239 GB, free: 8.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002587/0.5987, allocations: 310.3 kB / 0.6242 GB, free: 7.715 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003091/0.5991, allocations: 64.55 kB / 0.6243 GB, free: 7.652 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.5991, allocations: 4 kB / 0.6243 GB, free: 7.648 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008713/0.6078, allocations: 3.997 MB / 0.6282 GB, free: 3.648 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.6078, allocations: 4 kB / 0.6282 GB, free: 3.645 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008821/0.6167, allocations: 3.414 MB / 0.6315 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/0.6181, allocations: 299.6 kB / 0.6318 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008064/0.6262, allocations: 3.513 MB / 0.6353 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002433/0.6286, allocations: 282.5 kB / 0.6355 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003081/0.629, allocations: 67.98 kB / 0.6356 GB, free: 12.05 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {34 40} Notification: Performance of prepare postOptimizeDAE: time 0.001038/0.63, allocations: 380.7 kB / 0.636 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006706/0.6307, allocations: 175.7 kB / 0.6361 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01623/0.6469, allocations: 6.057 MB / 0.642 GB, free: 5.418 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.052e-05/0.647, allocations: 12 kB / 0.642 GB, free: 5.406 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.537e-05/0.647, allocations: 0.75 kB / 0.642 GB, free: 5.406 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.379e-05/0.6471, allocations: 7.969 kB / 0.6421 GB, free: 5.398 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.02073/0.6678, allocations: 8.348 MB / 0.6502 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.859e-05/0.6679, allocations: 0 / 0.6502 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002231/0.6701, allocations: 479.5 kB / 0.6507 GB, free: 12.44 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007518/0.6776, allocations: 2.625 MB / 0.6532 GB, free: 9.805 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002433/0.6779, allocations: 28.48 kB / 0.6533 GB, free: 9.777 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02894/0.7069, allocations: 14.05 MB / 0.667 GB, free: 11.32 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.7069, allocations: 0 / 0.667 GB, free: 11.32 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01936/0.7263, allocations: 7.455 MB / 0.6743 GB, free: 3.84 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000804/0.7271, allocations: 274.7 kB / 0.6745 GB, free: 3.551 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006327/0.7278, allocations: 28 kB / 0.6745 GB, free: 3.523 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00194/0.7297, allocations: 191.8 kB / 0.6747 GB, free: 3.336 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009409/0.7307, allocations: 270.1 kB / 0.675 GB, free: 3.074 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001825/0.7309, allocations: 39.94 kB / 0.675 GB, free: 3.035 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001986/0.7329, allocations: 0.9552 MB / 0.676 GB, free: 2.082 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.7329, allocations: 0.5625 kB / 0.676 GB, free: 2.082 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003737/0.7367, allocations: 0.8738 MB / 0.6768 GB, free: 1.207 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eXST1.imLeadLag.TF.x_scaled[1],eXST1.Vm1.state,eXST1.imDerivativeLag.x,eXST1.TransducerDelay.state,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01974/0.7564, allocations: 8.052 MB / 0.6847 GB, free: 9.113 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01753/0.774, allocations: 5.989 MB / 0.6905 GB, free: 3.137 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/0.7741, allocations: 4.188 kB / 0.6905 GB, free: 3.133 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007767/0.7818, allocations: 2.674 MB / 0.6931 GB, free: 448 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00221/0.7841, allocations: 150 kB / 0.6933 GB, free: 296 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03118/0.8153, allocations: 14.65 MB / 0.7076 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000968/0.8163, allocations: 1.238 MB / 0.7088 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001022/0.8173, allocations: 174.9 kB / 0.709 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009656/0.8183, allocations: 0.6047 MB / 0.7096 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of SimCode: time 1.242e-06/0.8183, allocations: 0 / 0.7096 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08083/0.8992, allocations: 47.64 MB / 0.7561 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001839/0.8994, allocations: 202.8 kB / 0.7563 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.35/4.249, allocations: 4 kB / 0.7563 GB, free: 15.4 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXST1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXST1.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.pipe 2>&1) Environment - environmentSimulation: