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.001696/0.001696, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.478/1.478, allocations: 230.6 MB / 253.4 MB, free: 14.42 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.001535/0.001535, allocations: 214.7 kB / 310 MB, free: 3.098 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.4897/0.4897, allocations: 79.73 MB / 446.2 MB, free: 38.74 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.FACTS.STATCOM_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_FACTS_STATCOM_Test",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.STATCOM_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_FACTS_STATCOM_Test",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.002429/0.002429, allocations: 86.97 kB / 0.5937 GB, free: 38.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1406, allocations: 73.3 MB / 0.6652 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.00667/0.1472, allocations: 5.294 MB / 0.6704 GB, free: 12.45 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003238/0.1505, allocations: 1.467 MB / 0.6718 GB, free: 11.24 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003825/0.1508, allocations: 7.312 kB / 0.6719 GB, free: 11.24 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004518/0.1513, allocations: 159.3 kB / 0.672 GB, free: 11.11 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008315/0.1521, allocations: 373 kB / 0.6724 GB, free: 10.79 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001446/0.1536, allocations: 0.5903 MB / 0.6729 GB, free: 10.27 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001256/0.1548, allocations: 1.07 MB / 0.674 GB, free: 9.199 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003274/0.1552, allocations: 160.6 kB / 0.6741 GB, free: 9.031 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006148/0.1558, allocations: 454.1 kB / 0.6746 GB, free: 8.586 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007278/0.1565, allocations: 0.5366 MB / 0.6751 GB, free: 8.047 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.1566, allocations: 80 kB / 0.6752 GB, free: 7.969 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003102/0.1569, allocations: 144 kB / 0.6753 GB, free: 7.828 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001981/0.1571, allocations: 207.1 kB / 0.6755 GB, free: 7.625 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004357/0.1576, allocations: 465.3 kB / 0.676 GB, free: 7.168 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.1589, allocations: 1.085 MB / 0.677 GB, free: 6.078 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1589, allocations: 0 / 0.677 GB, free: 6.078 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1589, allocations: 0 / 0.677 GB, free: 6.078 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.1589, allocations: 0 / 0.677 GB, free: 6.078 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.005264/0.1641, allocations: 1.811 MB / 0.6788 GB, free: 4.223 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.1642, allocations: 16.02 kB / 0.6788 GB, free: 4.207 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.476e-05/0.1642, allocations: 17.19 kB / 0.6788 GB, free: 4.191 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001254/0.1643, allocations: 94.7 kB / 0.6789 GB, free: 4.09 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002656/0.167, allocations: 454.9 kB / 0.6793 GB, free: 3.645 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.1681, allocations: 0.5584 MB / 0.6799 GB, free: 3.055 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003307/0.1684, allocations: 286.8 kB / 0.6802 GB, free: 2.723 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.1685, allocations: 52 kB / 0.6802 GB, free: 2.672 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001691/0.1702, allocations: 0.7681 MB / 0.681 GB, free: 1.891 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.1702, allocations: 3.984 kB / 0.681 GB, free: 1.887 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.51e-05/0.1703, allocations: 23.94 kB / 0.681 GB, free: 1.863 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.1703, allocations: 16 kB / 0.681 GB, free: 1.848 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001691/0.172, allocations: 0.6961 MB / 0.6817 GB, free: 1.152 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004933/0.177, allocations: 2.636 MB / 0.6842 GB, free: 14.37 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/0.1785, allocations: 0.6113 MB / 0.6848 GB, free: 13.74 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001061/0.1796, allocations: 439.5 kB / 0.6853 GB, free: 13.3 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.163e-05/0.1797, allocations: 20.62 kB / 0.6853 GB, free: 13.29 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001332/0.181, allocations: 0.5896 MB / 0.6859 GB, free: 12.68 MB / 478.1 MB Notification: Performance of pre-optimization done (n=66): time 2.495e-06/0.181, allocations: 0 / 0.6859 GB, free: 12.68 MB / 478.1 MB Notification: Performance of matching and sorting (n=66): time 0.01982/0.2008, allocations: 4.505 MB / 0.6903 GB, free: 8.152 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.961e-05/0.2009, allocations: 85.7 kB / 0.6903 GB, free: 8.051 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.2021, allocations: 0.7119 MB / 0.691 GB, free: 7.328 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.827e-05/0.2022, allocations: 37.64 kB / 0.6911 GB, free: 7.285 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003608/0.2026, allocations: 393.2 kB / 0.6914 GB, free: 6.895 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003281/0.2029, allocations: 237.9 kB / 0.6917 GB, free: 6.66 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002746/0.2032, allocations: 102.3 kB / 0.6918 GB, free: 6.555 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.2033, allocations: 330 kB / 0.6921 GB, free: 6.227 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/0.2044, allocations: 409.1 kB / 0.6925 GB, free: 5.828 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/0.2055, allocations: 0.5084 MB / 0.693 GB, free: 5.281 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00221/0.2077, allocations: 0.9217 MB / 0.6939 GB, free: 4.32 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.2077, allocations: 3.938 kB / 0.6939 GB, free: 4.316 MB / 478.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.009522/0.2173, allocations: 2.577 MB / 0.6964 GB, free: 1.727 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.2173, allocations: 7.938 kB / 0.6964 GB, free: 1.719 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.2173, allocations: 4 kB / 0.6964 GB, free: 1.715 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004574/0.2219, allocations: 1.121 MB / 0.6975 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005111/0.2224, allocations: 99.81 kB / 0.6976 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01786/0.2402, allocations: 6.664 MB / 0.7041 GB, free: 9.711 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/0.2414, allocations: 115.5 kB / 0.7042 GB, free: 9.598 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/0.2415, allocations: 31.92 kB / 0.7042 GB, free: 9.566 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.0004667/0.242, allocations: 193.7 kB / 0.7044 GB, free: 9.367 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000273/0.2422, allocations: 95.39 kB / 0.7045 GB, free: 9.273 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009491/0.2517, allocations: 2.613 MB / 0.7071 GB, free: 6.645 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/0.2517, allocations: 15.88 kB / 0.7071 GB, free: 6.629 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2517, allocations: 0 / 0.7071 GB, free: 6.629 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.2518, allocations: 3.984 kB / 0.7071 GB, free: 6.625 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01125/0.263, allocations: 3.775 MB / 0.7108 GB, free: 2.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/0.263, allocations: 0 / 0.7108 GB, free: 2.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000493/0.2635, allocations: 83.89 kB / 0.7109 GB, free: 2.648 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004249/0.2678, allocations: 1.074 MB / 0.7119 GB, free: 1.57 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001336/0.2679, allocations: 12 kB / 0.7119 GB, free: 1.559 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01568/0.2836, allocations: 5.922 MB / 0.7177 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.2836, allocations: 0 / 0.7177 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01083/0.2944, allocations: 3.212 MB / 0.7208 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003702/0.2948, allocations: 95.33 kB / 0.7209 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002218/0.295, allocations: 16 kB / 0.7209 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009074/0.2959, allocations: 75.91 kB / 0.721 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005339/0.2964, allocations: 152.4 kB / 0.7212 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.587e-05/0.2965, allocations: 16 kB / 0.7212 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008236/0.2973, allocations: 0.4951 MB / 0.7217 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6e-08/0.2973, allocations: 0 / 0.7217 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00119/0.2985, allocations: 295.8 kB / 0.7219 GB, free: 7.156 MB / 0.4981 GB 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.01089/0.3094, allocations: 3.773 MB / 0.7256 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004722/0.3141, allocations: 1.499 MB / 0.7271 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.3141, allocations: 0 / 0.7271 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003363/0.3175, allocations: 1.018 MB / 0.7281 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008964/0.3184, allocations: 81.02 kB / 0.7282 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02862/0.347, allocations: 10.49 MB / 0.7384 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007747/0.3478, allocations: 0.9708 MB / 0.7393 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002978/0.3481, allocations: 69.12 kB / 0.7394 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005212/0.3486, allocations: 319.3 kB / 0.7397 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of SimCode: time 1.663e-06/0.3486, allocations: 0 / 0.7397 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06494/0.4136, allocations: 25.49 MB / 0.7646 GB, free: 11.29 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.93/15.34, allocations: 9.047 kB / 0.7646 GB, free: 11.28 MB / 0.545 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_FACTS_STATCOM_Test_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 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: 19.01417409395799] Failed to read output from testmodel.py, exit status != 0: 15.526014293078333 15.559304395 15.394545947 Calling exit ...