Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.EXST1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXST1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXST1,fileNamePrefix="OpenIPSL_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.0007728/0.0007728, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.161/1.161, allocations: 223.2 MB / 239.3 MB, free: 5.547 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.0009136/0.0009136, allocations: 172.6 kB / 290.6 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3944/0.3944, allocations: 78.57 MB / 420.3 MB, free: 4.301 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003041/0.0003041, allocations: 8 kB / 0.4888 GB, free: 5.949 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1026, allocations: 69.35 MB / 0.5565 GB, free: 0.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.EXST1): time 0.187/0.2896, allocations: 8.16 MB / 0.5645 GB, free: 34.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003005/0.2927, allocations: 2.675 MB / 0.5671 GB, free: 33.4 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003946/0.2931, allocations: 15.25 kB / 0.5671 GB, free: 33.4 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005088/0.2936, allocations: 250.3 kB / 0.5673 GB, free: 33.31 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001768/0.2954, allocations: 1.088 MB / 0.5684 GB, free: 32.86 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009476/0.2963, allocations: 0.6881 MB / 0.5691 GB, free: 32.8 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001363/0.2977, allocations: 2.289 MB / 0.5713 GB, free: 32.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003788/0.2981, allocations: 372.5 kB / 0.5716 GB, free: 32.26 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000517/0.2986, allocations: 0.7957 MB / 0.5724 GB, free: 32.03 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007263/0.2994, allocations: 1.046 MB / 0.5734 GB, free: 31.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001513/0.2995, allocations: 93.09 kB / 0.5735 GB, free: 31.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003786/0.2999, allocations: 260.4 kB / 0.5738 GB, free: 31.74 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002184/0.3001, allocations: 380.1 kB / 0.5741 GB, free: 31.63 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004387/0.3006, allocations: 0.8435 MB / 0.575 GB, free: 31.28 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001207/0.3018, allocations: 2.188 MB / 0.5771 GB, free: 30.78 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.3018, allocations: 0 / 0.5771 GB, free: 30.78 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3018, allocations: 0 / 0.5771 GB, free: 30.78 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.5e-05/0.3018, allocations: 0 / 0.5771 GB, free: 30.78 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.01127/0.3131, allocations: 3.714 MB / 0.5807 GB, free: 29.7 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.3131, allocations: 10.38 kB / 0.5807 GB, free: 29.7 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001678/0.3133, allocations: 157.9 kB / 0.5809 GB, free: 29.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00392/0.3172, allocations: 0.7693 MB / 0.5816 GB, free: 29.53 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.3186, allocations: 1.147 MB / 0.5828 GB, free: 29.06 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004286/0.319, allocations: 0.4998 MB / 0.5833 GB, free: 28.64 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001835/0.3192, allocations: 110.2 kB / 0.5834 GB, free: 28.64 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002698/0.3219, allocations: 1.576 MB / 0.5849 GB, free: 28.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.3219, allocations: 2.281 kB / 0.5849 GB, free: 28.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/0.3221, allocations: 40.12 kB / 0.5849 GB, free: 28.29 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.3221, allocations: 23 kB / 0.585 GB, free: 28.29 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003099/0.3252, allocations: 1.547 MB / 0.5865 GB, free: 27.81 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.00696/0.3322, allocations: 5.066 MB / 0.5914 GB, free: 24.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008453/0.3406, allocations: 3.588 MB / 0.5949 GB, free: 23.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001988/0.3426, allocations: 1.056 MB / 0.596 GB, free: 23.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/0.3427, allocations: 29.47 kB / 0.596 GB, free: 23.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.3428, allocations: 50.92 kB / 0.596 GB, free: 23.27 MB / 430.1 MB Notification: Performance of pre-optimization done (n=128): time 2.796e-06/0.3428, allocations: 0 / 0.596 GB, free: 23.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=128): time 0.04167/0.3845, allocations: 12.23 MB / 0.608 GB, free: 21.27 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.3845, allocations: 145.4 kB / 0.6081 GB, free: 21.11 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001888/0.3864, allocations: 1.447 MB / 0.6095 GB, free: 20.53 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000128/0.3866, allocations: 55.05 kB / 0.6096 GB, free: 20.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003398/0.3869, allocations: 0.6081 MB / 0.6102 GB, free: 20 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003344/0.3872, allocations: 472.1 kB / 0.6106 GB, free: 19.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002166/0.3875, allocations: 180.4 kB / 0.6108 GB, free: 19.51 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 2.85e-05/0.3875, allocations: 309 kB / 0.6111 GB, free: 19.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002229/0.3897, allocations: 1.121 MB / 0.6122 GB, free: 18.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002288/0.392, allocations: 1.325 MB / 0.6135 GB, free: 17.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004297/0.3963, allocations: 2.37 MB / 0.6158 GB, free: 16.61 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.3964, allocations: 4 kB / 0.6158 GB, free: 16.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=244) (initialization): time 0.008773/0.4051, allocations: 4.328 MB / 0.62 GB, free: 12.26 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.31e-05/0.4052, allocations: 202.4 kB / 0.6202 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.4052, allocations: 4 kB / 0.6202 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009196/0.4144, allocations: 3.449 MB / 0.6236 GB, free: 8.562 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.4155, allocations: 295.6 kB / 0.6239 GB, free: 8.273 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007229/0.4227, allocations: 3.584 MB / 0.6274 GB, free: 4.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001855/0.4246, allocations: 314.2 kB / 0.6277 GB, free: 4.352 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/0.4247, allocations: 63.97 kB / 0.6277 GB, free: 4.289 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.803e-06/0.4247, allocations: 9.25 kB / 0.6277 GB, free: 4.281 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008435/0.4332, allocations: 4.121 MB / 0.6318 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.4332, allocations: 5.016 kB / 0.6318 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009857/0.4431, allocations: 3.418 MB / 0.6351 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.4442, allocations: 296.4 kB / 0.6354 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008016/0.4522, allocations: 3.523 MB / 0.6388 GB, free: 8.887 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001821/0.454, allocations: 282.5 kB / 0.6391 GB, free: 8.609 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/0.4542, allocations: 63.98 kB / 0.6392 GB, free: 8.547 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 (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 {(34,40)} Notification: Performance of prepare postOptimizeDAE: time 0.0005901/0.4548, allocations: 380.8 kB / 0.6395 GB, free: 8.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002803/0.4551, allocations: 165.9 kB / 0.6397 GB, free: 7.996 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0173/0.4724, allocations: 6.079 MB / 0.6456 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.4724, allocations: 13.78 kB / 0.6456 GB, free: 1.887 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.4724, allocations: 0 / 0.6456 GB, free: 1.887 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/0.4724, allocations: 7.984 kB / 0.6456 GB, free: 1.879 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.02006/0.4925, allocations: 8.35 MB / 0.6538 GB, free: 9.383 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.4925, allocations: 0 / 0.6538 GB, free: 9.383 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002459/0.495, allocations: 479.5 kB / 0.6542 GB, free: 8.914 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007875/0.5029, allocations: 2.625 MB / 0.6568 GB, free: 6.285 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001328/0.503, allocations: 28.88 kB / 0.6568 GB, free: 6.258 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02909/0.5321, allocations: 14.07 MB / 0.6706 GB, free: 7.793 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.5321, allocations: 3.938 kB / 0.6706 GB, free: 7.789 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02036/0.5525, allocations: 7.47 MB / 0.6779 GB, free: 296 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000524/0.5531, allocations: 275.6 kB / 0.6781 GB, free: 0 / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003122/0.5534, allocations: 29.3 kB / 0.6782 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001747/0.5551, allocations: 191.8 kB / 0.6783 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007013/0.5558, allocations: 261.2 kB / 0.6786 GB, free: 15.53 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/0.556, allocations: 35.98 kB / 0.6786 GB, free: 15.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001517/0.5575, allocations: 0.9708 MB / 0.6796 GB, free: 14.53 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.843e-06/0.5575, allocations: 0 / 0.6796 GB, free: 14.53 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002246/0.5597, allocations: 0.8777 MB / 0.6804 GB, free: 13.65 MB / 494.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 (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 {(1,6), (26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02063/0.5804, allocations: 8.076 MB / 0.6883 GB, free: 5.527 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01776/0.5982, allocations: 5.994 MB / 0.6942 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.5982, allocations: 4 kB / 0.6942 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00833/0.6065, allocations: 2.675 MB / 0.6968 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.6078, allocations: 149.2 kB / 0.6969 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0481/0.6559, allocations: 23.47 MB / 0.7199 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007599/0.6567, allocations: 1.246 MB / 0.7211 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007357/0.6574, allocations: 171.2 kB / 0.7212 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007694/0.6582, allocations: 0.6047 MB / 0.7218 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of SimCode: time 1.062e-06/0.6582, allocations: 3.938 kB / 0.7218 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0663/0.7245, allocations: 47.76 MB / 0.7685 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001924/0.7248, allocations: 213.5 kB / 0.7687 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.71/3.434, allocations: 0.7656 kB / 0.7687 GB, free: 2.59 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXST1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXST1.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.pipe 2>&1)