Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.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.001315/0.001315, allocations: 107 kB / 16.45 MB, free: 6.508 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.485/1.485, allocations: 230.6 MB / 249.8 MB, free: 9.234 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.001544/0.001544, allocations: 208.5 kB / 306 MB, free: 4.309 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.4591/0.4591, allocations: 79.71 MB / 441.8 MB, free: 172 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.FACTS.STATCOM_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_FACTS_STATCOM_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.STATCOM_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_FACTS_STATCOM_Test",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.002485/0.002485, allocations: 90.36 kB / 0.5878 GB, free: 1.617 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1343, allocations: 73.25 MB / 0.6593 GB, free: 8.27 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.006352/0.1407, allocations: 5.283 MB / 0.6645 GB, free: 2.953 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002998/0.1437, allocations: 1.458 MB / 0.6659 GB, free: 1.492 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003187/0.144, allocations: 4 kB / 0.6659 GB, free: 1.488 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003925/0.1444, allocations: 162.5 kB / 0.6661 GB, free: 1.328 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007098/0.1451, allocations: 373.4 kB / 0.6664 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.1464, allocations: 0.5891 MB / 0.667 GB, free: 384 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001141/0.1476, allocations: 1.058 MB / 0.668 GB, free: 15.31 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003047/0.1479, allocations: 159.7 kB / 0.6682 GB, free: 15.14 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000556/0.1484, allocations: 454.1 kB / 0.6686 GB, free: 14.7 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000685/0.1491, allocations: 0.5366 MB / 0.6691 GB, free: 14.16 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001687/0.1493, allocations: 79.94 kB / 0.6692 GB, free: 14.08 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002754/0.1496, allocations: 140 kB / 0.6693 GB, free: 13.95 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002054/0.1498, allocations: 207.1 kB / 0.6695 GB, free: 13.74 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004269/0.1502, allocations: 465.2 kB / 0.67 GB, free: 13.29 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001183/0.1514, allocations: 1.093 MB / 0.6711 GB, free: 12.19 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1514, allocations: 0 / 0.6711 GB, free: 12.19 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1514, allocations: 0 / 0.6711 GB, free: 12.19 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.1514, allocations: 0 / 0.6711 GB, free: 12.19 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.005599/0.157, allocations: 1.783 MB / 0.6728 GB, free: 10.35 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.1571, allocations: 16.02 kB / 0.6728 GB, free: 10.34 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001388/0.1572, allocations: 98.64 kB / 0.6729 GB, free: 10.23 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002826/0.16, allocations: 455 kB / 0.6733 GB, free: 9.785 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.1611, allocations: 0.628 MB / 0.6739 GB, free: 9.113 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002659/0.1614, allocations: 197.8 kB / 0.6741 GB, free: 8.887 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.1615, allocations: 63.95 kB / 0.6742 GB, free: 8.824 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001679/0.1632, allocations: 0.7681 MB / 0.6749 GB, free: 8.043 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.1632, allocations: 0 / 0.6749 GB, free: 8.043 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.95e-05/0.1633, allocations: 31.92 kB / 0.675 GB, free: 8.012 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.1633, allocations: 12 kB / 0.675 GB, free: 8 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001706/0.165, allocations: 0.7039 MB / 0.6757 GB, free: 7.293 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004749/0.1697, allocations: 2.664 MB / 0.6783 GB, free: 4.477 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.1714, allocations: 0.9915 MB / 0.6792 GB, free: 3.375 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/0.1725, allocations: 447.1 kB / 0.6797 GB, free: 2.926 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.096e-05/0.1726, allocations: 8.562 kB / 0.6797 GB, free: 2.918 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001309/0.1739, allocations: 0.5881 MB / 0.6803 GB, free: 2.316 MB / 478.1 MB Notification: Performance of pre-optimization done (n=66): time 1.953e-06/0.1739, allocations: 0 / 0.6803 GB, free: 2.316 MB / 478.1 MB Notification: Performance of matching and sorting (n=66): time 0.02066/0.1945, allocations: 4.581 MB / 0.6847 GB, free: 13.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.117e-05/0.1946, allocations: 93.7 kB / 0.6848 GB, free: 13.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.1957, allocations: 0.7118 MB / 0.6855 GB, free: 12.86 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001264/0.1958, allocations: 37.7 kB / 0.6856 GB, free: 12.82 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003223/0.1961, allocations: 389.1 kB / 0.6859 GB, free: 12.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002917/0.1964, allocations: 241.9 kB / 0.6862 GB, free: 12.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002424/0.1967, allocations: 102.3 kB / 0.6862 GB, free: 12.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.1968, allocations: 330 kB / 0.6866 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/0.1979, allocations: 405.1 kB / 0.687 GB, free: 11.36 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.199, allocations: 0.5059 MB / 0.6874 GB, free: 10.82 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002107/0.2011, allocations: 0.9159 MB / 0.6883 GB, free: 9.859 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.341e-06/0.2011, allocations: 4 kB / 0.6883 GB, free: 9.855 MB / 494.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.009608/0.2107, allocations: 2.571 MB / 0.6909 GB, free: 7.273 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.2107, allocations: 7.938 kB / 0.6909 GB, free: 7.266 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.2107, allocations: 11.94 kB / 0.6909 GB, free: 7.254 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00452/0.2153, allocations: 1.12 MB / 0.692 GB, free: 6.133 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005041/0.2158, allocations: 99.89 kB / 0.6921 GB, free: 6.035 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2942/0.51, allocations: 6.766 MB / 0.6987 GB, free: 35.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000984/0.5109, allocations: 117.4 kB / 0.6988 GB, free: 35.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-05/0.511, allocations: 21.25 kB / 0.6988 GB, free: 35.03 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (51): * Single equations (assignments): 50 * 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 {(18,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002845/0.5113, allocations: 195.6 kB / 0.699 GB, free: 34.92 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.5114, allocations: 96.94 kB / 0.6991 GB, free: 34.92 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009082/0.5205, allocations: 2.604 MB / 0.7016 GB, free: 34.85 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.218e-06/0.5205, allocations: 7.156 kB / 0.7016 GB, free: 34.85 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.5205, allocations: 4.5 kB / 0.7016 GB, free: 34.85 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.5205, allocations: 6.797 kB / 0.7016 GB, free: 34.85 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/0.5312, allocations: 3.809 MB / 0.7054 GB, free: 34.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/0.5312, allocations: 0.6094 kB / 0.7054 GB, free: 34.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000489/0.5317, allocations: 83.28 kB / 0.7054 GB, free: 34.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004271/0.5359, allocations: 1.069 MB / 0.7065 GB, free: 34.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.721e-05/0.536, allocations: 15.84 kB / 0.7065 GB, free: 34.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.015/0.551, allocations: 6.023 MB / 0.7124 GB, free: 31.46 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.551, allocations: 1.312 kB / 0.7124 GB, free: 31.46 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01078/0.5618, allocations: 3.211 MB / 0.7155 GB, free: 30.51 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00032/0.5621, allocations: 184.4 kB / 0.7157 GB, free: 30.36 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.5623, allocations: 15.56 kB / 0.7157 GB, free: 30.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008362/0.5631, allocations: 71.7 kB / 0.7158 GB, free: 30.34 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005401/0.5636, allocations: 145 kB / 0.7159 GB, free: 30.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.553e-05/0.5637, allocations: 20.89 kB / 0.7159 GB, free: 30.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006251/0.5643, allocations: 0.4963 MB / 0.7164 GB, free: 30.07 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5643, allocations: 0 / 0.7164 GB, free: 30.07 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001109/0.5654, allocations: 297.5 kB / 0.7167 GB, free: 30.04 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (Syn1.omega,sTATCOM.simpleLagLim.state,Syn1.delta,Syn1.eq) * 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 (41): * Single equations (assignments): 40 * 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 {(17,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01/0.5754, allocations: 3.764 MB / 0.7204 GB, free: 28.55 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004257/0.5797, allocations: 1.485 MB / 0.7218 GB, free: 28.01 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.5797, allocations: 4.125 kB / 0.7218 GB, free: 28.01 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003063/0.5828, allocations: 1.019 MB / 0.7228 GB, free: 27.61 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007134/0.5835, allocations: 82.52 kB / 0.7229 GB, free: 27.56 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02425/0.6077, allocations: 10.48 MB / 0.7331 GB, free: 21.83 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.608, allocations: 0.9735 MB / 0.7341 GB, free: 21.01 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002355/0.6083, allocations: 67.66 kB / 0.7342 GB, free: 20.97 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003347/0.6086, allocations: 320.3 kB / 0.7345 GB, free: 20.7 MB / 494.1 MB Notification: Performance of SimCode: time 1.503e-06/0.6086, allocations: 0 / 0.7345 GB, free: 20.7 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05369/0.6623, allocations: 24.78 MB / 0.7587 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.21/14.87, allocations: 5.141 kB / 0.7587 GB, free: 12.5 MB / 0.4981 GB " [Timeout remaining time 645] (rm -f OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test_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_FACTS_STATCOM_Test.fmu > OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.335532213997794] Failed to read output from testmodel.py, exit status != 0: 14.978556906993617 14.993351292 14.838972566 Calling exit ...