Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.1003/0.1003, allocations: 12.36 MB / 29.42 MB, free: 0.6953 MB / 19.63 MB " [Timeout remaining time 180] 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.001232/0.001232, allocations: 111.2 kB / 35.12 MB, free: 1.828 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.366/1.366, allocations: 207.6 MB / 248.3 MB, free: 11.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.001563/0.001563, allocations: 208.4 kB / 303.2 MB, free: 6.191 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.415/0.415, allocations: 79.71 MB / 437.6 MB, free: 4.59 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.FACTS.STATCOM_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_FACTS_STATCOM_Test",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.STATCOM_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_FACTS_STATCOM_Test",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.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.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004146/0.004146, allocations: 139.8 kB / 0.5825 GB, free: 8.172 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.134, allocations: 71.94 MB / 0.6528 GB, free: 144 kB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.006841/0.1408, allocations: 5.308 MB / 0.658 GB, free: 10.8 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002852/0.1437, allocations: 1.377 MB / 0.6593 GB, free: 9.422 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003489/0.144, allocations: 11.94 kB / 0.6593 GB, free: 9.41 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004137/0.1445, allocations: 170.5 kB / 0.6595 GB, free: 9.242 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007188/0.1452, allocations: 365.5 kB / 0.6598 GB, free: 8.883 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.1465, allocations: 0.5836 MB / 0.6604 GB, free: 8.301 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00118/0.1476, allocations: 1.062 MB / 0.6615 GB, free: 7.234 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003048/0.1479, allocations: 171.6 kB / 0.6616 GB, free: 7.055 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005031/0.1484, allocations: 450.1 kB / 0.662 GB, free: 6.613 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006748/0.1491, allocations: 0.5289 MB / 0.6626 GB, free: 6.082 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001128/0.1492, allocations: 80 kB / 0.6626 GB, free: 6.004 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000266/0.1495, allocations: 144 kB / 0.6628 GB, free: 5.863 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001917/0.1497, allocations: 203.1 kB / 0.663 GB, free: 5.664 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004287/0.1501, allocations: 473.2 kB / 0.6634 GB, free: 5.199 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.1513, allocations: 1.089 MB / 0.6645 GB, free: 4.105 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1513, allocations: 0 / 0.6645 GB, free: 4.105 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1513, allocations: 0 / 0.6645 GB, free: 4.105 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.391e-05/0.1514, allocations: 0 / 0.6645 GB, free: 4.105 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.005224/0.1566, allocations: 1.791 MB / 0.6662 GB, free: 2.258 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.1566, allocations: 11.98 kB / 0.6662 GB, free: 2.246 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.875e-05/0.1567, allocations: 13.19 kB / 0.6663 GB, free: 2.234 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001238/0.1568, allocations: 98.7 kB / 0.6664 GB, free: 2.129 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002679/0.1595, allocations: 446.9 kB / 0.6668 GB, free: 1.691 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.1606, allocations: 0.6396 MB / 0.6674 GB, free: 1.008 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002828/0.1609, allocations: 201.8 kB / 0.6676 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.161, allocations: 52 kB / 0.6676 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001704/0.1627, allocations: 0.772 MB / 0.6684 GB, free: 15.94 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.1628, allocations: 3.938 kB / 0.6684 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.671e-05/0.1628, allocations: 27.92 kB / 0.6684 GB, free: 15.91 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.1628, allocations: 12 kB / 0.6684 GB, free: 15.89 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001657/0.1645, allocations: 0.7 MB / 0.6691 GB, free: 15.2 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005181/0.1697, allocations: 2.672 MB / 0.6717 GB, free: 12.37 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00178/0.1715, allocations: 0.9842 MB / 0.6727 GB, free: 11.28 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001032/0.1725, allocations: 443.2 kB / 0.6731 GB, free: 10.84 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.239e-05/0.1726, allocations: 8.547 kB / 0.6731 GB, free: 10.83 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001331/0.1739, allocations: 0.6036 MB / 0.6737 GB, free: 10.21 MB / 478.1 MB Notification: Performance of pre-optimization done (n=66): time 2.786e-06/0.1739, allocations: 0 / 0.6737 GB, free: 10.21 MB / 478.1 MB Notification: Performance of matching and sorting (n=66): time 0.01961/0.1935, allocations: 4.577 MB / 0.6782 GB, free: 5.602 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.589e-05/0.1936, allocations: 85.61 kB / 0.6783 GB, free: 5.5 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/0.1947, allocations: 0.7119 MB / 0.679 GB, free: 4.781 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001469/0.1949, allocations: 33.7 kB / 0.679 GB, free: 4.742 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003179/0.1952, allocations: 381.2 kB / 0.6794 GB, free: 4.363 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003307/0.1955, allocations: 245.8 kB / 0.6796 GB, free: 4.121 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002475/0.1957, allocations: 110.3 kB / 0.6797 GB, free: 4.004 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.1959, allocations: 330 kB / 0.68 GB, free: 3.676 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/0.1969, allocations: 409.1 kB / 0.6804 GB, free: 3.277 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.198, allocations: 0.5058 MB / 0.6809 GB, free: 2.73 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002076/0.2001, allocations: 0.916 MB / 0.6818 GB, free: 1.77 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.2001, allocations: 0 / 0.6818 GB, free: 1.77 MB / 478.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.009092/0.2092, allocations: 2.567 MB / 0.6843 GB, free: 15.19 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/0.2092, allocations: 11.94 kB / 0.6843 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.2092, allocations: 4 kB / 0.6843 GB, free: 15.17 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004458/0.2137, allocations: 1.123 MB / 0.6854 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005662/0.2142, allocations: 103.8 kB / 0.6855 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01767/0.2319, allocations: 6.769 MB / 0.6921 GB, free: 7.023 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/0.2329, allocations: 107.6 kB / 0.6922 GB, free: 6.918 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.621e-05/0.233, allocations: 27.92 kB / 0.6922 GB, free: 6.891 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.0003694/0.2334, allocations: 197.7 kB / 0.6924 GB, free: 6.688 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002175/0.2336, allocations: 95.39 kB / 0.6925 GB, free: 6.594 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009307/0.2429, allocations: 2.611 MB / 0.6951 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.701e-05/0.2429, allocations: 11.92 kB / 0.6951 GB, free: 3.961 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.2429, allocations: 8 kB / 0.6951 GB, free: 3.953 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-05/0.2429, allocations: 3.984 kB / 0.6951 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01085/0.2538, allocations: 3.801 MB / 0.6988 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/0.2538, allocations: 3.984 kB / 0.6988 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2533/0.5071, allocations: 69.69 kB / 0.6989 GB, free: 43.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004299/0.5114, allocations: 1.076 MB / 0.6999 GB, free: 43.61 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000137/0.5115, allocations: 11.52 kB / 0.6999 GB, free: 43.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01468/0.5262, allocations: 6.022 MB / 0.7058 GB, free: 41.54 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.5262, allocations: 5.625 kB / 0.7058 GB, free: 41.54 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01047/0.5367, allocations: 3.213 MB / 0.709 GB, free: 40.68 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002877/0.537, allocations: 177 kB / 0.7091 GB, free: 40.53 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.5371, allocations: 12.22 kB / 0.7091 GB, free: 40.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008042/0.5379, allocations: 76.22 kB / 0.7092 GB, free: 40.51 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005141/0.5384, allocations: 147.5 kB / 0.7094 GB, free: 40.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.848e-05/0.5384, allocations: 18.08 kB / 0.7094 GB, free: 40.48 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000759/0.5392, allocations: 0.4935 MB / 0.7099 GB, free: 40.26 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5392, allocations: 2.734 kB / 0.7099 GB, free: 40.26 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00122/0.5404, allocations: 296.4 kB / 0.7101 GB, free: 40.22 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.01036/0.5508, allocations: 3.765 MB / 0.7138 GB, free: 38.77 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004371/0.5552, allocations: 1.489 MB / 0.7153 GB, free: 38.23 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.5552, allocations: 0 / 0.7153 GB, free: 38.23 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0032/0.5584, allocations: 1.014 MB / 0.7163 GB, free: 37.85 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007528/0.5591, allocations: 85.69 kB / 0.7163 GB, free: 37.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02587/0.585, allocations: 10.47 MB / 0.7266 GB, free: 33.62 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005504/0.5855, allocations: 0.9758 MB / 0.7275 GB, free: 32.84 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003438/0.5859, allocations: 69.03 kB / 0.7276 GB, free: 32.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004048/0.5863, allocations: 319 kB / 0.7279 GB, free: 32.53 MB / 494.1 MB Notification: Performance of SimCode: time 1.192e-06/0.5863, allocations: 0 / 0.7279 GB, free: 32.53 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04749/0.6338, allocations: 24.83 MB / 0.7522 GB, free: 10.38 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.24/14.88, allocations: 7.969 kB / 0.7522 GB, free: 10.38 MB / 494.1 MB " [Timeout remaining time 645] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_FACTS_STATCOM_Test_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_FACTS_STATCOM_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.197684429993387] Failed to read output from testmodel.py, exit status != 0: 15.036102115001995 15.056611558 14.900592606 Calling exit ...