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.0009232/0.0009231, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.398/1.398, allocations: 223.2 MB / 239 MB, free: 5.461 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.001271/0.001271, allocations: 180.5 kB / 290.3 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5422/0.5422, allocations: 78.55 MB / 419.9 MB, free: 4.312 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004727/0.0004728, allocations: 12 kB / 499.9 MB, free: 6.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2016, allocations: 69.36 MB / 0.5559 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A): time 0.4003/0.602, allocations: 8.037 MB / 0.5638 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009172/0.6112, allocations: 2.75 MB / 0.5664 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003114/0.6144, allocations: 18.78 kB / 0.5665 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001571/0.616, allocations: 233.7 kB / 0.5667 GB, free: 36.1 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004317/0.6203, allocations: 1.016 MB / 0.5677 GB, free: 35.71 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002247/0.6226, allocations: 0.6802 MB / 0.5683 GB, free: 35.64 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004311/0.6269, allocations: 2.294 MB / 0.5706 GB, free: 34.8 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008676/0.6278, allocations: 398.7 kB / 0.571 GB, free: 34.65 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001659/0.6295, allocations: 0.8115 MB / 0.5718 GB, free: 34.31 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001292/0.6308, allocations: 1.06 MB / 0.5728 GB, free: 33.86 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002377/0.631, allocations: 96.75 kB / 0.5729 GB, free: 33.86 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009425/0.632, allocations: 343.9 kB / 0.5732 GB, free: 33.79 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003736/0.6323, allocations: 383.2 kB / 0.5736 GB, free: 33.57 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003757/0.6327, allocations: 320.6 kB / 0.5739 GB, free: 33.37 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001986/0.6347, allocations: 1.918 MB / 0.5758 GB, free: 32.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.298e-06/0.6347, allocations: 0 / 0.5758 GB, free: 32.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.6348, allocations: 0.8438 kB / 0.5758 GB, free: 32.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.135e-05/0.6348, allocations: 0 / 0.5758 GB, free: 32.84 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.01318/0.648, allocations: 3.827 MB / 0.5795 GB, free: 31.47 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/0.6481, allocations: 8.438 kB / 0.5795 GB, free: 31.47 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004599/0.6485, allocations: 166.4 kB / 0.5797 GB, free: 31.36 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004518/0.6531, allocations: 0.7807 MB / 0.5804 GB, free: 31.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002324/0.6554, allocations: 1.17 MB / 0.5816 GB, free: 30.45 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004497/0.6559, allocations: 477.2 kB / 0.582 GB, free: 30.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002245/0.6561, allocations: 119.7 kB / 0.5821 GB, free: 29.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002973/0.6591, allocations: 1.626 MB / 0.5837 GB, free: 29.35 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/0.6591, allocations: 3.953 kB / 0.5837 GB, free: 29.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/0.6593, allocations: 43.53 kB / 0.5838 GB, free: 29.31 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.794e-05/0.6593, allocations: 25.22 kB / 0.5838 GB, free: 29.31 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003347/0.6626, allocations: 1.525 MB / 0.5853 GB, free: 28.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.01012/0.6728, allocations: 5.543 MB / 0.5907 GB, free: 25.63 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009683/0.6825, allocations: 3.649 MB / 0.5943 GB, free: 24.33 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002626/0.6852, allocations: 1.05 MB / 0.5953 GB, free: 23.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006348/0.6858, allocations: 0.7298 MB / 0.596 GB, free: 23.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003006/0.6888, allocations: 1.21 MB / 0.5972 GB, free: 22.64 MB / 430.1 MB Notification: Performance of pre-optimization done (n=134): time 3.777e-06/0.6888, allocations: 3.938 kB / 0.5972 GB, free: 22.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=134): time 0.04874/0.7376, allocations: 12.2 MB / 0.6091 GB, free: 20.7 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.71e-05/0.7377, allocations: 121.8 kB / 0.6092 GB, free: 20.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003651/0.7414, allocations: 1.534 MB / 0.6107 GB, free: 19.74 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005985/0.742, allocations: 52.17 kB / 0.6108 GB, free: 19.69 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005914/0.7426, allocations: 0.6532 MB / 0.6114 GB, free: 19.11 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006543/0.7433, allocations: 496.1 kB / 0.6119 GB, free: 18.68 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/0.7434, allocations: 42.78 kB / 0.6119 GB, free: 18.65 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.7436, allocations: 378.2 kB / 0.6123 GB, free: 18.29 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002639/0.7462, allocations: 1.129 MB / 0.6134 GB, free: 17.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002862/0.7491, allocations: 1.35 MB / 0.6147 GB, free: 16.99 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002581/0.7517, allocations: 1.216 MB / 0.6159 GB, free: 16.15 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/0.7517, allocations: 0 / 0.6159 GB, free: 16.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.009369/0.7611, allocations: 4.383 MB / 0.6202 GB, free: 11.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.7612, allocations: 12.06 kB / 0.6202 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.928e-05/0.7612, allocations: 4 kB / 0.6202 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008819/0.77, allocations: 3.051 MB / 0.6232 GB, free: 8.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002068/0.7722, allocations: 367.5 kB / 0.6235 GB, free: 8.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005972/0.7781, allocations: 3.01 MB / 0.6264 GB, free: 5.289 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003153/0.7813, allocations: 314.1 kB / 0.6267 GB, free: 4.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002495/0.7816, allocations: 71.97 kB / 0.6268 GB, free: 4.91 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 (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 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0008158/0.7824, allocations: 329.4 kB / 0.6271 GB, free: 4.578 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003874/0.7828, allocations: 175.5 kB / 0.6273 GB, free: 4.406 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01577/0.7986, allocations: 5.959 MB / 0.6331 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.24e-05/0.7987, allocations: 16 kB / 0.6331 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.596e-05/0.7987, allocations: 11.78 kB / 0.6331 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.424e-05/0.7988, allocations: 7.969 kB / 0.6331 GB, free: 14.39 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.02435/0.8232, allocations: 8.196 MB / 0.6412 GB, free: 6.062 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.501e-05/0.8232, allocations: 13.08 kB / 0.6412 GB, free: 6.051 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/0.8244, allocations: 168.7 kB / 0.6413 GB, free: 5.887 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008065/0.8325, allocations: 2.507 MB / 0.6438 GB, free: 3.379 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004143/0.833, allocations: 39.98 kB / 0.6438 GB, free: 3.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02647/0.8595, allocations: 10.3 MB / 0.6539 GB, free: 8.898 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.687e-06/0.8595, allocations: 5.016 kB / 0.6539 GB, free: 8.895 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02237/0.8819, allocations: 7.291 MB / 0.661 GB, free: 1.57 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/0.8831, allocations: 290.6 kB / 0.6613 GB, free: 1.266 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007998/0.8839, allocations: 28 kB / 0.6613 GB, free: 1.238 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002362/0.8863, allocations: 185.3 kB / 0.6615 GB, free: 1.059 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001079/0.8874, allocations: 273.3 kB / 0.6617 GB, free: 0.793 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002319/0.8877, allocations: 35.98 kB / 0.6618 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002538/0.8902, allocations: 1.024 MB / 0.6628 GB, free: 15.74 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.8902, allocations: 0 / 0.6628 GB, free: 15.74 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003159/0.8934, allocations: 0.5698 MB / 0.6633 GB, free: 15.17 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,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 (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 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02161/0.915, allocations: 7.911 MB / 0.6711 GB, free: 7.215 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01076/0.9259, allocations: 3.371 MB / 0.6743 GB, free: 3.844 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.108e-06/0.9259, allocations: 0 / 0.6743 GB, free: 3.844 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007048/0.933, allocations: 2.248 MB / 0.6765 GB, free: 1.582 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002832/0.9359, allocations: 155.2 kB / 0.6767 GB, free: 1.43 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03793/0.9738, allocations: 15.19 MB / 0.6915 GB, free: 1.527 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001473/0.9753, allocations: 1.282 MB / 0.6928 GB, free: 220 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001232/0.9766, allocations: 166.3 kB / 0.6929 GB, free: 52 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001473/0.9781, allocations: 0.6639 MB / 0.6936 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of SimCode: time 1.563e-06/0.9781, allocations: 0 / 0.6936 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1026/1.081, allocations: 42.4 MB / 0.735 GB, free: 5.281 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002323/1.081, allocations: 203.7 kB / 0.7352 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.627/4.708, allocations: 0 / 0.7352 GB, free: 5.035 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/linux/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) Environment - environmentSimulation: