Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAE.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.001334/0.001334, allocations: 113 kB / 18.94 MB, free: 2.934 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.432/1.432, allocations: 230.6 MB / 252.6 MB, free: 8.336 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.001676/0.001676, allocations: 208.5 kB / 309.2 MB, free: 3.219 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4451/0.4451, allocations: 79.74 MB / 445.4 MB, free: 14.86 MB / 318.1 MB " [Timeout remaining time 179] 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.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.Machines.PSSE.GENSAE,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENSAE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAE,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENSAE",fmuType="me",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.002483/0.002483, allocations: 83.81 kB / 0.5929 GB, free: 14.01 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1475, allocations: 73.3 MB / 0.6645 GB, free: 4.605 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAE): time 0.00819/0.1557, allocations: 7.074 MB / 0.6714 GB, free: 13.5 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004959/0.1607, allocations: 2.301 MB / 0.6737 GB, free: 11.19 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001069/0.1618, allocations: 12 kB / 0.6737 GB, free: 11.18 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008128/0.1626, allocations: 273.7 kB / 0.6739 GB, free: 10.91 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00332/0.1659, allocations: 1.194 MB / 0.6751 GB, free: 9.719 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001409/0.1673, allocations: 0.576 MB / 0.6757 GB, free: 9.148 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002737/0.17, allocations: 1.905 MB / 0.6775 GB, free: 7.234 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004622/0.1705, allocations: 228.4 kB / 0.6777 GB, free: 6.988 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001192/0.1717, allocations: 0.7588 MB / 0.6785 GB, free: 6.227 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001471/0.1732, allocations: 0.9764 MB / 0.6794 GB, free: 5.246 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003675/0.1735, allocations: 140 kB / 0.6796 GB, free: 5.109 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008211/0.1743, allocations: 315.9 kB / 0.6799 GB, free: 4.801 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003684/0.1747, allocations: 378.4 kB / 0.6802 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000893/0.1756, allocations: 0.7497 MB / 0.681 GB, free: 3.676 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002736/0.1783, allocations: 1.879 MB / 0.6828 GB, free: 1.789 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1784, allocations: 4 kB / 0.6828 GB, free: 1.785 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1784, allocations: 0 / 0.6828 GB, free: 1.785 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.139e-05/0.1784, allocations: 0 / 0.6828 GB, free: 1.785 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.01331/0.1917, allocations: 3.447 MB / 0.6862 GB, free: 14.3 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.997e-05/0.1918, allocations: 15.98 kB / 0.6862 GB, free: 14.28 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002139/0.192, allocations: 126.9 kB / 0.6863 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004593/0.1966, allocations: 0.7288 MB / 0.687 GB, free: 13.42 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001847/0.1984, allocations: 0.8629 MB / 0.6879 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004903/0.1989, allocations: 460.1 kB / 0.6883 GB, free: 11.99 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002399/0.1991, allocations: 95.94 kB / 0.6884 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002607/0.2018, allocations: 1.215 MB / 0.6896 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.2018, allocations: 0 / 0.6896 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.2019, allocations: 36 kB / 0.6896 GB, free: 10.63 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.925e-05/0.2019, allocations: 20 kB / 0.6896 GB, free: 10.61 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002568/0.2045, allocations: 1.167 MB / 0.6908 GB, free: 9.441 MB / 494.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.008351/0.2128, allocations: 4.069 MB / 0.6948 GB, free: 5.184 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007792/0.2206, allocations: 2.137 MB / 0.6968 GB, free: 3.031 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00191/0.2225, allocations: 0.7464 MB / 0.6976 GB, free: 2.273 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001498/0.2227, allocations: 20.98 kB / 0.6976 GB, free: 2.254 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.306e-05/0.2227, allocations: 47.5 kB / 0.6976 GB, free: 2.199 MB / 494.1 MB Notification: Performance of pre-optimization done (n=108): time 3.346e-06/0.2227, allocations: 0 / 0.6976 GB, free: 2.199 MB / 494.1 MB Notification: Performance of matching and sorting (n=108): time 0.3236/0.5463, allocations: 9.978 MB / 0.7074 GB, free: 34.13 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.5464, allocations: 90.14 kB / 0.7075 GB, free: 34.04 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001621/0.548, allocations: 1.118 MB / 0.7086 GB, free: 33.89 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002413/0.5483, allocations: 47.36 kB / 0.7086 GB, free: 33.86 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003262/0.5486, allocations: 0.5002 MB / 0.7091 GB, free: 33.76 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003703/0.549, allocations: 418.1 kB / 0.7095 GB, free: 33.55 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005324/0.5495, allocations: 283.7 kB / 0.7098 GB, free: 33.52 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.401e-05/0.5495, allocations: 303.5 kB / 0.71 GB, free: 33.23 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001882/0.5514, allocations: 0.8567 MB / 0.7109 GB, free: 33.22 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001942/0.5533, allocations: 1.042 MB / 0.7119 GB, free: 33.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003732/0.5571, allocations: 1.888 MB / 0.7137 GB, free: 32.55 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/0.5571, allocations: 1.094 kB / 0.7137 GB, free: 32.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.00833/0.5654, allocations: 3.339 MB / 0.717 GB, free: 31.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.5654, allocations: 7.031 kB / 0.717 GB, free: 31.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.5655, allocations: 2.719 kB / 0.717 GB, free: 31.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008896/0.5743, allocations: 2.595 MB / 0.7195 GB, free: 30.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.5756, allocations: 240.5 kB / 0.7198 GB, free: 30.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005883/0.5815, allocations: 2.646 MB / 0.7224 GB, free: 29.01 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001979/0.5835, allocations: 201.7 kB / 0.7226 GB, free: 28.92 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/0.5836, allocations: 58.2 kB / 0.7226 GB, free: 28.9 MB / 494.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 (144): * Single equations (assignments): 143 * 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 {(29,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0004719/0.5841, allocations: 259 kB / 0.7229 GB, free: 28.69 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002727/0.5844, allocations: 137.9 kB / 0.723 GB, free: 28.61 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01426/0.5986, allocations: 4.529 MB / 0.7274 GB, free: 26.32 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.099e-05/0.5986, allocations: 11.12 kB / 0.7274 GB, free: 26.32 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.5987, allocations: 5.406 kB / 0.7274 GB, free: 26.31 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.397e-05/0.5987, allocations: 3.984 kB / 0.7274 GB, free: 26.31 MB / 494.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.01612/0.6148, allocations: 6.277 MB / 0.7336 GB, free: 22.58 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.631e-05/0.6148, allocations: 0 / 0.7336 GB, free: 22.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000647/0.6155, allocations: 106 kB / 0.7337 GB, free: 22.56 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00654/0.622, allocations: 2.142 MB / 0.7358 GB, free: 21.51 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001973/0.6222, allocations: 27.98 kB / 0.7358 GB, free: 21.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02186/0.6441, allocations: 9.956 MB / 0.7455 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.6441, allocations: 0 / 0.7455 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01519/0.6592, allocations: 5.632 MB / 0.751 GB, free: 5.777 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000538/0.6598, allocations: 167.9 kB / 0.7512 GB, free: 5.629 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001938/0.66, allocations: 23.62 kB / 0.7512 GB, free: 5.609 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/0.6612, allocations: 113.8 kB / 0.7513 GB, free: 5.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006705/0.6619, allocations: 245 kB / 0.7515 GB, free: 5.262 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.268e-05/0.662, allocations: 24 kB / 0.7516 GB, free: 5.238 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007822/0.6628, allocations: 0.7523 MB / 0.7523 GB, free: 4.48 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6628, allocations: 0 / 0.7523 GB, free: 4.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001196/0.664, allocations: 475.3 kB / 0.7527 GB, free: 4.027 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (gENCLS.delta,gENCLS.eq,gENSAE.w,gENSAE.delta,gENSAE.Epq,gENSAE.PSIkd,gENSAE.PSIppq,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 (65): * Single equations (assignments): 64 * 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.01613/0.6801, allocations: 6.214 MB / 0.7588 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008287/0.6884, allocations: 2.444 MB / 0.7612 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.6884, allocations: 4.062 kB / 0.7612 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005938/0.6943, allocations: 1.731 MB / 0.7629 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.6954, allocations: 112.6 kB / 0.763 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04818/0.7436, allocations: 18.12 MB / 0.7807 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007954/0.7444, allocations: 1.133 MB / 0.7818 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000532/0.7449, allocations: 104.3 kB / 0.7819 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007279/0.7457, allocations: 495.2 kB / 0.7824 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of SimCode: time 1.041e-06/0.7457, allocations: 0 / 0.7824 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08926/0.8349, allocations: 39.17 MB / 0.8206 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.33/16.16, allocations: 4.062 kB / 0.8206 GB, free: 14.46 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENSAE_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSSE_GENSAE.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.730096702929586] Failed to read output from testmodel.py, exit status != 0: 16.298433244926855 16.319914642 16.137502803 Calling exit ...