Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08393/0.08393, allocations: 12.6 MB / 28.9 MB, free: 0.6172 MB / 19.63 MB " [Timeout remaining time 180] 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.001293/0.001294, allocations: 115.5 kB / 34.51 MB, free: 1.547 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.345/1.345, allocations: 205.1 MB / 245.1 MB, free: 12.16 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.002091/0.002092, allocations: 187.8 kB / 297.4 MB, free: 8.836 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.438/0.438, allocations: 78.5 MB / 428 MB, free: 9.695 MB / 302.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003902/0.003902, allocations: 154.4 kB / 0.5659 GB, free: 16.88 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1359, allocations: 68.12 MB / 0.6324 GB, free: 12.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.01008/0.146, allocations: 8.032 MB / 0.6403 GB, free: 4.664 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005646/0.1517, allocations: 2.471 MB / 0.6427 GB, free: 2.184 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008412/0.1525, allocations: 12 kB / 0.6427 GB, free: 2.172 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009547/0.1536, allocations: 305.4 kB / 0.643 GB, free: 1.871 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002867/0.1564, allocations: 1.203 MB / 0.6441 GB, free: 0.668 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.1579, allocations: 0.6702 MB / 0.6448 GB, free: 4 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002622/0.1605, allocations: 2.275 MB / 0.647 GB, free: 13.72 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005627/0.1611, allocations: 377.5 kB / 0.6474 GB, free: 13.33 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.1621, allocations: 0.8599 MB / 0.6482 GB, free: 12.47 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001319/0.1635, allocations: 1.109 MB / 0.6493 GB, free: 11.36 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002636/0.1637, allocations: 176 kB / 0.6495 GB, free: 11.18 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006577/0.1644, allocations: 351.9 kB / 0.6498 GB, free: 10.84 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004181/0.1648, allocations: 450.2 kB / 0.6502 GB, free: 10.4 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000826/0.1657, allocations: 0.8702 MB / 0.6511 GB, free: 9.523 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002392/0.1681, allocations: 2.202 MB / 0.6532 GB, free: 7.312 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1681, allocations: 0 / 0.6532 GB, free: 7.312 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1681, allocations: 0 / 0.6532 GB, free: 7.312 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.088e-05/0.1681, allocations: 0 / 0.6532 GB, free: 7.312 MB / 462.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.01371/0.1818, allocations: 3.854 MB / 0.657 GB, free: 3.395 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.1819, allocations: 15.98 kB / 0.657 GB, free: 3.379 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001939/0.1821, allocations: 147.6 kB / 0.6572 GB, free: 3.227 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004438/0.1865, allocations: 0.7521 MB / 0.6579 GB, free: 2.473 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001845/0.1884, allocations: 1.094 MB / 0.659 GB, free: 1.328 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004849/0.1889, allocations: 424.9 kB / 0.6594 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001968/0.1891, allocations: 108 kB / 0.6595 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002837/0.1919, allocations: 1.368 MB / 0.6608 GB, free: 15.35 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.192, allocations: 0 / 0.6608 GB, free: 15.35 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/0.1921, allocations: 36 kB / 0.6608 GB, free: 15.32 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.596e-05/0.1921, allocations: 23.94 kB / 0.6609 GB, free: 15.29 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002946/0.1951, allocations: 1.304 MB / 0.6621 GB, free: 13.99 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.008202/0.2033, allocations: 4.654 MB / 0.6667 GB, free: 9.125 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008717/0.212, allocations: 2.878 MB / 0.6695 GB, free: 6.102 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002083/0.2141, allocations: 0.9035 MB / 0.6704 GB, free: 5.191 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001417/0.2143, allocations: 24.97 kB / 0.6704 GB, free: 5.168 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003397/0.2177, allocations: 1.046 MB / 0.6714 GB, free: 4.102 MB / 478.1 MB Notification: Performance of pre-optimization done (n=124): time 6.582e-06/0.2177, allocations: 0 / 0.6714 GB, free: 4.102 MB / 478.1 MB Notification: Performance of matching and sorting (n=124): time 0.07327/0.291, allocations: 9.914 MB / 0.6811 GB, free: 10.14 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.2911, allocations: 123.9 kB / 0.6812 GB, free: 10 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003025/0.2942, allocations: 1.357 MB / 0.6825 GB, free: 8.629 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000384/0.2946, allocations: 53.7 kB / 0.6826 GB, free: 8.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006261/0.2952, allocations: 0.5733 MB / 0.6832 GB, free: 7.992 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007092/0.2959, allocations: 472 kB / 0.6836 GB, free: 7.527 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008567/0.2968, allocations: 327.5 kB / 0.6839 GB, free: 7.203 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.297, allocations: 309.1 kB / 0.6842 GB, free: 6.898 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002358/0.2993, allocations: 0.9526 MB / 0.6851 GB, free: 5.945 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002373/0.3017, allocations: 1.155 MB / 0.6863 GB, free: 4.746 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004395/0.3061, allocations: 2.042 MB / 0.6883 GB, free: 2.656 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.3061, allocations: 0 / 0.6883 GB, free: 2.656 MB / 494.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.2727/0.5788, allocations: 3.829 MB / 0.692 GB, free: 52.45 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.5789, allocations: 6.234 kB / 0.692 GB, free: 52.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.5789, allocations: 3.406 kB / 0.692 GB, free: 52.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01021/0.5891, allocations: 2.67 MB / 0.6946 GB, free: 52.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/0.5907, allocations: 297 kB / 0.6949 GB, free: 52.42 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006586/0.5973, allocations: 2.702 MB / 0.6975 GB, free: 51.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002274/0.5996, allocations: 247.2 kB / 0.6978 GB, free: 51.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001677/0.5998, allocations: 60.39 kB / 0.6978 GB, free: 51.88 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.0005417/0.6004, allocations: 290.2 kB / 0.6981 GB, free: 51.73 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003446/0.6007, allocations: 165.2 kB / 0.6983 GB, free: 51.73 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01828/0.619, allocations: 4.759 MB / 0.7029 GB, free: 50.65 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.701e-05/0.6191, allocations: 13 kB / 0.7029 GB, free: 50.65 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/0.6191, allocations: 3.562 kB / 0.7029 GB, free: 50.65 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.178e-05/0.6192, allocations: 12.94 kB / 0.7029 GB, free: 50.64 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.0192/0.6384, allocations: 6.859 MB / 0.7096 GB, free: 48.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.709e-05/0.6384, allocations: 0 / 0.7096 GB, free: 48.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008729/0.6393, allocations: 141.2 kB / 0.7098 GB, free: 48.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007314/0.6466, allocations: 2.137 MB / 0.7119 GB, free: 47.69 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002476/0.6469, allocations: 32.05 kB / 0.7119 GB, free: 47.67 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02301/0.6699, allocations: 10.08 MB / 0.7217 GB, free: 41.52 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.67, allocations: 0 / 0.7217 GB, free: 41.52 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01714/0.6871, allocations: 5.926 MB / 0.7275 GB, free: 36.96 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006026/0.6877, allocations: 270 kB / 0.7278 GB, free: 36.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003022/0.6881, allocations: 24 kB / 0.7278 GB, free: 36.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001544/0.6896, allocations: 139.8 kB / 0.7279 GB, free: 36.54 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007663/0.6904, allocations: 253.4 kB / 0.7282 GB, free: 36.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.611e-05/0.6905, allocations: 43.92 kB / 0.7282 GB, free: 36.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001143/0.6916, allocations: 0.9095 MB / 0.7291 GB, free: 35.34 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6917, allocations: 2.297 kB / 0.7291 GB, free: 35.34 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001358/0.693, allocations: 0.5145 MB / 0.7296 GB, free: 34.84 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.01695/0.71, allocations: 6.517 MB / 0.736 GB, free: 28.29 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007902/0.7179, allocations: 2.81 MB / 0.7387 GB, free: 25.49 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/0.718, allocations: 1.188 kB / 0.7387 GB, free: 25.49 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005614/0.7236, allocations: 1.926 MB / 0.7406 GB, free: 23.55 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/0.725, allocations: 129 kB / 0.7407 GB, free: 23.43 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03904/0.764, allocations: 19.11 MB / 0.7594 GB, free: 4.035 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004911/0.7646, allocations: 1.211 MB / 0.7606 GB, free: 2.793 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006152/0.7652, allocations: 145.6 kB / 0.7607 GB, free: 2.648 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006176/0.7658, allocations: 0.5735 MB / 0.7613 GB, free: 2.074 MB / 494.1 MB Notification: Performance of SimCode: time 4.91e-07/0.7658, allocations: 0 / 0.7613 GB, free: 2.074 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08563/0.8514, allocations: 42.11 MB / 0.8024 GB, free: 8.02 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.54/15.39, allocations: 19.72 kB / 0.8024 GB, free: 8 MB / 0.5294 GB " [Timeout remaining time 645] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.79652175703086] Failed to read output from testmodel.py, exit status != 0: 15.50101830798667 15.517758846 15.34662863 Calling exit ...