Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001464/0.001464, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.451/1.451, allocations: 230.6 MB / 252.6 MB, free: 8.293 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.001581/0.001581, allocations: 204.1 kB / 309.2 MB, free: 3.148 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.5595/0.5595, allocations: 101.3 MB / 467 MB, free: 10.32 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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_dev_OpenIPSL_Tests_FACTS_STATCOM_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.STATCOM_Test,fileNamePrefix="OpenIPSL_dev_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.002517/0.002517, allocations: 79.88 kB / 0.6244 GB, free: 12.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4398/0.4423, allocations: 78.61 MB / 0.7012 GB, free: 9.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.005303/0.4476, allocations: 5.321 MB / 0.7064 GB, free: 5.453 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002925/0.4505, allocations: 1.477 MB / 0.7078 GB, free: 4.395 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007439/0.4513, allocations: 6.875 kB / 0.7078 GB, free: 4.395 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004375/0.4517, allocations: 165.5 kB / 0.708 GB, free: 4.305 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007697/0.4525, allocations: 367.4 kB / 0.7083 GB, free: 4.043 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001344/0.4538, allocations: 0.6033 MB / 0.7089 GB, free: 3.711 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00125/0.4551, allocations: 1.065 MB / 0.7099 GB, free: 3.168 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002841/0.4554, allocations: 155.4 kB / 0.7101 GB, free: 3.078 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005288/0.4559, allocations: 460.5 kB / 0.7105 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006204/0.4565, allocations: 0.5302 MB / 0.711 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.545e-05/0.4566, allocations: 74.31 kB / 0.7111 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002652/0.4569, allocations: 140.5 kB / 0.7113 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001534/0.457, allocations: 210.3 kB / 0.7115 GB, free: 2.441 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003039/0.4573, allocations: 473 kB / 0.7119 GB, free: 2.129 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.4585, allocations: 1.089 MB / 0.713 GB, free: 1.629 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.4585, allocations: 3.828 kB / 0.713 GB, free: 1.629 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4585, allocations: 0 / 0.713 GB, free: 1.629 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.602e-05/0.4586, allocations: 0 / 0.713 GB, free: 1.629 MB / 494.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.004745/0.4633, allocations: 1.81 MB / 0.7147 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.4633, allocations: 10.72 kB / 0.7148 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001037/0.4634, allocations: 101.5 kB / 0.7148 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00249/0.4659, allocations: 447.8 kB / 0.7153 GB, free: 0.543 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008979/0.4668, allocations: 0.5742 MB / 0.7158 GB, free: 140 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002798/0.4671, allocations: 282.3 kB / 0.7161 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.4672, allocations: 56.08 kB / 0.7162 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001602/0.4688, allocations: 0.7625 MB / 0.7169 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.4688, allocations: 3.984 kB / 0.7169 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-05/0.4689, allocations: 32.05 kB / 0.7169 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.4689, allocations: 10.44 kB / 0.7169 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001503/0.4704, allocations: 0.7009 MB / 0.7176 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005058/0.4755, allocations: 2.626 MB / 0.7202 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.4769, allocations: 0.6085 MB / 0.7208 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009447/0.4778, allocations: 440.7 kB / 0.7212 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.339e-05/0.4779, allocations: 12.86 kB / 0.7212 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001307/0.4792, allocations: 0.5992 MB / 0.7218 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=66): time 2.164e-06/0.4792, allocations: 0 / 0.7218 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66): time 0.02021/0.4995, allocations: 4.504 MB / 0.7262 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.867e-05/0.4995, allocations: 92.97 kB / 0.7263 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001429/0.501, allocations: 0.7141 MB / 0.727 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002096/0.5012, allocations: 36.67 kB / 0.727 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003854/0.5016, allocations: 383.9 kB / 0.7274 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003369/0.5019, allocations: 242.7 kB / 0.7276 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002423/0.5021, allocations: 107.6 kB / 0.7277 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.5023, allocations: 335.3 kB / 0.728 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009832/0.5033, allocations: 403.1 kB / 0.7284 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/0.5044, allocations: 0.5075 MB / 0.7289 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002064/0.5065, allocations: 0.9166 MB / 0.7298 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.5065, allocations: 1.438 kB / 0.7298 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008632/0.5151, allocations: 2.567 MB / 0.7323 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.5151, allocations: 14.91 kB / 0.7323 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.5151, allocations: 2.625 kB / 0.7323 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004162/0.5193, allocations: 1.123 MB / 0.7334 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005172/0.5198, allocations: 93.86 kB / 0.7335 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01618/0.536, allocations: 6.663 MB / 0.74 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.5371, allocations: 122.6 kB / 0.7402 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.206e-05/0.5372, allocations: 21.72 kB / 0.7402 GB, free: 3.496 MB / 0.4981 GB 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.0003795/0.5375, allocations: 199 kB / 0.7404 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/0.5377, allocations: 101.1 kB / 0.7405 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009091/0.5468, allocations: 2.608 MB / 0.743 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-05/0.5468, allocations: 10.78 kB / 0.743 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.5468, allocations: 4 kB / 0.743 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.503e-05/0.5468, allocations: 5.016 kB / 0.743 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01067/0.5575, allocations: 3.775 MB / 0.7467 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.5575, allocations: 0 / 0.7467 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004929/0.558, allocations: 83.95 kB / 0.7468 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003969/0.562, allocations: 1.073 MB / 0.7478 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001272/0.5621, allocations: 14.92 kB / 0.7479 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01442/0.5765, allocations: 5.921 MB / 0.7536 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.5765, allocations: 0 / 0.7536 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01014/0.5867, allocations: 3.208 MB / 0.7568 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003671/0.5871, allocations: 107.2 kB / 0.7569 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.5872, allocations: 12 kB / 0.7569 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007926/0.588, allocations: 75.91 kB / 0.757 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004598/0.5884, allocations: 148.4 kB / 0.7571 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.314e-05/0.5885, allocations: 20 kB / 0.7571 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006969/0.5892, allocations: 0.4951 MB / 0.7576 GB, free: 6 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.5892, allocations: 0 / 0.7576 GB, free: 6 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009878/0.5902, allocations: 299.7 kB / 0.7579 GB, free: 5.707 MB / 0.5137 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.01028/0.6005, allocations: 3.764 MB / 0.7616 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004332/0.6048, allocations: 1.499 MB / 0.763 GB, free: 404 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.6048, allocations: 0 / 0.763 GB, free: 404 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003041/0.6078, allocations: 1.033 MB / 0.764 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007085/0.6085, allocations: 75.3 kB / 0.7641 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02626/0.6348, allocations: 10.47 MB / 0.7743 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006401/0.6354, allocations: 0.9747 MB / 0.7753 GB, free: 3.586 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002794/0.6357, allocations: 69.12 kB / 0.7754 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004463/0.6362, allocations: 315.3 kB / 0.7757 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of SimCode: time 8.11e-07/0.6362, allocations: 0 / 0.7757 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06625/0.7024, allocations: 25.47 MB / 0.8005 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.18/15.88, allocations: 7.281 kB / 0.8005 GB, free: 9.863 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Tests_FACTS_STATCOM_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.33600864100299] Failed to read output from testmodel.py, exit status != 0: 16.006181029999425 16.028525959 15.565489164 Calling exit ...