Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.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.EXNI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXNI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXNI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXNI",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.0008815/0.0008816, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.472/1.472, allocations: 223.3 MB / 239 MB, free: 5.602 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.001362/0.001362, allocations: 179.5 kB / 290.3 MB, free: 2.293 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5187/0.5187, allocations: 79.47 MB / 420.8 MB, free: 3.906 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004126/0.0004128, allocations: 12 kB / 0.4892 GB, free: 5.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4614/0.4618, allocations: 69.49 MB / 0.5571 GB, free: 37.9 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.EXNI): time 0.007571/0.4694, allocations: 7.617 MB / 0.5645 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00568/0.4751, allocations: 2.501 MB / 0.567 GB, free: 36.38 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.4762, allocations: 14.12 kB / 0.567 GB, free: 36.38 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005832/0.4768, allocations: 208.9 kB / 0.5672 GB, free: 36.3 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001912/0.4787, allocations: 0.8158 MB / 0.568 GB, free: 35.95 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001483/0.4802, allocations: 0.6624 MB / 0.5686 GB, free: 35.7 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001679/0.4819, allocations: 1.933 MB / 0.5705 GB, free: 34.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005181/0.4824, allocations: 358.6 kB / 0.5709 GB, free: 34.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007083/0.4831, allocations: 0.7187 MB / 0.5716 GB, free: 34.28 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008976/0.484, allocations: 0.9705 MB / 0.5725 GB, free: 33.86 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001681/0.4842, allocations: 88.84 kB / 0.5726 GB, free: 33.86 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005419/0.4847, allocations: 250.7 kB / 0.5728 GB, free: 33.81 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000305/0.4851, allocations: 348.3 kB / 0.5732 GB, free: 33.62 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002732/0.4853, allocations: 289.9 kB / 0.5734 GB, free: 33.44 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001401/0.4868, allocations: 1.685 MB / 0.5751 GB, free: 32.95 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.4868, allocations: 0 / 0.5751 GB, free: 32.95 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4868, allocations: 0 / 0.5751 GB, free: 32.95 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.723e-05/0.4868, allocations: 0.5 kB / 0.5751 GB, free: 32.95 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: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.009709/0.4965, allocations: 3.329 MB / 0.5783 GB, free: 31.71 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.4966, allocations: 9.719 kB / 0.5784 GB, free: 31.71 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002478/0.4968, allocations: 163.8 kB / 0.5785 GB, free: 31.6 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003946/0.5008, allocations: 0.7547 MB / 0.5792 GB, free: 31.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001503/0.5023, allocations: 1.03 MB / 0.5802 GB, free: 30.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000368/0.5027, allocations: 465.6 kB / 0.5807 GB, free: 30.35 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001854/0.5029, allocations: 114.8 kB / 0.5808 GB, free: 30.31 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002574/0.5054, allocations: 1.538 MB / 0.5823 GB, free: 29.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.5055, allocations: 0 / 0.5823 GB, free: 29.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.5056, allocations: 38.38 kB / 0.5823 GB, free: 29.71 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.5056, allocations: 24.44 kB / 0.5824 GB, free: 29.71 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00262/0.5082, allocations: 1.447 MB / 0.5838 GB, free: 29.26 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.007756/0.516, allocations: 5.026 MB / 0.5887 GB, free: 26.4 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008655/0.5247, allocations: 3.597 MB / 0.5922 GB, free: 25.14 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00198/0.5267, allocations: 1.003 MB / 0.5932 GB, free: 24.76 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001452/0.5268, allocations: 26.22 kB / 0.5932 GB, free: 24.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.5269, allocations: 55.14 kB / 0.5933 GB, free: 24.7 MB / 430.1 MB Notification: Performance of pre-optimization done (n=128): time 4.048e-06/0.5269, allocations: 0 / 0.5933 GB, free: 24.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=128): time 0.04178/0.5687, allocations: 11.96 MB / 0.6049 GB, free: 22.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.357e-05/0.5688, allocations: 143.5 kB / 0.6051 GB, free: 22.6 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003425/0.5722, allocations: 1.346 MB / 0.6064 GB, free: 22.05 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003005/0.5725, allocations: 54.48 kB / 0.6064 GB, free: 21.99 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007732/0.5733, allocations: 0.6058 MB / 0.607 GB, free: 21.51 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007426/0.5741, allocations: 474.5 kB / 0.6075 GB, free: 21.14 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003006/0.5744, allocations: 36.34 kB / 0.6075 GB, free: 21.11 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.5746, allocations: 376.4 kB / 0.6079 GB, free: 20.78 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002716/0.5773, allocations: 1.057 MB / 0.6089 GB, free: 20.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002954/0.5803, allocations: 1.275 MB / 0.6102 GB, free: 19.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002949/0.5832, allocations: 1.142 MB / 0.6113 GB, free: 19.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.666e-05/0.5833, allocations: 1.188 kB / 0.6113 GB, free: 19.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=242) (initialization): time 0.01083/0.5941, allocations: 4.294 MB / 0.6155 GB, free: 16.74 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000138/0.5942, allocations: 198.3 kB / 0.6156 GB, free: 16.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.5943, allocations: 4 kB / 0.6157 GB, free: 16.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009143/0.6034, allocations: 3.421 MB / 0.619 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/0.6047, allocations: 275.6 kB / 0.6193 GB, free: 12.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006408/0.6112, allocations: 3.396 MB / 0.6226 GB, free: 9.375 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002525/0.6137, allocations: 282.9 kB / 0.6228 GB, free: 9.098 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002875/0.614, allocations: 67.97 kB / 0.6229 GB, free: 9.031 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.614, allocations: 9.188 kB / 0.6229 GB, free: 9.023 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008771/0.6228, allocations: 4.075 MB / 0.6269 GB, free: 4.945 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.217e-05/0.6229, allocations: 4 kB / 0.6269 GB, free: 4.941 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008606/0.6315, allocations: 3.378 MB / 0.6302 GB, free: 1.559 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/0.6328, allocations: 280.9 kB / 0.6305 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006648/0.6395, allocations: 3.329 MB / 0.6337 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002318/0.6418, allocations: 258.5 kB / 0.634 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003082/0.6421, allocations: 68.98 kB / 0.634 GB, free: 13.61 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 (163): * Single equations (assignments): 162 * 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 46} Notification: Performance of prepare postOptimizeDAE: time 0.001044/0.6432, allocations: 368.8 kB / 0.6344 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006823/0.6439, allocations: 158 kB / 0.6345 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01625/0.6601, allocations: 5.965 MB / 0.6404 GB, free: 7.086 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-05/0.6602, allocations: 12.8 kB / 0.6404 GB, free: 7.074 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.564e-05/0.6602, allocations: 4 kB / 0.6404 GB, free: 7.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.012e-05/0.6603, allocations: 15.91 kB / 0.6404 GB, free: 7.055 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.02034/0.6806, allocations: 8.144 MB / 0.6483 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.831e-05/0.6807, allocations: 0 / 0.6483 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009151/0.6816, allocations: 147.8 kB / 0.6485 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00744/0.689, allocations: 2.598 MB / 0.651 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002566/0.6893, allocations: 37.44 kB / 0.6511 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02604/0.7154, allocations: 12.03 MB / 0.6628 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.7154, allocations: 4.031 kB / 0.6628 GB, free: 15.69 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01875/0.7342, allocations: 7.263 MB / 0.6699 GB, free: 8.398 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008122/0.7351, allocations: 278.6 kB / 0.6702 GB, free: 8.105 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006223/0.7357, allocations: 24 kB / 0.6702 GB, free: 8.082 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001818/0.7375, allocations: 163.8 kB / 0.6703 GB, free: 7.922 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008767/0.7384, allocations: 274.8 kB / 0.6706 GB, free: 7.652 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001578/0.7386, allocations: 31.98 kB / 0.6706 GB, free: 7.621 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001712/0.7403, allocations: 0.8955 MB / 0.6715 GB, free: 6.727 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.764e-06/0.7404, allocations: 0 / 0.6715 GB, free: 6.727 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003328/0.7437, allocations: 0.8662 MB / 0.6724 GB, free: 5.859 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,eXNI.derivativeLag.x,eXNI.simpleLag1.state,eXNI.TransducerDelay.state,eXNI.VR.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 (81): * Single equations (assignments): 79 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01898/0.7627, allocations: 7.87 MB / 0.68 GB, free: 13.95 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01584/0.7786, allocations: 5.544 MB / 0.6855 GB, free: 8.418 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/0.7786, allocations: 5.812 kB / 0.6855 GB, free: 8.414 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006292/0.7849, allocations: 2.301 MB / 0.6877 GB, free: 6.09 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002188/0.7871, allocations: 146.7 kB / 0.6878 GB, free: 5.945 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03009/0.8173, allocations: 14.15 MB / 0.7017 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001071/0.8184, allocations: 1.226 MB / 0.7029 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009443/0.8193, allocations: 154.9 kB / 0.703 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009771/0.8203, allocations: 0.6008 MB / 0.7036 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of SimCode: time 1.283e-06/0.8204, allocations: 0 / 0.7036 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08577/0.9061, allocations: 46.86 MB / 0.7494 GB, free: 6.66 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000202/0.9064, allocations: 202.4 kB / 0.7496 GB, free: 6.414 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.291/4.197, allocations: 7.938 kB / 0.7496 GB, free: 6.406 MB / 0.545 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXNI_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXNI.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXNI.pipe 2>&1) Environment - environmentSimulation: