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.002046/0.002046, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.58/1.58, allocations: 230.6 MB / 253.5 MB, free: 14.3 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.001602/0.001602, allocations: 207.1 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.4939/0.4939, allocations: 79.76 MB / 446.2 MB, free: 40.6 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.002469/0.002469, allocations: 84.62 kB / 0.5936 GB, free: 38.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1272, allocations: 73.29 MB / 0.6652 GB, free: 396 kB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.005847/0.1331, allocations: 4.683 MB / 0.6697 GB, free: 12.81 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002845/0.1359, allocations: 1.398 MB / 0.6711 GB, free: 11.68 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003087/0.1362, allocations: 6.094 kB / 0.6711 GB, free: 11.68 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004053/0.1366, allocations: 160.2 kB / 0.6713 GB, free: 11.55 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007345/0.1373, allocations: 366.5 kB / 0.6716 GB, free: 11.19 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.1387, allocations: 0.5808 MB / 0.6722 GB, free: 10.61 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001102/0.1398, allocations: 1.066 MB / 0.6732 GB, free: 9.539 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002924/0.1401, allocations: 156.7 kB / 0.6734 GB, free: 9.375 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005309/0.1406, allocations: 458.1 kB / 0.6738 GB, free: 8.926 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006652/0.1413, allocations: 0.5366 MB / 0.6743 GB, free: 8.387 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.1414, allocations: 76 kB / 0.6744 GB, free: 8.312 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002808/0.1417, allocations: 140 kB / 0.6745 GB, free: 8.176 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000194/0.1419, allocations: 211.1 kB / 0.6747 GB, free: 7.969 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003702/0.1422, allocations: 377.9 kB / 0.6751 GB, free: 7.598 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.1434, allocations: 1.097 MB / 0.6762 GB, free: 6.496 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1434, allocations: 0 / 0.6762 GB, free: 6.496 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1434, allocations: 4 kB / 0.6762 GB, free: 6.492 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.1434, allocations: 3.938 kB / 0.6762 GB, free: 6.488 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.00514/0.1486, allocations: 1.815 MB / 0.6779 GB, free: 4.629 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.1486, allocations: 8.031 kB / 0.678 GB, free: 4.621 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.498e-05/0.1486, allocations: 17.12 kB / 0.678 GB, free: 4.605 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001245/0.1487, allocations: 98.7 kB / 0.6781 GB, free: 4.5 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002695/0.1514, allocations: 450.9 kB / 0.6785 GB, free: 4.059 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.1524, allocations: 0.5585 MB / 0.679 GB, free: 3.469 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002951/0.1527, allocations: 278.9 kB / 0.6793 GB, free: 3.145 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.1529, allocations: 51.95 kB / 0.6794 GB, free: 3.094 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.1545, allocations: 0.772 MB / 0.6801 GB, free: 2.309 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.1545, allocations: 0 / 0.6801 GB, free: 2.309 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-05/0.1545, allocations: 23.94 kB / 0.6801 GB, free: 2.285 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.1546, allocations: 12 kB / 0.6801 GB, free: 2.273 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001567/0.1561, allocations: 0.7117 MB / 0.6808 GB, free: 1.562 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004619/0.1607, allocations: 1.962 MB / 0.6828 GB, free: 15.55 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/0.1622, allocations: 0.6071 MB / 0.6833 GB, free: 14.93 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009853/0.1632, allocations: 439.4 kB / 0.6838 GB, free: 14.49 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.617e-05/0.1633, allocations: 16.64 kB / 0.6838 GB, free: 14.48 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00126/0.1645, allocations: 0.5935 MB / 0.6844 GB, free: 13.86 MB / 478.1 MB Notification: Performance of pre-optimization done (n=66): time 2.785e-06/0.1645, allocations: 0 / 0.6844 GB, free: 13.86 MB / 478.1 MB Notification: Performance of matching and sorting (n=66): time 0.0195/0.184, allocations: 4.509 MB / 0.6888 GB, free: 9.336 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.036e-05/0.1841, allocations: 93.64 kB / 0.6889 GB, free: 9.227 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.1852, allocations: 0.708 MB / 0.6895 GB, free: 8.508 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.321e-05/0.1852, allocations: 37.7 kB / 0.6896 GB, free: 8.465 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003032/0.1855, allocations: 381.2 kB / 0.6899 GB, free: 8.086 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000278/0.1858, allocations: 241.9 kB / 0.6902 GB, free: 7.848 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002401/0.1861, allocations: 102.3 kB / 0.6903 GB, free: 7.742 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.1862, allocations: 330 kB / 0.6906 GB, free: 7.414 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009573/0.1872, allocations: 401.1 kB / 0.691 GB, free: 7.023 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/0.1882, allocations: 0.506 MB / 0.6915 GB, free: 6.477 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001947/0.1901, allocations: 0.9294 MB / 0.6924 GB, free: 5.508 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.1901, allocations: 0 / 0.6924 GB, free: 5.508 MB / 478.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.009105/0.1992, allocations: 2.573 MB / 0.6949 GB, free: 2.922 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.1993, allocations: 12.25 kB / 0.6949 GB, free: 2.91 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.1993, allocations: 8 kB / 0.6949 GB, free: 2.902 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004304/0.2036, allocations: 1.121 MB / 0.696 GB, free: 1.781 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004584/0.204, allocations: 95.89 kB / 0.6961 GB, free: 1.688 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01634/0.2204, allocations: 6.528 MB / 0.7025 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009685/0.2213, allocations: 115.5 kB / 0.7026 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.787e-05/0.2214, allocations: 31.94 kB / 0.7026 GB, free: 10.9 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.0003512/0.2218, allocations: 193.8 kB / 0.7028 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/0.2219, allocations: 95.39 kB / 0.7029 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008756/0.2307, allocations: 2.605 MB / 0.7054 GB, free: 7.984 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.2307, allocations: 11.94 kB / 0.7054 GB, free: 7.973 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.2307, allocations: 0 / 0.7054 GB, free: 7.973 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.2307, allocations: 4 kB / 0.7054 GB, free: 7.969 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01017/0.2409, allocations: 3.333 MB / 0.7087 GB, free: 4.578 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.2409, allocations: 3.984 kB / 0.7087 GB, free: 4.574 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004392/0.2413, allocations: 79.89 kB / 0.7088 GB, free: 4.496 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004018/0.2453, allocations: 1.074 MB / 0.7098 GB, free: 3.418 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/0.2454, allocations: 15.94 kB / 0.7098 GB, free: 3.402 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01398/0.2594, allocations: 5.77 MB / 0.7155 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.2594, allocations: 0 / 0.7155 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009847/0.2693, allocations: 3.208 MB / 0.7186 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003112/0.2696, allocations: 107.3 kB / 0.7187 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.2697, allocations: 12 kB / 0.7187 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000783/0.2705, allocations: 71.92 kB / 0.7188 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004384/0.2709, allocations: 160.3 kB / 0.7189 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.838e-05/0.271, allocations: 16 kB / 0.719 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006574/0.2716, allocations: 0.4951 MB / 0.7194 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2716, allocations: 0 / 0.7194 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009012/0.2725, allocations: 295.8 kB / 0.7197 GB, free: 9.145 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.0105/0.283, allocations: 3.779 MB / 0.7234 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004333/0.2874, allocations: 1.503 MB / 0.7249 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.2874, allocations: 0 / 0.7249 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003096/0.2905, allocations: 1.014 MB / 0.7259 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000748/0.2912, allocations: 79.3 kB / 0.7259 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02615/0.3174, allocations: 10.48 MB / 0.7362 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/0.3178, allocations: 383.2 kB / 0.7365 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002711/0.3181, allocations: 69.14 kB / 0.7366 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004469/0.3185, allocations: 311.3 kB / 0.7369 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of SimCode: time 1.212e-06/0.3185, allocations: 0 / 0.7369 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0648/0.3833, allocations: 25.48 MB / 0.7618 GB, free: 13.96 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.3/15.69, allocations: 17.47 kB / 0.7618 GB, free: 13.95 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.384898928925395] Failed to read output from testmodel.py, exit status != 0: 15.871648596017621 15.89320942 15.74565497 Calling exit ...