Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001308/0.001308, allocations: 114.3 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.424/1.424, allocations: 230.6 MB / 252.7 MB, free: 8.27 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.001573/0.001573, allocations: 207.9 kB / 309.2 MB, free: 3.105 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.5581/0.5581, allocations: 101.3 MB / 467 MB, free: 10.28 MB / 334.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.Machines.PSSE.GENSAE,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENSAE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAE,fileNamePrefix="OpenIPSL_dev_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.002534/0.002534, allocations: 81.59 kB / 0.6244 GB, free: 12.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4057/0.4082, allocations: 78.62 MB / 0.7012 GB, free: 8.957 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSSE.GENSAE): time 0.005725/0.414, allocations: 7.13 MB / 0.7082 GB, free: 4.02 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00341/0.4174, allocations: 2.311 MB / 0.7104 GB, free: 2.387 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004404/0.4178, allocations: 9.906 kB / 0.7104 GB, free: 2.387 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004759/0.4183, allocations: 273.7 kB / 0.7107 GB, free: 2.246 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001943/0.4202, allocations: 1.115 MB / 0.7118 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.4213, allocations: 0.5723 MB / 0.7123 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0015/0.4228, allocations: 1.779 MB / 0.7141 GB, free: 376 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003083/0.4231, allocations: 222.1 kB / 0.7143 GB, free: 232 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007539/0.4238, allocations: 0.7546 MB / 0.715 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001131/0.425, allocations: 0.9623 MB / 0.716 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001723/0.4251, allocations: 139.8 kB / 0.7161 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005395/0.4257, allocations: 325.5 kB / 0.7164 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003406/0.426, allocations: 373 kB / 0.7168 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006733/0.4267, allocations: 0.7484 MB / 0.7175 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001945/0.4286, allocations: 1.859 MB / 0.7193 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.4287, allocations: 0.6562 kB / 0.7193 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4287, allocations: 0 / 0.7193 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.769e-05/0.4287, allocations: 0 / 0.7193 GB, free: 13.79 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.01129/0.44, allocations: 3.246 MB / 0.7225 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.44, allocations: 10.02 kB / 0.7225 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001913/0.4402, allocations: 135.3 kB / 0.7226 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004445/0.4446, allocations: 0.7221 MB / 0.7233 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/0.4461, allocations: 0.8639 MB / 0.7242 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004686/0.4466, allocations: 456.6 kB / 0.7246 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001911/0.4468, allocations: 102.9 kB / 0.7247 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002622/0.4494, allocations: 1.233 MB / 0.7259 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.4494, allocations: 1.906 kB / 0.7259 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.4495, allocations: 37.97 kB / 0.7259 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.4496, allocations: 18.97 kB / 0.726 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002812/0.4524, allocations: 1.185 MB / 0.7271 GB, free: 10.32 MB / 0.4981 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.007744/0.4601, allocations: 4.082 MB / 0.7311 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007592/0.4677, allocations: 2.146 MB / 0.7332 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001676/0.4694, allocations: 0.7598 MB / 0.7339 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001334/0.4695, allocations: 16.73 kB / 0.734 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.558e-05/0.4696, allocations: 43.41 kB / 0.734 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=109): time 2.565e-06/0.4696, allocations: 1.656 kB / 0.734 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of matching and sorting (n=109): time 0.04139/0.511, allocations: 9.694 MB / 0.7435 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.754e-05/0.511, allocations: 92.42 kB / 0.7436 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001913/0.5129, allocations: 1.118 MB / 0.7446 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002249/0.5132, allocations: 45.64 kB / 0.7447 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004663/0.5136, allocations: 0.4953 MB / 0.7452 GB, free: 156 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000551/0.5142, allocations: 418.7 kB / 0.7456 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005568/0.5147, allocations: 285.7 kB / 0.7458 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.5149, allocations: 302.5 kB / 0.7461 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002032/0.5169, allocations: 0.868 MB / 0.747 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00214/0.5191, allocations: 1.046 MB / 0.748 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004058/0.5231, allocations: 1.902 MB / 0.7499 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.5231, allocations: 5.375 kB / 0.7499 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of matching and sorting (n=198) (initialization): time 0.009647/0.5328, allocations: 3.353 MB / 0.7531 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.5328, allocations: 8 kB / 0.7531 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.5328, allocations: 3.938 kB / 0.7531 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01005/0.5429, allocations: 2.662 MB / 0.7557 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/0.5441, allocations: 247.6 kB / 0.756 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006926/0.551, allocations: 2.673 MB / 0.7586 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002193/0.5532, allocations: 207 kB / 0.7588 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/0.5534, allocations: 55.92 kB / 0.7588 GB, free: 4.977 MB / 0.5137 GB 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 (145): * Single equations (assignments): 144 * 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.0005991/0.554, allocations: 257.6 kB / 0.7591 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003133/0.5543, allocations: 143.1 kB / 0.7592 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01656/0.5709, allocations: 4.648 MB / 0.7638 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.765e-05/0.5709, allocations: 12 kB / 0.7638 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.5709, allocations: 3.984 kB / 0.7638 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.05e-05/0.5709, allocations: 11.81 kB / 0.7638 GB, free: 15.88 MB / 0.5294 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.01935/0.5903, allocations: 6.361 MB / 0.77 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.439e-05/0.5903, allocations: 0 / 0.77 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007641/0.5911, allocations: 115.8 kB / 0.7701 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008208/0.5993, allocations: 2.2 MB / 0.7723 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002358/0.5995, allocations: 23.98 kB / 0.7723 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02904/0.6285, allocations: 10.12 MB / 0.7822 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6285, allocations: 0 / 0.7822 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0195/0.648, allocations: 5.704 MB / 0.7877 GB, free: 7.086 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005442/0.6486, allocations: 166.8 kB / 0.7879 GB, free: 6.922 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003958/0.649, allocations: 24 kB / 0.7879 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001587/0.6506, allocations: 107.9 kB / 0.788 GB, free: 6.793 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007986/0.6514, allocations: 248.9 kB / 0.7883 GB, free: 6.543 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00012/0.6515, allocations: 39.98 kB / 0.7883 GB, free: 6.504 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001319/0.6528, allocations: 0.7445 MB / 0.789 GB, free: 5.754 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6528, allocations: 0 / 0.789 GB, free: 5.754 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00171/0.6545, allocations: 483.6 kB / 0.7895 GB, free: 5.281 MB / 0.545 GB 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 (66): * Single equations (assignments): 65 * 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.02002/0.6745, allocations: 6.296 MB / 0.7956 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009459/0.684, allocations: 2.493 MB / 0.7981 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/0.684, allocations: 4 kB / 0.7981 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006838/0.6908, allocations: 1.784 MB / 0.7998 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001531/0.6924, allocations: 108.7 kB / 0.7999 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0514/0.7438, allocations: 16.45 MB / 0.816 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001263/0.745, allocations: 1.123 MB / 0.8171 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008769/0.7459, allocations: 108.3 kB / 0.8172 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001011/0.7469, allocations: 495.3 kB / 0.8177 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of SimCode: time 8.81e-07/0.7469, allocations: 0 / 0.8177 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1206/0.8675, allocations: 39.26 MB / 0.856 GB, free: 1 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.35/16.21, allocations: 12.86 kB / 0.856 GB, free: 0.9922 MB / 0.6075 GB " [Timeout remaining time 644] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENSAE_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSSE_GENSAE.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENSAE.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.77143137087114] Failed to read output from testmodel.py, exit status != 0: 16.356800688896328 16.385023203 15.95129837 Calling exit ...