Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.1022/0.1022, allocations: 12.19 MB / 27.43 MB, free: 1.379 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 120.4 kB / 30.94 MB, free: 4.656 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.635/1.635, allocations: 205.1 MB / 239.4 MB, free: 10.92 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002073/0.002074, allocations: 184.5 kB / 289.6 MB, free: 15.83 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4905/0.4905, allocations: 78.5 MB / 418.1 MB, free: 31.75 MB / 318.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003019/0.003019, allocations: 131.8 kB / 498.5 MB, free: 404 kB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4034/0.4065, allocations: 68.03 MB / 0.5533 GB, free: 37.89 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A): time 0.008334/0.4148, allocations: 9.121 MB / 0.5622 GB, free: 31.22 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006194/0.4211, allocations: 2.842 MB / 0.565 GB, free: 29.18 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001974/0.4231, allocations: 14.72 kB / 0.565 GB, free: 29.18 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.4243, allocations: 266.3 kB / 0.5652 GB, free: 29.07 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00361/0.4279, allocations: 1.093 MB / 0.5663 GB, free: 28.36 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001803/0.4297, allocations: 0.7952 MB / 0.5671 GB, free: 27.92 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002826/0.4325, allocations: 2.551 MB / 0.5696 GB, free: 26.7 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006644/0.4332, allocations: 490 kB / 0.57 GB, free: 26.44 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001221/0.4345, allocations: 0.9649 MB / 0.571 GB, free: 25.96 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009792/0.4354, allocations: 1.215 MB / 0.5722 GB, free: 25.38 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002467/0.4357, allocations: 204 kB / 0.5723 GB, free: 25.37 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006789/0.4364, allocations: 475.1 kB / 0.5728 GB, free: 25.28 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002787/0.4367, allocations: 0.4996 MB / 0.5733 GB, free: 24.95 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000637/0.4373, allocations: 0.9977 MB / 0.5743 GB, free: 24.27 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002157/0.4395, allocations: 2.542 MB / 0.5767 GB, free: 23.17 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.4395, allocations: 0 / 0.5767 GB, free: 23.17 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4395, allocations: 0 / 0.5767 GB, free: 23.17 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.055e-05/0.4395, allocations: 0 / 0.5767 GB, free: 23.17 MB / 414.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.01497/0.4545, allocations: 4.049 MB / 0.5807 GB, free: 21.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.204e-05/0.4546, allocations: 14.2 kB / 0.5807 GB, free: 21.55 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002617/0.4549, allocations: 167.7 kB / 0.5809 GB, free: 21.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004904/0.4598, allocations: 0.7616 MB / 0.5816 GB, free: 21.26 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002428/0.4622, allocations: 1.208 MB / 0.5828 GB, free: 20.49 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004496/0.4627, allocations: 466.1 kB / 0.5832 GB, free: 20.06 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002647/0.463, allocations: 123.3 kB / 0.5834 GB, free: 20.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003224/0.4662, allocations: 1.528 MB / 0.5849 GB, free: 19.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/0.4662, allocations: 0 / 0.5849 GB, free: 19.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/0.4664, allocations: 42.42 kB / 0.5849 GB, free: 19.36 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.383e-05/0.4664, allocations: 24.75 kB / 0.5849 GB, free: 19.36 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003226/0.4696, allocations: 1.423 MB / 0.5863 GB, free: 18.88 MB / 414.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.009805/0.4794, allocations: 5.41 MB / 0.5916 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008639/0.4881, allocations: 3.074 MB / 0.5946 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002171/0.4903, allocations: 0.9783 MB / 0.5955 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005591/0.4909, allocations: 0.7263 MB / 0.5963 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002488/0.4934, allocations: 1.119 MB / 0.5973 GB, free: 11.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=133): time 6.012e-06/0.4934, allocations: 0 / 0.5973 GB, free: 11.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=133): time 0.03911/0.5325, allocations: 9.772 MB / 0.6069 GB, free: 3.297 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.391e-05/0.5327, allocations: 120.2 kB / 0.607 GB, free: 3.156 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003297/0.536, allocations: 1.539 MB / 0.6085 GB, free: 1.609 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005587/0.5366, allocations: 53.7 kB / 0.6086 GB, free: 1.551 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000621/0.5372, allocations: 0.6476 MB / 0.6092 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006833/0.5379, allocations: 481.1 kB / 0.6096 GB, free: 432 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001387/0.5393, allocations: 375.4 kB / 0.61 GB, free: 48 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.5395, allocations: 309.1 kB / 0.6103 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002812/0.5423, allocations: 1.05 MB / 0.6113 GB, free: 14.69 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002945/0.5452, allocations: 1.266 MB / 0.6126 GB, free: 13.36 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005315/0.5506, allocations: 2.228 MB / 0.6147 GB, free: 11.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/0.5506, allocations: 4 kB / 0.6147 GB, free: 11.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.01098/0.5616, allocations: 3.832 MB / 0.6185 GB, free: 7.223 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.666e-05/0.5617, allocations: 7.938 kB / 0.6185 GB, free: 7.215 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.433e-05/0.5617, allocations: 11.98 kB / 0.6185 GB, free: 7.203 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0102/0.5719, allocations: 2.675 MB / 0.6211 GB, free: 4.523 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002232/0.5742, allocations: 363.5 kB / 0.6215 GB, free: 4.168 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007166/0.5814, allocations: 2.691 MB / 0.6241 GB, free: 1.445 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003447/0.5849, allocations: 278 kB / 0.6244 GB, free: 1.172 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004358/0.5853, allocations: 75.92 kB / 0.6244 GB, free: 1.098 MB / 430.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.001153/0.5865, allocations: 321.5 kB / 0.6247 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008424/0.5874, allocations: 169.8 kB / 0.6249 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01751/0.6049, allocations: 4.966 MB / 0.6297 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-05/0.605, allocations: 16 kB / 0.6298 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.349e-05/0.605, allocations: 0 / 0.6298 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-05/0.6051, allocations: 3.984 kB / 0.6298 GB, free: 11.6 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.02283/0.6279, allocations: 7.117 MB / 0.6367 GB, free: 4.352 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.581e-05/0.628, allocations: 3.938 kB / 0.6367 GB, free: 4.348 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001273/0.6293, allocations: 171.7 kB / 0.6369 GB, free: 4.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007692/0.637, allocations: 2.15 MB / 0.639 GB, free: 2.027 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004406/0.6375, allocations: 24 kB / 0.639 GB, free: 2.004 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02838/0.6659, allocations: 10.08 MB / 0.6488 GB, free: 7.773 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/0.6659, allocations: 0 / 0.6488 GB, free: 7.773 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02086/0.6868, allocations: 6.138 MB / 0.6548 GB, free: 1.609 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001135/0.688, allocations: 286.6 kB / 0.6551 GB, free: 1.309 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009314/0.6889, allocations: 24 kB / 0.6551 GB, free: 1.285 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002567/0.6915, allocations: 151.8 kB / 0.6553 GB, free: 1.137 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001258/0.6928, allocations: 269.4 kB / 0.6555 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002906/0.6931, allocations: 35.98 kB / 0.6556 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002512/0.6956, allocations: 1.04 MB / 0.6566 GB, free: 15.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6957, allocations: 0 / 0.6566 GB, free: 15.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002911/0.6986, allocations: 0.5659 MB / 0.6571 GB, free: 15.23 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.02127/0.7199, allocations: 6.739 MB / 0.6637 GB, free: 8.453 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01153/0.7315, allocations: 3.087 MB / 0.6667 GB, free: 5.367 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.7315, allocations: 0 / 0.6667 GB, free: 5.367 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007249/0.7388, allocations: 2.001 MB / 0.6687 GB, free: 3.352 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002794/0.7416, allocations: 159.5 kB / 0.6688 GB, free: 3.199 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07103/0.8127, allocations: 23.98 MB / 0.6923 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00155/0.8143, allocations: 1.274 MB / 0.6935 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001361/0.8157, allocations: 154.8 kB / 0.6936 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001485/0.8172, allocations: 0.6555 MB / 0.6943 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of SimCode: time 7.92e-07/0.8172, allocations: 0 / 0.6943 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3924/1.21, allocations: 44.66 MB / 0.7379 GB, free: 154.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001924/1.21, allocations: 220.8 kB / 0.7381 GB, free: 154.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.469/4.679, allocations: 2.781 kB / 0.7381 GB, free: 154.5 MB / 0.5294 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe 2>&1)