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.001795/0.001795, allocations: 107.8 kB / 16.45 MB, free: 6.02 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.435/1.435, allocations: 230.6 MB / 249.8 MB, free: 9.211 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.001571/0.001571, allocations: 220.2 kB / 306 MB, free: 4.281 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.457/0.457, allocations: 79.72 MB / 441.8 MB, free: 132 kB / 302.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.002941/0.002941, allocations: 79.89 kB / 0.5878 GB, free: 1.551 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1436, allocations: 73.26 MB / 0.6593 GB, free: 8.191 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAE): time 0.008245/0.1518, allocations: 7.062 MB / 0.6662 GB, free: 1.086 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005156/0.157, allocations: 2.282 MB / 0.6685 GB, free: 14.8 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008757/0.1578, allocations: 8 kB / 0.6685 GB, free: 14.79 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006599/0.1585, allocations: 277.7 kB / 0.6687 GB, free: 14.52 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003059/0.1616, allocations: 1.196 MB / 0.6699 GB, free: 13.32 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.1629, allocations: 0.573 MB / 0.6705 GB, free: 12.76 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002496/0.1654, allocations: 1.913 MB / 0.6723 GB, free: 10.84 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004191/0.1658, allocations: 220 kB / 0.6726 GB, free: 10.6 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.1668, allocations: 0.7588 MB / 0.6733 GB, free: 9.836 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001156/0.168, allocations: 0.9726 MB / 0.6742 GB, free: 8.859 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002165/0.1682, allocations: 140 kB / 0.6744 GB, free: 8.723 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006303/0.1688, allocations: 319.8 kB / 0.6747 GB, free: 8.41 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003231/0.1691, allocations: 382.5 kB / 0.675 GB, free: 8.035 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006723/0.1698, allocations: 0.7458 MB / 0.6758 GB, free: 7.285 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00219/0.172, allocations: 1.879 MB / 0.6776 GB, free: 5.398 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.172, allocations: 0 / 0.6776 GB, free: 5.398 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.172, allocations: 0 / 0.6776 GB, free: 5.398 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.747e-05/0.172, allocations: 0 / 0.6776 GB, free: 5.398 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.01401/0.1861, allocations: 3.518 MB / 0.681 GB, free: 1.82 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/0.1861, allocations: 16.02 kB / 0.6811 GB, free: 1.805 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002028/0.1863, allocations: 130.9 kB / 0.6812 GB, free: 1.668 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004752/0.1911, allocations: 0.7288 MB / 0.6819 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001648/0.1927, allocations: 0.9312 MB / 0.6828 GB, free: 15.95 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004358/0.1931, allocations: 353.3 kB / 0.6831 GB, free: 15.55 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000199/0.1933, allocations: 91.94 kB / 0.6832 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002749/0.1961, allocations: 1.223 MB / 0.6844 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.1961, allocations: 3.938 kB / 0.6844 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/0.1962, allocations: 32 kB / 0.6845 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.1962, allocations: 16 kB / 0.6845 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002804/0.199, allocations: 1.163 MB / 0.6856 GB, free: 13.01 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.008348/0.2074, allocations: 4.119 MB / 0.6896 GB, free: 8.699 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008232/0.2156, allocations: 2.582 MB / 0.6922 GB, free: 5.98 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001878/0.2175, allocations: 0.758 MB / 0.6929 GB, free: 5.219 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001358/0.2176, allocations: 20.98 kB / 0.6929 GB, free: 5.195 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.2177, allocations: 47.56 kB / 0.693 GB, free: 5.141 MB / 494.1 MB Notification: Performance of pre-optimization done (n=108): time 2.865e-06/0.2177, allocations: 0 / 0.693 GB, free: 5.141 MB / 494.1 MB Notification: Performance of matching and sorting (n=108): time 0.3105/0.5282, allocations: 10.06 MB / 0.7028 GB, free: 36.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.5283, allocations: 88.36 kB / 0.7029 GB, free: 36.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001797/0.5301, allocations: 1.117 MB / 0.704 GB, free: 36.11 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003044/0.5304, allocations: 45.05 kB / 0.704 GB, free: 36.07 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003701/0.5307, allocations: 0.5041 MB / 0.7045 GB, free: 35.97 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000449/0.5312, allocations: 414.5 kB / 0.7049 GB, free: 35.75 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005633/0.5318, allocations: 291 kB / 0.7052 GB, free: 35.72 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.188e-05/0.5318, allocations: 301.1 kB / 0.7055 GB, free: 35.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002038/0.5338, allocations: 0.8583 MB / 0.7063 GB, free: 35.42 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002202/0.536, allocations: 1.047 MB / 0.7073 GB, free: 35.27 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003998/0.54, allocations: 1.881 MB / 0.7091 GB, free: 34.46 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.54, allocations: 1.219 kB / 0.7092 GB, free: 34.46 MB / 494.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.009344/0.5494, allocations: 3.332 MB / 0.7124 GB, free: 33.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.5494, allocations: 7.031 kB / 0.7124 GB, free: 33.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.5494, allocations: 3 kB / 0.7124 GB, free: 33.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009575/0.559, allocations: 2.601 MB / 0.715 GB, free: 32.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/0.5602, allocations: 236.3 kB / 0.7152 GB, free: 32.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005934/0.5662, allocations: 2.657 MB / 0.7178 GB, free: 31.63 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001835/0.568, allocations: 202.6 kB / 0.718 GB, free: 31.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/0.5681, allocations: 51.17 kB / 0.718 GB, free: 31.53 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.0004589/0.5686, allocations: 261.3 kB / 0.7183 GB, free: 31.32 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002746/0.5689, allocations: 138.9 kB / 0.7184 GB, free: 31.24 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01513/0.584, allocations: 4.538 MB / 0.7228 GB, free: 29.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.101e-05/0.584, allocations: 11.02 kB / 0.7228 GB, free: 29.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.584, allocations: 1.344 kB / 0.7228 GB, free: 29.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.399e-05/0.584, allocations: 7.984 kB / 0.7228 GB, free: 29.41 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.01664/0.6007, allocations: 6.296 MB / 0.729 GB, free: 25.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/0.6007, allocations: 3.875 kB / 0.729 GB, free: 25.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006409/0.6013, allocations: 112.7 kB / 0.7291 GB, free: 25.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006964/0.6083, allocations: 2.135 MB / 0.7312 GB, free: 24.67 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001718/0.6085, allocations: 23.66 kB / 0.7312 GB, free: 24.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02281/0.6313, allocations: 10.07 MB / 0.741 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.6313, allocations: 0 / 0.741 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01594/0.6472, allocations: 5.629 MB / 0.7465 GB, free: 9.363 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004941/0.6477, allocations: 240.6 kB / 0.7468 GB, free: 9.109 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002059/0.6479, allocations: 20 kB / 0.7468 GB, free: 9.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/0.6492, allocations: 107.9 kB / 0.7469 GB, free: 8.984 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006995/0.6499, allocations: 237.1 kB / 0.7471 GB, free: 8.754 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.908e-05/0.65, allocations: 36.83 kB / 0.7472 GB, free: 8.723 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008357/0.6508, allocations: 0.7484 MB / 0.7479 GB, free: 7.969 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6508, allocations: 0 / 0.7479 GB, free: 7.969 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001228/0.652, allocations: 479.6 kB / 0.7483 GB, free: 7.5 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.01646/0.6685, allocations: 6.213 MB / 0.7544 GB, free: 1.258 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008097/0.6766, allocations: 2.445 MB / 0.7568 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.6766, allocations: 256 / 0.7568 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006191/0.6828, allocations: 1.744 MB / 0.7585 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.6839, allocations: 110.1 kB / 0.7586 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04928/0.7332, allocations: 18.11 MB / 0.7763 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007523/0.734, allocations: 1.127 MB / 0.7774 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000494/0.7345, allocations: 116.3 kB / 0.7775 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007025/0.7352, allocations: 487.3 kB / 0.778 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of SimCode: time 7.11e-07/0.7352, allocations: 0 / 0.778 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08658/0.8217, allocations: 38.04 MB / 0.8151 GB, free: 3.008 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.77/14.59, allocations: 7.188 kB / 0.8151 GB, free: 3.004 MB / 0.545 GB " [Timeout remaining time 645] (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 & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENSAE_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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: 18.116058586005238] Failed to read output from testmodel.py, exit status != 0: 14.703186982005718 14.726386262 14.550080051 Calling exit ...