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.00177/0.00177, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.491/1.491, allocations: 230.6 MB / 252.6 MB, free: 8.301 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.001594/0.001594, allocations: 210.2 kB / 309.2 MB, free: 3.141 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.5962/0.5962, allocations: 79.73 MB / 445.4 MB, free: 14.86 MB / 318.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.002569/0.002569, allocations: 91.86 kB / 0.5929 GB, free: 13.98 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1276, allocations: 73.3 MB / 0.6645 GB, free: 4.578 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.006604/0.1342, allocations: 5.303 MB / 0.6697 GB, free: 15.25 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0028/0.137, allocations: 1.466 MB / 0.6711 GB, free: 13.78 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002814/0.1372, allocations: 8 kB / 0.6711 GB, free: 13.77 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004278/0.1377, allocations: 154.6 kB / 0.6712 GB, free: 13.62 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007788/0.1385, allocations: 369.5 kB / 0.6716 GB, free: 13.25 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001455/0.1399, allocations: 0.5898 MB / 0.6722 GB, free: 12.67 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001199/0.1411, allocations: 1.074 MB / 0.6732 GB, free: 11.59 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003167/0.1414, allocations: 164.5 kB / 0.6734 GB, free: 11.42 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005604/0.142, allocations: 450.1 kB / 0.6738 GB, free: 10.98 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007117/0.1427, allocations: 0.5405 MB / 0.6743 GB, free: 10.43 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000123/0.1428, allocations: 76 kB / 0.6744 GB, free: 10.36 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002745/0.1431, allocations: 151.9 kB / 0.6746 GB, free: 10.21 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001893/0.1433, allocations: 199.1 kB / 0.6747 GB, free: 10.02 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004329/0.1437, allocations: 465.3 kB / 0.6752 GB, free: 9.559 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001228/0.1449, allocations: 1.089 MB / 0.6762 GB, free: 8.465 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1449, allocations: 0 / 0.6762 GB, free: 8.465 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1449, allocations: 0 / 0.6762 GB, free: 8.465 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.145, allocations: 0 / 0.6762 GB, free: 8.465 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.005164/0.1501, allocations: 1.811 MB / 0.678 GB, free: 6.609 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.1502, allocations: 11.98 kB / 0.678 GB, free: 6.598 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001324/0.1503, allocations: 98.7 kB / 0.6781 GB, free: 6.492 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002704/0.153, allocations: 451 kB / 0.6786 GB, free: 6.051 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.1541, allocations: 0.5701 MB / 0.6791 GB, free: 5.449 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003189/0.1544, allocations: 274.9 kB / 0.6794 GB, free: 5.129 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.1545, allocations: 59.95 kB / 0.6794 GB, free: 5.07 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001615/0.1561, allocations: 0.772 MB / 0.6802 GB, free: 4.285 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.1561, allocations: 0 / 0.6802 GB, free: 4.285 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.866e-05/0.1562, allocations: 23.94 kB / 0.6802 GB, free: 4.262 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.944e-05/0.1562, allocations: 12 kB / 0.6802 GB, free: 4.25 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001644/0.1579, allocations: 0.7038 MB / 0.6809 GB, free: 3.547 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004735/0.1626, allocations: 2.636 MB / 0.6835 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.164, allocations: 0.6055 MB / 0.6841 GB, free: 140 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009952/0.165, allocations: 439.5 kB / 0.6845 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.51e-05/0.1651, allocations: 12.62 kB / 0.6845 GB, free: 15.69 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00125/0.1664, allocations: 0.6052 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of pre-optimization done (n=66): time 2.033e-06/0.1664, allocations: 0 / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=66): time 0.0191/0.1855, allocations: 4.509 MB / 0.6895 GB, free: 10.54 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.128e-05/0.1855, allocations: 85.7 kB / 0.6896 GB, free: 10.44 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009996/0.1865, allocations: 0.7158 MB / 0.6903 GB, free: 9.711 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.831e-05/0.1866, allocations: 33.7 kB / 0.6903 GB, free: 9.672 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003234/0.1869, allocations: 385.2 kB / 0.6907 GB, free: 9.289 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002588/0.1872, allocations: 237.9 kB / 0.6909 GB, free: 9.055 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002253/0.1874, allocations: 98.34 kB / 0.691 GB, free: 8.953 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1876, allocations: 338 kB / 0.6913 GB, free: 8.617 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009875/0.1886, allocations: 401.1 kB / 0.6917 GB, free: 8.227 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/0.1897, allocations: 0.5098 MB / 0.6922 GB, free: 7.676 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002126/0.1918, allocations: 0.9216 MB / 0.6931 GB, free: 6.715 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.1918, allocations: 0 / 0.6931 GB, free: 6.715 MB / 494.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.009202/0.201, allocations: 2.573 MB / 0.6956 GB, free: 4.129 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.201, allocations: 11.94 kB / 0.6956 GB, free: 4.117 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.201, allocations: 4 kB / 0.6956 GB, free: 4.113 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004288/0.2053, allocations: 1.128 MB / 0.6967 GB, free: 2.984 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004724/0.2058, allocations: 87.89 kB / 0.6968 GB, free: 2.898 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2479/0.4537, allocations: 6.651 MB / 0.7033 GB, free: 32.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009451/0.4547, allocations: 117.5 kB / 0.7034 GB, free: 32.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.93e-05/0.4547, allocations: 23.67 kB / 0.7034 GB, free: 32.11 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.0002956/0.455, allocations: 195.5 kB / 0.7036 GB, free: 32 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.4551, allocations: 100.9 kB / 0.7037 GB, free: 31.99 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008973/0.4641, allocations: 2.613 MB / 0.7063 GB, free: 31.91 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/0.4641, allocations: 9.406 kB / 0.7063 GB, free: 31.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.4641, allocations: 0.8438 kB / 0.7063 GB, free: 31.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-05/0.4641, allocations: 5.047 kB / 0.7063 GB, free: 31.91 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01054/0.4747, allocations: 3.781 MB / 0.71 GB, free: 31.28 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.4747, allocations: 1 kB / 0.71 GB, free: 31.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004617/0.4752, allocations: 78.59 kB / 0.7101 GB, free: 31.28 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003991/0.4791, allocations: 1.074 MB / 0.7111 GB, free: 31.27 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-05/0.4792, allocations: 17.14 kB / 0.7111 GB, free: 31.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01334/0.4926, allocations: 5.919 MB / 0.7169 GB, free: 28.46 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.4926, allocations: 6.141 kB / 0.7169 GB, free: 28.45 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009418/0.502, allocations: 3.203 MB / 0.72 GB, free: 27.51 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002913/0.5023, allocations: 109.7 kB / 0.7201 GB, free: 27.44 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.5024, allocations: 15.19 kB / 0.7202 GB, free: 27.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007437/0.5032, allocations: 79.89 kB / 0.7202 GB, free: 27.41 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003924/0.5036, allocations: 149.6 kB / 0.7204 GB, free: 27.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.238e-05/0.5036, allocations: 24.55 kB / 0.7204 GB, free: 27.37 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005713/0.5042, allocations: 0.49 MB / 0.7209 GB, free: 27.15 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5042, allocations: 1.531 kB / 0.7209 GB, free: 27.15 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009011/0.5051, allocations: 288.2 kB / 0.7212 GB, free: 27.11 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.009223/0.5143, allocations: 3.77 MB / 0.7248 GB, free: 25.62 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003919/0.5182, allocations: 1.487 MB / 0.7263 GB, free: 25.08 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.5182, allocations: 0 / 0.7263 GB, free: 25.08 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002823/0.521, allocations: 1.025 MB / 0.7273 GB, free: 24.68 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007111/0.5218, allocations: 85.11 kB / 0.7274 GB, free: 24.62 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02359/0.5453, allocations: 10.48 MB / 0.7376 GB, free: 18.57 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.5457, allocations: 0.968 MB / 0.7385 GB, free: 17.75 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002339/0.5459, allocations: 64.61 kB / 0.7386 GB, free: 17.72 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003185/0.5462, allocations: 326.8 kB / 0.7389 GB, free: 17.44 MB / 494.1 MB Notification: Performance of SimCode: time 1.422e-06/0.5462, allocations: 3.938 kB / 0.7389 GB, free: 17.44 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05667/0.6029, allocations: 25.46 MB / 0.7638 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.96/15.57, allocations: 4.453 kB / 0.7638 GB, free: 8.355 MB / 0.4981 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 & 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: 19.047926432001987] Failed to read output from testmodel.py, exit status != 0: 15.699383798000781 15.71530256 15.567195324 Calling exit ...