Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 225.6 MB / 244.8 MB, free: 14.2 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 198.9 kB / 299.8 MB, free: 9.836 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.473/0.473, allocations: 79.72 MB / 434.4 MB, free: 6.227 MB / 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.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.TG.TGOV1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00239/0.00239, allocations: 87.86 kB / 0.5784 GB, free: 9.965 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.123, allocations: 72.08 MB / 0.6488 GB, free: 1.777 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.009307/0.1323, allocations: 8.003 MB / 0.6566 GB, free: 9.73 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005348/0.1376, allocations: 2.517 MB / 0.6591 GB, free: 7.203 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009088/0.1385, allocations: 16 kB / 0.6591 GB, free: 7.188 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.1395, allocations: 309.4 kB / 0.6594 GB, free: 6.883 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003598/0.1431, allocations: 1.259 MB / 0.6606 GB, free: 5.625 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001847/0.145, allocations: 0.6629 MB / 0.6612 GB, free: 4.969 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003502/0.1485, allocations: 2.279 MB / 0.6635 GB, free: 2.68 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005662/0.149, allocations: 261.6 kB / 0.6637 GB, free: 2.402 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001237/0.1503, allocations: 0.86 MB / 0.6646 GB, free: 1.539 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001451/0.1517, allocations: 1.124 MB / 0.6657 GB, free: 420 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002898/0.152, allocations: 176 kB / 0.6658 GB, free: 244 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006902/0.1527, allocations: 351.8 kB / 0.6662 GB, free: 15.89 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004087/0.1531, allocations: 454.2 kB / 0.6666 GB, free: 15.45 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008496/0.154, allocations: 0.878 MB / 0.6675 GB, free: 14.57 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002648/0.1566, allocations: 2.194 MB / 0.6696 GB, free: 12.36 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1566, allocations: 0 / 0.6696 GB, free: 12.36 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1566, allocations: 0 / 0.6696 GB, free: 12.36 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.802e-05/0.1567, allocations: 0 / 0.6696 GB, free: 12.36 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.01506/0.1717, allocations: 3.858 MB / 0.6734 GB, free: 8.441 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.1718, allocations: 8.031 kB / 0.6734 GB, free: 8.434 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002377/0.172, allocations: 147.6 kB / 0.6735 GB, free: 8.281 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005013/0.177, allocations: 0.756 MB / 0.6742 GB, free: 7.523 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002776/0.1798, allocations: 1.101 MB / 0.6753 GB, free: 6.371 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005646/0.1804, allocations: 424.9 kB / 0.6757 GB, free: 5.891 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002953/0.1807, allocations: 108 kB / 0.6758 GB, free: 5.785 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003232/0.1839, allocations: 1.364 MB / 0.6772 GB, free: 4.402 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/0.1839, allocations: 0 / 0.6772 GB, free: 4.402 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/0.184, allocations: 39.98 kB / 0.6772 GB, free: 4.363 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/0.1841, allocations: 20 kB / 0.6772 GB, free: 4.344 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003128/0.1872, allocations: 1.304 MB / 0.6785 GB, free: 3.043 MB / 478.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.01006/0.1972, allocations: 4.65 MB / 0.683 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008558/0.2058, allocations: 2.792 MB / 0.6858 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002082/0.2079, allocations: 0.8214 MB / 0.6866 GB, free: 10.42 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001254/0.208, allocations: 16.98 kB / 0.6866 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002314/0.2103, allocations: 1.054 MB / 0.6876 GB, free: 9.328 MB / 494.1 MB Notification: Performance of pre-optimization done (n=124): time 3.005e-06/0.2103, allocations: 0 / 0.6876 GB, free: 9.328 MB / 494.1 MB Notification: Performance of matching and sorting (n=124): time 0.2847/0.495, allocations: 9.868 MB / 0.6972 GB, free: 43.58 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.4951, allocations: 123.2 kB / 0.6974 GB, free: 43.45 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002284/0.4974, allocations: 1.35 MB / 0.6987 GB, free: 43.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003321/0.4977, allocations: 52.64 kB / 0.6987 GB, free: 43.27 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004136/0.4981, allocations: 0.5721 MB / 0.6993 GB, free: 43.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004583/0.4986, allocations: 476.8 kB / 0.6997 GB, free: 43.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000611/0.4992, allocations: 328.5 kB / 0.7001 GB, free: 42.99 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.773e-05/0.4992, allocations: 304.8 kB / 0.7003 GB, free: 42.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00222/0.5014, allocations: 0.9516 MB / 0.7013 GB, free: 42.56 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00242/0.5039, allocations: 1.154 MB / 0.7024 GB, free: 42.05 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004431/0.5083, allocations: 2.048 MB / 0.7044 GB, free: 41.11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.174e-05/0.5083, allocations: 0.8125 kB / 0.7044 GB, free: 41.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.01091/0.5192, allocations: 3.787 MB / 0.7081 GB, free: 39.89 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.5192, allocations: 6.25 kB / 0.7081 GB, free: 39.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.5192, allocations: 3.562 kB / 0.7081 GB, free: 39.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009728/0.529, allocations: 2.672 MB / 0.7107 GB, free: 39.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001555/0.5305, allocations: 296.1 kB / 0.711 GB, free: 39.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006678/0.5372, allocations: 2.691 MB / 0.7136 GB, free: 38.22 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002663/0.5399, allocations: 252.9 kB / 0.7139 GB, free: 38.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002878/0.5402, allocations: 67.78 kB / 0.7139 GB, free: 38.12 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: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 173 * 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 {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0006255/0.5408, allocations: 290.2 kB / 0.7142 GB, free: 37.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000336/0.5411, allocations: 164.4 kB / 0.7144 GB, free: 37.81 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0157/0.5568, allocations: 4.722 MB / 0.719 GB, free: 36.72 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.821e-05/0.5568, allocations: 12.91 kB / 0.719 GB, free: 36.72 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.5568, allocations: 0 / 0.719 GB, free: 36.72 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.08e-05/0.5569, allocations: 12.38 kB / 0.719 GB, free: 36.71 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.01718/0.5741, allocations: 6.824 MB / 0.7257 GB, free: 33.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/0.5741, allocations: 0 / 0.7257 GB, free: 33.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008734/0.5749, allocations: 142.2 kB / 0.7258 GB, free: 33.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006634/0.5816, allocations: 2.135 MB / 0.7279 GB, free: 32.43 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000185/0.5818, allocations: 27.89 kB / 0.7279 GB, free: 32.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02175/0.6035, allocations: 10.08 MB / 0.7378 GB, free: 23.25 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.6035, allocations: 7.609 kB / 0.7378 GB, free: 23.25 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01657/0.6201, allocations: 5.874 MB / 0.7435 GB, free: 17.35 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005367/0.6206, allocations: 275.4 kB / 0.7438 GB, free: 17.08 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002619/0.6209, allocations: 27.92 kB / 0.7438 GB, free: 17.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001515/0.6224, allocations: 140.4 kB / 0.7439 GB, free: 16.91 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007351/0.6231, allocations: 249.4 kB / 0.7442 GB, free: 16.67 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.682e-05/0.6232, allocations: 39.73 kB / 0.7442 GB, free: 16.63 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001178/0.6244, allocations: 0.9212 MB / 0.7451 GB, free: 15.71 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6244, allocations: 0 / 0.7451 GB, free: 15.71 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001401/0.6258, allocations: 0.5113 MB / 0.7456 GB, free: 15.21 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,tGOV1.imLeadLag.TF.x_scaled[1],tGOV1.simpleLagLim.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 (81): * Single equations (assignments): 80 * 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.01621/0.642, allocations: 6.484 MB / 0.7519 GB, free: 8.703 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007813/0.6498, allocations: 2.656 MB / 0.7545 GB, free: 6.059 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.6498, allocations: 0 / 0.7545 GB, free: 6.059 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00548/0.6553, allocations: 1.844 MB / 0.7563 GB, free: 4.207 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.6565, allocations: 129 kB / 0.7565 GB, free: 4.078 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04778/0.7043, allocations: 19.03 MB / 0.775 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009646/0.7053, allocations: 1.204 MB / 0.7762 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006856/0.7059, allocations: 141.7 kB / 0.7763 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009321/0.7069, allocations: 0.5696 MB / 0.7769 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of SimCode: time 6.82e-07/0.7069, allocations: 0 / 0.7769 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09315/0.8, allocations: 42.53 MB / 0.8184 GB, free: 4.426 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.99/15.79, allocations: 14.7 kB / 0.8185 GB, free: 4.414 MB / 0.545 GB " [Timeout remaining time 644] (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.315284948330373] Failed to read output from testmodel.py, exit status != 0: 15.910650247242302 15.93841941 15.776631812 Calling exit ...