Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.ESDC2A,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,fileNamePrefix="OpenIPSL_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.001073/0.001073, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.334/1.334, allocations: 222.9 MB / 238.8 MB, free: 4.777 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.001326/0.001326, allocations: 188.5 kB / 289.1 MB, free: 2.535 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4755/0.4755, allocations: 78.52 MB / 417.8 MB, free: 3.367 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 83.88 kB / 496.9 MB, free: 6.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1533, allocations: 68.16 MB / 0.5518 GB, free: 2.516 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A): time 0.2681/0.4215, allocations: 9.134 MB / 0.5607 GB, free: 34.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006953/0.4285, allocations: 2.906 MB / 0.5635 GB, free: 33.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002352/0.4309, allocations: 20.97 kB / 0.5636 GB, free: 33.93 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001315/0.4322, allocations: 257 kB / 0.5638 GB, free: 33.91 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00386/0.4361, allocations: 1.118 MB / 0.5649 GB, free: 33.67 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00203/0.4382, allocations: 0.7791 MB / 0.5657 GB, free: 33.6 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002984/0.4412, allocations: 2.445 MB / 0.568 GB, free: 33.14 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007093/0.4419, allocations: 468.2 kB / 0.5685 GB, free: 33.05 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001174/0.4431, allocations: 0.8709 MB / 0.5693 GB, free: 32.8 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/0.4441, allocations: 1.148 MB / 0.5705 GB, free: 32.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002323/0.4444, allocations: 114.4 kB / 0.5706 GB, free: 32.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007707/0.4451, allocations: 371.2 kB / 0.5709 GB, free: 32.49 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000311/0.4454, allocations: 429.2 kB / 0.5713 GB, free: 32.38 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006892/0.4461, allocations: 0.9083 MB / 0.5722 GB, free: 32.03 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001794/0.4479, allocations: 2.495 MB / 0.5747 GB, free: 31.49 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.448, allocations: 6.531 kB / 0.5747 GB, free: 31.49 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.448, allocations: 0 / 0.5747 GB, free: 31.49 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.777e-05/0.448, allocations: 3.938 kB / 0.5747 GB, free: 31.48 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.01432/0.4623, allocations: 4.056 MB / 0.5786 GB, free: 30.28 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.4624, allocations: 8.125 kB / 0.5786 GB, free: 30.28 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002128/0.4626, allocations: 166.5 kB / 0.5788 GB, free: 30.17 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004544/0.4672, allocations: 0.7692 MB / 0.5795 GB, free: 29.99 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002382/0.4696, allocations: 1.214 MB / 0.5807 GB, free: 29.21 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000395/0.47, allocations: 466.2 kB / 0.5812 GB, free: 28.79 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002057/0.4702, allocations: 126.2 kB / 0.5813 GB, free: 28.74 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003094/0.4733, allocations: 1.54 MB / 0.5828 GB, free: 28.12 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/0.4733, allocations: 10.91 kB / 0.5828 GB, free: 28.12 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000139/0.4735, allocations: 45.44 kB / 0.5829 GB, free: 28.08 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.686e-05/0.4735, allocations: 26.97 kB / 0.5829 GB, free: 28.08 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003227/0.4768, allocations: 1.434 MB / 0.5843 GB, free: 27.59 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.009543/0.4863, allocations: 5.47 MB / 0.5896 GB, free: 24.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00869/0.495, allocations: 3.063 MB / 0.5926 GB, free: 23.19 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002342/0.4974, allocations: 0.97 MB / 0.5936 GB, free: 22.8 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004972/0.4979, allocations: 0.7352 MB / 0.5943 GB, free: 21.94 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002554/0.5005, allocations: 1.131 MB / 0.5954 GB, free: 21.51 MB / 430.1 MB Notification: Performance of pre-optimization done (n=134): time 3.396e-06/0.5005, allocations: 0 / 0.5954 GB, free: 21.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=134): time 0.04203/0.5425, allocations: 10.04 MB / 0.6052 GB, free: 19.69 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.5426, allocations: 120.5 kB / 0.6053 GB, free: 19.56 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002857/0.5455, allocations: 1.541 MB / 0.6068 GB, free: 18.72 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005155/0.546, allocations: 51.36 kB / 0.6069 GB, free: 18.67 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004809/0.5465, allocations: 0.6496 MB / 0.6075 GB, free: 18.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006047/0.5471, allocations: 495.2 kB / 0.608 GB, free: 17.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007578/0.5479, allocations: 382.9 kB / 0.6083 GB, free: 17.44 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.761e-05/0.548, allocations: 305.1 kB / 0.6086 GB, free: 17.14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002222/0.5502, allocations: 1.047 MB / 0.6096 GB, free: 16.61 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002431/0.5526, allocations: 1.275 MB / 0.6109 GB, free: 15.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004453/0.5571, allocations: 2.232 MB / 0.6131 GB, free: 14.63 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/0.5571, allocations: 6.156 kB / 0.6131 GB, free: 14.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.009945/0.5671, allocations: 4.003 MB / 0.617 GB, free: 12.14 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/0.5672, allocations: 4 kB / 0.617 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.771e-05/0.5672, allocations: 4 kB / 0.617 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008577/0.5758, allocations: 2.688 MB / 0.6196 GB, free: 9.434 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001829/0.5777, allocations: 363.5 kB / 0.62 GB, free: 9.078 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005567/0.5832, allocations: 2.694 MB / 0.6226 GB, free: 6.367 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002717/0.586, allocations: 270.2 kB / 0.6228 GB, free: 6.102 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002478/0.5863, allocations: 69.05 kB / 0.6229 GB, free: 6.035 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: 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.0007049/0.587, allocations: 326.5 kB / 0.6232 GB, free: 5.707 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003619/0.5873, allocations: 177.8 kB / 0.6234 GB, free: 5.531 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01391/0.6013, allocations: 4.912 MB / 0.6282 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.072e-05/0.6013, allocations: 19.94 kB / 0.6282 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.6013, allocations: 0 / 0.6282 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-05/0.6014, allocations: 8.531 kB / 0.6282 GB, free: 0.5781 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 postOpt removeSimpleEquations (simulation): time 0.0195/0.6209, allocations: 7.156 MB / 0.6352 GB, free: 9.285 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-05/0.621, allocations: 0 / 0.6352 GB, free: 9.285 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/0.6221, allocations: 170.5 kB / 0.6354 GB, free: 9.121 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007271/0.6294, allocations: 2.139 MB / 0.6375 GB, free: 6.977 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003408/0.6298, allocations: 35.98 kB / 0.6375 GB, free: 6.941 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02373/0.6535, allocations: 9.173 MB / 0.6464 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.6536, allocations: 4 kB / 0.6465 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01911/0.6727, allocations: 6.158 MB / 0.6525 GB, free: 7.434 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007407/0.6735, allocations: 298.5 kB / 0.6528 GB, free: 7.121 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003626/0.6739, allocations: 32.81 kB / 0.6528 GB, free: 7.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001675/0.6755, allocations: 135.8 kB / 0.6529 GB, free: 6.957 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008717/0.6764, allocations: 266.4 kB / 0.6532 GB, free: 6.695 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/0.6766, allocations: 43.98 kB / 0.6532 GB, free: 6.652 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001551/0.6781, allocations: 1.028 MB / 0.6542 GB, free: 5.629 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6781, allocations: 0 / 0.6542 GB, free: 5.629 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001633/0.6798, allocations: 0.5621 MB / 0.6548 GB, free: 5.066 MB / 462.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.01888/0.6986, allocations: 6.793 MB / 0.6614 GB, free: 14.23 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009531/0.7082, allocations: 3.016 MB / 0.6643 GB, free: 11.21 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/0.7083, allocations: 0 / 0.6643 GB, free: 11.21 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006244/0.7145, allocations: 1.969 MB / 0.6663 GB, free: 9.23 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001733/0.7163, allocations: 153.7 kB / 0.6664 GB, free: 9.078 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05054/0.7669, allocations: 22.29 MB / 0.6882 GB, free: 1.715 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008636/0.7678, allocations: 1.274 MB / 0.6894 GB, free: 420 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009209/0.7687, allocations: 162.9 kB / 0.6896 GB, free: 256 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009556/0.7697, allocations: 0.6712 MB / 0.6902 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of SimCode: time 9.61e-07/0.7697, allocations: 9.438 kB / 0.6902 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0766/0.8463, allocations: 42.94 MB / 0.7322 GB, free: 4.934 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/0.8465, allocations: 210 kB / 0.7324 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.3/4.146, allocations: 3.938 kB / 0.7324 GB, free: 4.676 MB / 0.5294 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe 2>&1)