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.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.001311/0.001311, allocations: 109.4 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 225.6 MB / 244.8 MB, free: 14.17 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.001556/0.001556, allocations: 201.7 kB / 299.8 MB, free: 9.812 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.4475/0.4475, allocations: 79.72 MB / 434.4 MB, free: 6.188 MB / 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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: Performance of FrontEnd - loaded program: time 0.002352/0.002352, allocations: 87.84 kB / 0.5783 GB, free: 9.984 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1374, allocations: 72.08 MB / 0.6487 GB, free: 1.801 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.006483/0.1439, allocations: 5.259 MB / 0.6539 GB, free: 12.51 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003176/0.1471, allocations: 1.411 MB / 0.6553 GB, free: 11.09 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004283/0.1475, allocations: 8 kB / 0.6553 GB, free: 11.09 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004598/0.1479, allocations: 174.5 kB / 0.6554 GB, free: 10.91 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008513/0.1488, allocations: 369.4 kB / 0.6558 GB, free: 10.55 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001529/0.1503, allocations: 0.6363 MB / 0.6564 GB, free: 9.918 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001279/0.1516, allocations: 1.062 MB / 0.6574 GB, free: 8.852 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003293/0.1519, allocations: 160 kB / 0.6576 GB, free: 8.684 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005647/0.1525, allocations: 446.1 kB / 0.658 GB, free: 8.246 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007361/0.1532, allocations: 0.5327 MB / 0.6585 GB, free: 7.711 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001218/0.1534, allocations: 76 kB / 0.6586 GB, free: 7.637 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003018/0.1537, allocations: 136 kB / 0.6587 GB, free: 7.504 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001962/0.1539, allocations: 203.1 kB / 0.6589 GB, free: 7.305 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004416/0.1543, allocations: 477.2 kB / 0.6594 GB, free: 6.836 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001299/0.1556, allocations: 1.089 MB / 0.6605 GB, free: 5.742 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1556, allocations: 0 / 0.6605 GB, free: 5.742 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.1556, allocations: 4 kB / 0.6605 GB, free: 5.738 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.1556, allocations: 0 / 0.6605 GB, free: 5.738 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.005215/0.1608, allocations: 1.791 MB / 0.6622 GB, free: 3.895 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.1609, allocations: 8.031 kB / 0.6622 GB, free: 3.887 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000124/0.161, allocations: 102.6 kB / 0.6623 GB, free: 3.777 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002698/0.1637, allocations: 451 kB / 0.6627 GB, free: 3.336 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.1648, allocations: 0.6396 MB / 0.6634 GB, free: 2.652 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002651/0.1651, allocations: 197.8 kB / 0.6636 GB, free: 2.426 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.1652, allocations: 52 kB / 0.6636 GB, free: 2.375 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001604/0.1668, allocations: 0.7719 MB / 0.6644 GB, free: 1.59 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.1668, allocations: 0 / 0.6644 GB, free: 1.59 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.724e-05/0.1669, allocations: 27.94 kB / 0.6644 GB, free: 1.562 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.1669, allocations: 12 kB / 0.6644 GB, free: 1.551 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001628/0.1685, allocations: 0.6961 MB / 0.6651 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004808/0.1733, allocations: 2.676 MB / 0.6677 GB, free: 14.03 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001675/0.175, allocations: 0.9838 MB / 0.6686 GB, free: 12.93 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009957/0.176, allocations: 439.2 kB / 0.6691 GB, free: 12.49 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.685e-05/0.1761, allocations: 16.55 kB / 0.6691 GB, free: 12.48 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001266/0.1774, allocations: 0.5881 MB / 0.6697 GB, free: 11.87 MB / 478.1 MB Notification: Performance of pre-optimization done (n=66): time 2.094e-06/0.1774, allocations: 0 / 0.6697 GB, free: 11.87 MB / 478.1 MB Notification: Performance of matching and sorting (n=66): time 0.01924/0.1966, allocations: 4.585 MB / 0.6741 GB, free: 7.25 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.011e-05/0.1967, allocations: 85.67 kB / 0.6742 GB, free: 7.148 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.1977, allocations: 0.7119 MB / 0.6749 GB, free: 6.43 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001004/0.1978, allocations: 41.73 kB / 0.6749 GB, free: 6.383 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003214/0.1981, allocations: 381.2 kB / 0.6753 GB, free: 6.004 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002815/0.1984, allocations: 241.9 kB / 0.6755 GB, free: 5.766 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002323/0.1987, allocations: 102.3 kB / 0.6756 GB, free: 5.656 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.1988, allocations: 330 kB / 0.676 GB, free: 5.328 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009597/0.1998, allocations: 405.1 kB / 0.6763 GB, free: 4.934 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/0.2008, allocations: 0.502 MB / 0.6768 GB, free: 4.391 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002008/0.2028, allocations: 0.9237 MB / 0.6777 GB, free: 3.426 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.2028, allocations: 0 / 0.6777 GB, free: 3.426 MB / 478.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.009053/0.2119, allocations: 2.575 MB / 0.6802 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.2119, allocations: 7.938 kB / 0.6803 GB, free: 0.832 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.2119, allocations: 4.312 kB / 0.6803 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004194/0.2161, allocations: 1.116 MB / 0.6814 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005256/0.2167, allocations: 99.81 kB / 0.6814 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01673/0.2334, allocations: 6.782 MB / 0.6881 GB, free: 8.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009557/0.2343, allocations: 115.5 kB / 0.6882 GB, free: 8.566 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.267e-05/0.2344, allocations: 27.98 kB / 0.6882 GB, free: 8.539 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.0003454/0.2348, allocations: 210.2 kB / 0.6884 GB, free: 8.324 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.2349, allocations: 87.44 kB / 0.6885 GB, free: 8.238 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008911/0.2438, allocations: 2.603 MB / 0.691 GB, free: 5.613 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/0.2438, allocations: 7.938 kB / 0.691 GB, free: 5.605 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.2438, allocations: 4 kB / 0.691 GB, free: 5.602 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/0.2438, allocations: 7.984 kB / 0.6911 GB, free: 5.594 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01082/0.2547, allocations: 3.809 MB / 0.6948 GB, free: 1.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.2547, allocations: 0 / 0.6948 GB, free: 1.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005216/0.2552, allocations: 79.89 kB / 0.6948 GB, free: 1.582 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004161/0.2594, allocations: 1.07 MB / 0.6959 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001343/0.2595, allocations: 12 kB / 0.6959 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2718/0.5313, allocations: 6.012 MB / 0.7018 GB, free: 44.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.5313, allocations: 0 / 0.7018 GB, free: 44.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00974/0.541, allocations: 3.201 MB / 0.7049 GB, free: 43.18 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002833/0.5413, allocations: 178.2 kB / 0.7051 GB, free: 43.03 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.5415, allocations: 15.8 kB / 0.7051 GB, free: 43.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008005/0.5423, allocations: 78.69 kB / 0.7052 GB, free: 43.01 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005239/0.5428, allocations: 149.9 kB / 0.7053 GB, free: 42.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.153e-05/0.5428, allocations: 18.52 kB / 0.7053 GB, free: 42.97 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006944/0.5435, allocations: 0.4965 MB / 0.7058 GB, free: 42.75 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5435, allocations: 0 / 0.7058 GB, free: 42.75 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001212/0.5447, allocations: 296.6 kB / 0.7061 GB, free: 42.72 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.01168/0.5564, allocations: 3.764 MB / 0.7098 GB, free: 41.28 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004456/0.5609, allocations: 1.488 MB / 0.7112 GB, free: 40.76 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.5609, allocations: 1.094 kB / 0.7112 GB, free: 40.76 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00299/0.5639, allocations: 1.014 MB / 0.7122 GB, free: 40.37 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007179/0.5646, allocations: 81.72 kB / 0.7123 GB, free: 40.32 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02548/0.5901, allocations: 10.48 MB / 0.7225 GB, free: 36.05 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004785/0.5905, allocations: 0.9781 MB / 0.7235 GB, free: 35.23 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002694/0.5908, allocations: 63.89 kB / 0.7235 GB, free: 35.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003503/0.5912, allocations: 317.8 kB / 0.7238 GB, free: 34.93 MB / 494.1 MB Notification: Performance of SimCode: time 1.322e-06/0.5912, allocations: 0.9688 kB / 0.7238 GB, free: 34.93 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05273/0.6439, allocations: 24.8 MB / 0.7481 GB, free: 12.67 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.37/15.02, allocations: 4 kB / 0.7481 GB, free: 12.66 MB / 494.1 MB " [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 & /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: 18.21043147193268] Failed to read output from testmodel.py, exit status != 0: 15.120315916836262 15.129836797 14.972166139 Calling exit ...