Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.475/1.475, allocations: 230.6 MB / 253.4 MB, free: 14.48 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 223.3 kB / 310 MB, free: 3.137 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.6023/0.6023, allocations: 101.3 MB / 467.8 MB, free: 30.5 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002399/0.002399, allocations: 82.58 kB / 0.6252 GB, free: 32.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1457, allocations: 78.62 MB / 0.702 GB, free: 1.012 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A): time 0.01045/0.1561, allocations: 8.897 MB / 0.7106 GB, free: 8.066 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006672/0.1628, allocations: 2.894 MB / 0.7135 GB, free: 5.168 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001595/0.1644, allocations: 20 kB / 0.7135 GB, free: 5.148 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001319/0.1657, allocations: 345 kB / 0.7138 GB, free: 4.809 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003726/0.1694, allocations: 1.099 MB / 0.7149 GB, free: 3.703 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002417/0.1718, allocations: 0.9578 MB / 0.7158 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003438/0.1753, allocations: 2.447 MB / 0.7182 GB, free: 304 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006451/0.1759, allocations: 338.6 kB / 0.7185 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001526/0.1775, allocations: 1 MB / 0.7195 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001637/0.1791, allocations: 1.202 MB / 0.7207 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003562/0.1794, allocations: 208 kB / 0.7209 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009239/0.1804, allocations: 483.6 kB / 0.7213 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004705/0.1808, allocations: 498.1 kB / 0.7218 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009884/0.1818, allocations: 0.9789 MB / 0.7228 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003227/0.1851, allocations: 2.583 MB / 0.7253 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1851, allocations: 3.938 kB / 0.7253 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.634e-06/0.1851, allocations: 0 / 0.7253 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.166e-05/0.1851, allocations: 0 / 0.7253 GB, free: 8.973 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.01412/0.1992, allocations: 3.945 MB / 0.7292 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/0.1993, allocations: 12.03 kB / 0.7292 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.623e-05/0.1993, allocations: 26 kB / 0.7292 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000258/0.1996, allocations: 164.6 kB / 0.7294 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004942/0.2045, allocations: 0.7793 MB / 0.7301 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002799/0.2073, allocations: 1.16 MB / 0.7312 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006765/0.208, allocations: 0.6428 MB / 0.7319 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003201/0.2083, allocations: 120 kB / 0.732 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003679/0.212, allocations: 1.527 MB / 0.7335 GB, free: 344 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.212, allocations: 0 / 0.7335 GB, free: 344 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001456/0.2122, allocations: 44 kB / 0.7335 GB, free: 300 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.426e-05/0.2122, allocations: 28 kB / 0.7335 GB, free: 272 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003688/0.2159, allocations: 1.437 MB / 0.7349 GB, free: 14.82 MB / 0.5137 GB 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.01237/0.2282, allocations: 5.356 MB / 0.7402 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009255/0.2375, allocations: 2.521 MB / 0.7426 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002528/0.24, allocations: 0.8893 MB / 0.7435 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003707/0.2404, allocations: 57.25 kB / 0.7436 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002914/0.2433, allocations: 1.129 MB / 0.7447 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=133): time 4.208e-06/0.2433, allocations: 0 / 0.7447 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of matching and sorting (n=133): time 0.04822/0.2915, allocations: 10.54 MB / 0.755 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.402e-05/0.2916, allocations: 128 kB / 0.7551 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003192/0.2948, allocations: 1.536 MB / 0.7566 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004345/0.2953, allocations: 57.7 kB / 0.7566 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007249/0.296, allocations: 0.6602 MB / 0.7573 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008628/0.2968, allocations: 0.4997 MB / 0.7578 GB, free: 7.09 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001216/0.2981, allocations: 383.5 kB / 0.7581 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.2982, allocations: 301.1 kB / 0.7584 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002899/0.3011, allocations: 1.05 MB / 0.7594 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003209/0.3043, allocations: 1.285 MB / 0.7607 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005855/0.3102, allocations: 2.24 MB / 0.7629 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.616e-05/0.3102, allocations: 0 / 0.7629 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.02081/0.331, allocations: 5.61 MB / 0.7684 GB, free: 12.07 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/0.331, allocations: 4 kB / 0.7684 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.451e-05/0.3311, allocations: 8 kB / 0.7684 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01082/0.3419, allocations: 2.727 MB / 0.771 GB, free: 9.328 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001993/0.3439, allocations: 359.5 kB / 0.7714 GB, free: 8.977 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007697/0.3516, allocations: 2.713 MB / 0.774 GB, free: 6.238 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002829/0.3544, allocations: 286.6 kB / 0.7743 GB, free: 5.957 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004079/0.3548, allocations: 71.92 kB / 0.7744 GB, free: 5.887 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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.001071/0.3559, allocations: 325.5 kB / 0.7747 GB, free: 5.559 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006775/0.3565, allocations: 186.8 kB / 0.7749 GB, free: 5.375 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01825/0.3748, allocations: 4.958 MB / 0.7797 GB, free: 408 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.674e-05/0.3748, allocations: 12 kB / 0.7797 GB, free: 396 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.3748, allocations: 0 / 0.7797 GB, free: 396 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.271e-05/0.3749, allocations: 7.984 kB / 0.7797 GB, free: 388 kB / 0.545 GB 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.02343/0.3983, allocations: 7.08 MB / 0.7866 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.14e-05/0.3983, allocations: 0 / 0.7866 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001212/0.3995, allocations: 167.8 kB / 0.7868 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00846/0.408, allocations: 2.192 MB / 0.7889 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003511/0.4084, allocations: 31.98 kB / 0.789 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02985/0.4382, allocations: 10.13 MB / 0.7989 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.78e-06/0.4382, allocations: 4 kB / 0.7989 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0215/0.4597, allocations: 6.16 MB / 0.8049 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006886/0.4604, allocations: 214.4 kB / 0.8051 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005978/0.461, allocations: 28 kB / 0.8051 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002032/0.463, allocations: 151.8 kB / 0.8053 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001028/0.4641, allocations: 281.2 kB / 0.8055 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002191/0.4643, allocations: 35.98 kB / 0.8056 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002157/0.4664, allocations: 1.032 MB / 0.8066 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4664, allocations: 0 / 0.8066 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002184/0.4686, allocations: 0.5698 MB / 0.8071 GB, free: 4.031 MB / 0.5762 GB 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.3156/0.7843, allocations: 6.765 MB / 0.8137 GB, free: 98.77 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009724/0.794, allocations: 2.903 MB / 0.8166 GB, free: 98.68 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.794, allocations: 0 / 0.8166 GB, free: 98.68 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006539/0.8005, allocations: 1.95 MB / 0.8185 GB, free: 98.27 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/0.8019, allocations: 157 kB / 0.8186 GB, free: 98.17 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04637/0.8483, allocations: 20.28 MB / 0.8384 GB, free: 90.43 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00057/0.8488, allocations: 1.274 MB / 0.8397 GB, free: 89.69 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00064/0.8495, allocations: 166.6 kB / 0.8398 GB, free: 89.66 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007523/0.8502, allocations: 0.6611 MB / 0.8405 GB, free: 89.13 MB / 0.5762 GB Notification: Performance of SimCode: time 1.012e-06/0.8502, allocations: 0 / 0.8405 GB, free: 89.13 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07333/0.9236, allocations: 48.49 MB / 0.8878 GB, free: 42.99 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.04/16.96, allocations: 2.656 kB / 0.8878 GB, free: 42.99 MB / 0.5762 GB " [Timeout remaining time 643] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.08559869392775] Failed to read output from testmodel.py, exit status != 0: 17.167968795984052 17.189570054 16.999708697 Calling exit ...