Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.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.00132/0.00132, allocations: 113.8 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.462/1.462, allocations: 230.6 MB / 253.4 MB, free: 14.64 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.002899/0.002899, allocations: 218.1 kB / 310 MB, free: 3.086 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.4832/0.4832, allocations: 79.73 MB / 446.2 MB, free: 38.77 MB / 350.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.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_GAST",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_GAST",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.002551/0.002551, allocations: 83.78 kB / 0.5937 GB, free: 38.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1155, allocations: 73.3 MB / 0.6653 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.01059/0.1261, allocations: 9.322 MB / 0.6744 GB, free: 8.738 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007129/0.1332, allocations: 2.903 MB / 0.6772 GB, free: 5.828 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001721/0.1349, allocations: 23.88 kB / 0.6772 GB, free: 5.805 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001367/0.1363, allocations: 372.8 kB / 0.6776 GB, free: 5.438 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004164/0.1405, allocations: 1.326 MB / 0.6789 GB, free: 4.109 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00226/0.1427, allocations: 0.8622 MB / 0.6797 GB, free: 3.254 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004645/0.1474, allocations: 2.814 MB / 0.6825 GB, free: 444 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008643/0.1482, allocations: 384.2 kB / 0.6829 GB, free: 24 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001968/0.1502, allocations: 1.07 MB / 0.6839 GB, free: 14.95 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002043/0.1523, allocations: 1.315 MB / 0.6852 GB, free: 13.63 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005316/0.1528, allocations: 220 kB / 0.6854 GB, free: 13.41 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/0.1538, allocations: 479.7 kB / 0.6858 GB, free: 12.95 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005791/0.1544, allocations: 0.5448 MB / 0.6864 GB, free: 12.4 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001241/0.1557, allocations: 1.057 MB / 0.6874 GB, free: 11.34 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003831/0.1595, allocations: 2.754 MB / 0.6901 GB, free: 8.57 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1595, allocations: 0 / 0.6901 GB, free: 8.57 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1595, allocations: 4 kB / 0.6901 GB, free: 8.566 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.717e-05/0.1596, allocations: 0 / 0.6901 GB, free: 8.566 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.01863/0.1782, allocations: 4.578 MB / 0.6946 GB, free: 3.926 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.037e-05/0.1783, allocations: 8.031 kB / 0.6946 GB, free: 3.918 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.886e-05/0.1783, allocations: 30.16 kB / 0.6946 GB, free: 3.887 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003594/0.1787, allocations: 181.3 kB / 0.6948 GB, free: 3.699 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004994/0.1837, allocations: 0.7948 MB / 0.6956 GB, free: 2.902 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002653/0.1863, allocations: 1.232 MB / 0.6968 GB, free: 1.637 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006649/0.187, allocations: 0.6353 MB / 0.6974 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002768/0.1873, allocations: 139.9 kB / 0.6975 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003563/0.1908, allocations: 1.617 MB / 0.6991 GB, free: 15.08 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/0.1909, allocations: 3.938 kB / 0.6991 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001541/0.191, allocations: 48 kB / 0.6991 GB, free: 15.03 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.842e-05/0.191, allocations: 32 kB / 0.6992 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003614/0.1947, allocations: 1.496 MB / 0.7006 GB, free: 13.49 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.0113/0.206, allocations: 5.75 MB / 0.7063 GB, free: 7.527 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009315/0.2153, allocations: 2.622 MB / 0.7088 GB, free: 4.891 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002426/0.2177, allocations: 0.9082 MB / 0.7097 GB, free: 3.969 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003439/0.218, allocations: 58.58 kB / 0.7098 GB, free: 3.914 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002851/0.2209, allocations: 1.202 MB / 0.7109 GB, free: 2.688 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 3.787e-06/0.2209, allocations: 4 kB / 0.7109 GB, free: 2.684 MB / 494.1 MB Notification: Performance of matching and sorting (n=148): time 0.04431/0.2652, allocations: 9.782 MB / 0.7205 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.66e-05/0.2653, allocations: 145.8 kB / 0.7206 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003035/0.2683, allocations: 1.65 MB / 0.7222 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004063/0.2687, allocations: 57.77 kB / 0.7223 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000656/0.2694, allocations: 0.7117 MB / 0.723 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007886/0.2702, allocations: 0.5617 MB / 0.7235 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008328/0.271, allocations: 395.9 kB / 0.7239 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.2711, allocations: 305.1 kB / 0.7242 GB, free: 5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00268/0.2738, allocations: 1.074 MB / 0.7253 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002889/0.2767, allocations: 1.31 MB / 0.7265 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00559/0.2823, allocations: 2.331 MB / 0.7288 GB, free: 128 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-05/0.2823, allocations: 0 / 0.7288 GB, free: 128 kB / 0.4981 GB Notification: Performance of matching and sorting (n=278) (initialization): time 0.01155/0.2939, allocations: 3.964 MB / 0.7327 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.04e-05/0.2939, allocations: 37.7 kB / 0.7327 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.958e-05/0.294, allocations: 8 kB / 0.7327 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01016/0.3041, allocations: 2.653 MB / 0.7353 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00207/0.3062, allocations: 379.5 kB / 0.7357 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007328/0.3135, allocations: 2.691 MB / 0.7383 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002844/0.3164, allocations: 302.5 kB / 0.7386 GB, free: 6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003627/0.3167, allocations: 71.98 kB / 0.7387 GB, free: 5.93 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,iEEET1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (221): * Single equations (assignments): 218 * Array equations: 0 * Algorithm blocks: 1 * 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.001062/0.3178, allocations: 349.4 kB / 0.739 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005977/0.3184, allocations: 202.7 kB / 0.7392 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01931/0.3377, allocations: 5.124 MB / 0.7442 GB, free: 244 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-05/0.3377, allocations: 16 kB / 0.7442 GB, free: 228 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/0.3377, allocations: 0 / 0.7442 GB, free: 228 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.255e-05/0.3378, allocations: 7.969 kB / 0.7442 GB, free: 220 kB / 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 postOpt removeSimpleEquations (simulation): time 0.02536/0.3631, allocations: 7.574 MB / 0.7516 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.871e-05/0.3632, allocations: 4 kB / 0.7516 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001222/0.3644, allocations: 175.8 kB / 0.7518 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008988/0.3734, allocations: 2.236 MB / 0.754 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004505/0.3738, allocations: 39.98 kB / 0.754 GB, free: 6.043 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03328/0.4071, allocations: 11.87 MB / 0.7656 GB, free: 9.922 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.217e-06/0.4071, allocations: 7.984 kB / 0.7656 GB, free: 9.914 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02238/0.4295, allocations: 6.33 MB / 0.7718 GB, free: 3.547 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008083/0.4303, allocations: 234.5 kB / 0.772 GB, free: 3.316 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007265/0.431, allocations: 28 kB / 0.772 GB, free: 3.289 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002357/0.4334, allocations: 163.8 kB / 0.7722 GB, free: 3.129 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001203/0.4346, allocations: 293.2 kB / 0.7725 GB, free: 2.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002926/0.4349, allocations: 43.98 kB / 0.7725 GB, free: 2.797 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002488/0.4374, allocations: 1.113 MB / 0.7736 GB, free: 1.691 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.4374, allocations: 0 / 0.7736 GB, free: 1.691 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002658/0.44, allocations: 0.601 MB / 0.7742 GB, free: 1.09 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 16 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,iEEET1.derivativeLag.x,iEEET1.simpleLagLim.state,iEEET1.rotatingExciter.sISO.y,iEEET1.TransducerDelay.state,gAST.transferFunction1.x_scaled[1],gAST.transferFunction2.x_scaled[1],gAST.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(26,23), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02291/0.4629, allocations: 6.959 MB / 0.781 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01112/0.4741, allocations: 2.99 MB / 0.7839 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.4741, allocations: 0 / 0.7839 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.007503/0.4816, allocations: 2.101 MB / 0.786 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001848/0.4834, allocations: 176.5 kB / 0.7861 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3267/0.8101, allocations: 21.35 MB / 0.807 GB, free: 131.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009862/0.8111, allocations: 1.342 MB / 0.8083 GB, free: 130.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009248/0.812, allocations: 169.2 kB / 0.8084 GB, free: 130.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001015/0.813, allocations: 0.7188 MB / 0.8092 GB, free: 130.7 MB / 0.5762 GB Notification: Performance of SimCode: time 1.092e-06/0.813, allocations: 2.906 kB / 0.8092 GB, free: 130.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08622/0.8992, allocations: 51.46 MB / 0.8594 GB, free: 93.68 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.76/17.66, allocations: 10.55 kB / 0.8594 GB, free: 93.68 MB / 0.5762 GB " [Timeout remaining time 642] (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_GAST_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_GAST.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.77000452694483] Failed to read output from testmodel.py, exit status != 0: 17.86125657102093 17.871835526999998 17.709812838 Calling exit ...