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.001347/0.001347, allocations: 108.7 kB / 16.45 MB, free: 6.496 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.455/1.455, allocations: 230.6 MB / 249.8 MB, free: 9.23 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.001565/0.001565, allocations: 215.4 kB / 306 MB, free: 4.375 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.5412/0.5412, allocations: 101.3 MB / 463.4 MB, free: 11.98 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.002466/0.002466, allocations: 87.86 kB / 0.6193 GB, free: 15.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1371, allocations: 78.58 MB / 0.696 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.2665/0.4036, allocations: 5.298 MB / 0.7012 GB, free: 6.102 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002631/0.4062, allocations: 1.457 MB / 0.7026 GB, free: 5.16 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003637/0.4066, allocations: 6.406 kB / 0.7026 GB, free: 5.16 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003866/0.407, allocations: 162.8 kB / 0.7028 GB, free: 5.074 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006503/0.4076, allocations: 367.8 kB / 0.7031 GB, free: 4.816 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.4088, allocations: 0.5985 MB / 0.7037 GB, free: 4.504 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009543/0.4098, allocations: 1.066 MB / 0.7047 GB, free: 3.961 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002603/0.4101, allocations: 154.8 kB / 0.7049 GB, free: 3.871 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004973/0.4106, allocations: 458.1 kB / 0.7053 GB, free: 3.652 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00054/0.4111, allocations: 0.5336 MB / 0.7059 GB, free: 3.395 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.4112, allocations: 76.28 kB / 0.7059 GB, free: 3.395 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002889/0.4115, allocations: 140.1 kB / 0.7061 GB, free: 3.375 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.4116, allocations: 212.2 kB / 0.7063 GB, free: 3.234 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003102/0.4119, allocations: 465.6 kB / 0.7067 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001025/0.413, allocations: 1.087 MB / 0.7078 GB, free: 2.434 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.413, allocations: 0.5 kB / 0.7078 GB, free: 2.434 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.413, allocations: 1.781 kB / 0.7078 GB, free: 2.434 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.724e-05/0.413, allocations: 0 / 0.7078 GB, free: 2.434 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.004813/0.4178, allocations: 1.801 MB / 0.7095 GB, free: 1.469 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.4178, allocations: 8.062 kB / 0.7095 GB, free: 1.469 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001052/0.4179, allocations: 99.81 kB / 0.7096 GB, free: 1.395 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002722/0.4207, allocations: 445.8 kB / 0.7101 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000891/0.4216, allocations: 0.6423 MB / 0.7107 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001959/0.4217, allocations: 197.2 kB / 0.7109 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.627e-05/0.4218, allocations: 56.66 kB / 0.7109 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.4233, allocations: 0.7678 MB / 0.7117 GB, free: 336 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.4233, allocations: 0 / 0.7117 GB, free: 336 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.931e-05/0.4234, allocations: 26.08 kB / 0.7117 GB, free: 316 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.4234, allocations: 21.09 kB / 0.7117 GB, free: 308 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001547/0.425, allocations: 0.6947 MB / 0.7124 GB, free: 84 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004731/0.4297, allocations: 2.672 MB / 0.715 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/0.4314, allocations: 0.9911 MB / 0.716 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/0.4324, allocations: 440.4 kB / 0.7164 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.889e-05/0.4325, allocations: 11.2 kB / 0.7164 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001262/0.4337, allocations: 0.5996 MB / 0.717 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=66): time 1.803e-06/0.4337, allocations: 0 / 0.717 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66): time 0.02095/0.4547, allocations: 4.578 MB / 0.7215 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.38e-05/0.4548, allocations: 84.7 kB / 0.7215 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001542/0.4563, allocations: 0.7104 MB / 0.7222 GB, free: 12 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001898/0.4565, allocations: 40.8 kB / 0.7223 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003378/0.4568, allocations: 383.7 kB / 0.7226 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003519/0.4572, allocations: 245.8 kB / 0.7229 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000254/0.4575, allocations: 101.3 kB / 0.723 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.4576, allocations: 330.6 kB / 0.7233 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001034/0.4586, allocations: 403.5 kB / 0.7237 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/0.4598, allocations: 0.5084 MB / 0.7242 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002218/0.462, allocations: 0.9155 MB / 0.7251 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.462, allocations: 5.344 kB / 0.7251 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.009542/0.4715, allocations: 2.568 MB / 0.7276 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.087e-05/0.4716, allocations: 9.438 kB / 0.7276 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.4716, allocations: 4.125 kB / 0.7276 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00445/0.4761, allocations: 1.122 MB / 0.7287 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004984/0.4766, allocations: 101.8 kB / 0.7288 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0172/0.4938, allocations: 6.778 MB / 0.7354 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.4949, allocations: 110.5 kB / 0.7355 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.462e-05/0.4949, allocations: 25.61 kB / 0.7355 GB, free: 4.004 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.0003871/0.4953, allocations: 202.8 kB / 0.7357 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001873/0.4955, allocations: 93.42 kB / 0.7358 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009712/0.5052, allocations: 2.604 MB / 0.7384 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-05/0.5052, allocations: 11.97 kB / 0.7384 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.5052, allocations: 0 / 0.7384 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-05/0.5053, allocations: 5.078 kB / 0.7384 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01108/0.5163, allocations: 3.8 MB / 0.7421 GB, free: 0 / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.5164, allocations: 1.375 kB / 0.7421 GB, free: 0 / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004827/0.5168, allocations: 80.11 kB / 0.7422 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004222/0.5211, allocations: 1.067 MB / 0.7432 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.062e-05/0.5211, allocations: 16.48 kB / 0.7432 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01498/0.5361, allocations: 6.043 MB / 0.7491 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.5361, allocations: 0 / 0.7491 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01083/0.547, allocations: 3.193 MB / 0.7522 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003774/0.5473, allocations: 180.4 kB / 0.7524 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.5475, allocations: 15.62 kB / 0.7524 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008096/0.5483, allocations: 79.91 kB / 0.7525 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004673/0.5487, allocations: 144.4 kB / 0.7526 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-05/0.5488, allocations: 16 kB / 0.7527 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007028/0.5495, allocations: 0.4951 MB / 0.7531 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5495, allocations: 0 / 0.7531 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001057/0.5505, allocations: 299.7 kB / 0.7534 GB, free: 6.621 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.01108/0.5616, allocations: 3.762 MB / 0.7571 GB, free: 2.82 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004896/0.5665, allocations: 1.497 MB / 0.7586 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.5665, allocations: 4 kB / 0.7586 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003329/0.5699, allocations: 1.014 MB / 0.7596 GB, free: 284 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007103/0.5706, allocations: 90.17 kB / 0.7596 GB, free: 196 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02768/0.5983, allocations: 10.48 MB / 0.7699 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006297/0.5989, allocations: 0.9747 MB / 0.7708 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002528/0.5991, allocations: 65.14 kB / 0.7709 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004583/0.5996, allocations: 319.3 kB / 0.7712 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of SimCode: time 6.51e-07/0.5996, allocations: 0 / 0.7712 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06143/0.661, allocations: 24.77 MB / 0.7954 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.36/15.02, allocations: 12.55 kB / 0.7954 GB, free: 11.45 MB / 0.5606 GB " [Timeout remaining time 645] (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: 18.506563928211108] Failed to read output from testmodel.py, exit status != 0: 15.133089377079159 15.159166773 14.741380072 Calling exit ...