Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.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.ESDC2A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",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.001193/0.001193, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.4/1.4, allocations: 223.3 MB / 239.4 MB, free: 5.496 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.001224/0.001224, allocations: 176.6 kB / 290.6 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5369/0.5369, allocations: 91.92 MB / 433.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004308/0.0004309, allocations: 12 kB / 0.5049 GB, free: 7.172 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4028, allocations: 72.47 MB / 0.5756 GB, free: 36.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A): time 0.007149/0.41, allocations: 8.633 MB / 0.5841 GB, free: 30.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005788/0.4158, allocations: 2.873 MB / 0.5869 GB, free: 28.73 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001327/0.4172, allocations: 17.47 kB / 0.5869 GB, free: 28.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009174/0.4181, allocations: 266.1 kB / 0.5872 GB, free: 28.62 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002285/0.4204, allocations: 0.9054 MB / 0.588 GB, free: 28.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001777/0.4222, allocations: 0.8774 MB / 0.5889 GB, free: 27.54 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00224/0.4244, allocations: 2.295 MB / 0.5911 GB, free: 26.45 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006297/0.4251, allocations: 461 kB / 0.5916 GB, free: 26.21 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001149/0.4262, allocations: 0.8043 MB / 0.5924 GB, free: 25.86 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001194/0.4274, allocations: 1.08 MB / 0.5934 GB, free: 25.37 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002377/0.4277, allocations: 95.78 kB / 0.5935 GB, free: 25.37 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008977/0.4286, allocations: 366.5 kB / 0.5939 GB, free: 25.28 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003493/0.4289, allocations: 383.7 kB / 0.5942 GB, free: 25.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007683/0.4297, allocations: 0.8931 MB / 0.5951 GB, free: 24.47 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002131/0.4318, allocations: 2.415 MB / 0.5974 GB, free: 23.63 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.4319, allocations: 1.125 kB / 0.5975 GB, free: 23.63 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.4319, allocations: 0 / 0.5975 GB, free: 23.63 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.884e-05/0.4319, allocations: 0 / 0.5975 GB, free: 23.63 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: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.01353/0.4454, allocations: 3.505 MB / 0.6009 GB, free: 22.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.862e-05/0.4455, allocations: 10 kB / 0.6009 GB, free: 22.25 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004304/0.446, allocations: 174.6 kB / 0.601 GB, free: 22.13 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005219/0.4512, allocations: 0.772 MB / 0.6018 GB, free: 21.96 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002441/0.4536, allocations: 1.223 MB / 0.603 GB, free: 21.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004827/0.4541, allocations: 479.6 kB / 0.6035 GB, free: 20.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000276/0.4544, allocations: 128 kB / 0.6036 GB, free: 20.7 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003693/0.4581, allocations: 1.631 MB / 0.6052 GB, free: 20.07 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.4582, allocations: 0 / 0.6052 GB, free: 20.07 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/0.4583, allocations: 46.16 kB / 0.6052 GB, free: 20.04 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.753e-05/0.4583, allocations: 26.08 kB / 0.6052 GB, free: 20.04 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003797/0.4621, allocations: 1.531 MB / 0.6067 GB, free: 19.53 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.01113/0.4733, allocations: 5.546 MB / 0.6122 GB, free: 16.35 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01028/0.4836, allocations: 3.642 MB / 0.6157 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002955/0.4866, allocations: 1.057 MB / 0.6167 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006528/0.4873, allocations: 0.7433 MB / 0.6175 GB, free: 13.78 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003529/0.4908, allocations: 1.215 MB / 0.6187 GB, free: 13.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=134): time 9.778e-06/0.4909, allocations: 4 kB / 0.6187 GB, free: 13.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=134): time 0.04676/0.5376, allocations: 12.27 MB / 0.6306 GB, free: 4.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.034e-05/0.5378, allocations: 124.1 kB / 0.6308 GB, free: 4.445 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003103/0.5409, allocations: 1.54 MB / 0.6323 GB, free: 2.898 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005006/0.5414, allocations: 61.69 kB / 0.6323 GB, free: 2.832 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005789/0.542, allocations: 0.6477 MB / 0.633 GB, free: 2.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008305/0.5428, allocations: 493 kB / 0.6334 GB, free: 1.691 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005835/0.5434, allocations: 193.7 kB / 0.6336 GB, free: 1.496 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.297e-05/0.5435, allocations: 301.1 kB / 0.6339 GB, free: 1.199 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002736/0.5462, allocations: 1.136 MB / 0.635 GB, free: 60 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003094/0.5493, allocations: 1.36 MB / 0.6363 GB, free: 14.63 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005692/0.555, allocations: 2.407 MB / 0.6387 GB, free: 12.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.188e-05/0.5551, allocations: 0 / 0.6387 GB, free: 12.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.01261/0.5677, allocations: 4.44 MB / 0.643 GB, free: 7.707 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/0.5678, allocations: 8 kB / 0.643 GB, free: 7.699 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.107e-05/0.5678, allocations: 4 kB / 0.643 GB, free: 7.695 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01084/0.5787, allocations: 3.069 MB / 0.646 GB, free: 4.621 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002088/0.5808, allocations: 367.5 kB / 0.6464 GB, free: 4.262 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007523/0.5884, allocations: 3.015 MB / 0.6493 GB, free: 1.227 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0034/0.5918, allocations: 318.2 kB / 0.6496 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004459/0.5923, allocations: 71.92 kB / 0.6497 GB, free: 0.8438 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: 2 ($whenCondition1,eSDC2A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (205): * Single equations (assignments): 203 * 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.001212/0.5935, allocations: 329.4 kB / 0.65 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007411/0.5943, allocations: 177.8 kB / 0.6502 GB, free: 344 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0194/0.6137, allocations: 5.966 MB / 0.656 GB, free: 10.35 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-05/0.6137, allocations: 15.94 kB / 0.656 GB, free: 10.33 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.6138, allocations: 4 kB / 0.656 GB, free: 10.33 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.727e-05/0.6138, allocations: 7.969 kB / 0.656 GB, free: 10.32 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 postOpt removeSimpleEquations (simulation): time 0.02479/0.6386, allocations: 8.211 MB / 0.6641 GB, free: 1.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-05/0.6387, allocations: 0 / 0.6641 GB, free: 1.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001213/0.6399, allocations: 171.8 kB / 0.6642 GB, free: 1.812 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008722/0.6487, allocations: 2.513 MB / 0.6667 GB, free: 15.29 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004147/0.6491, allocations: 35.98 kB / 0.6667 GB, free: 15.26 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02826/0.6774, allocations: 10.32 MB / 0.6768 GB, free: 4.789 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.75e-06/0.6775, allocations: 7.984 kB / 0.6768 GB, free: 4.781 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02269/0.7002, allocations: 7.291 MB / 0.6839 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009388/0.7011, allocations: 294.5 kB / 0.6842 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008041/0.702, allocations: 31.94 kB / 0.6842 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0025/0.7045, allocations: 187.8 kB / 0.6844 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001205/0.7057, allocations: 273.2 kB / 0.6847 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002985/0.706, allocations: 35.98 kB / 0.6847 GB, free: 12.63 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002435/0.7085, allocations: 1.032 MB / 0.6857 GB, free: 11.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.7085, allocations: 4 kB / 0.6857 GB, free: 11.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002709/0.7112, allocations: 0.5698 MB / 0.6863 GB, free: 11.03 MB / 494.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,eSDC2A.imDerivativeLag.x,eSDC2A.imLeadLag.TF.x_scaled[1],eSDC2A.rotatingExciterLimited.sISO.y,eSDC2A.TransducerDelay.state,eSDC2A.simpleLagLimVar.state) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 90 * 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.02314/0.7344, allocations: 7.936 MB / 0.694 GB, free: 3.051 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.011/0.7454, allocations: 3.382 MB / 0.6973 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.7455, allocations: 0 / 0.6973 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007699/0.7532, allocations: 2.26 MB / 0.6995 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002724/0.7559, allocations: 156.5 kB / 0.6997 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05956/0.8155, allocations: 24 MB / 0.7231 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001207/0.8168, allocations: 1.274 MB / 0.7243 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001021/0.8178, allocations: 166.9 kB / 0.7245 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001167/0.819, allocations: 0.675 MB / 0.7252 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of SimCode: time 5.51e-07/0.819, allocations: 0 / 0.7252 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09024/0.9093, allocations: 42.29 MB / 0.7665 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002349/0.9096, allocations: 210.4 kB / 0.7667 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.224/4.134, allocations: 0 / 0.7667 GB, free: 7.578 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe 2>&1)