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.001304/0.001304, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.503/1.503, allocations: 230.6 MB / 252.7 MB, free: 14.27 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.001706/0.001706, allocations: 211.9 kB / 309.2 MB, free: 3.133 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.6244/0.6244, allocations: 107.3 MB / 473 MB, free: 29.82 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.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.002607/0.002607, allocations: 91.03 kB / 0.6332 GB, free: 29.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1521, allocations: 80.17 MB / 0.7115 GB, free: 7.695 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.006607/0.1587, allocations: 4.701 MB / 0.7161 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00301/0.1617, allocations: 1.399 MB / 0.7175 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003584/0.162, allocations: 7.938 kB / 0.7175 GB, free: 1.559 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004268/0.1625, allocations: 166.5 kB / 0.7176 GB, free: 1.395 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007818/0.1633, allocations: 365.5 kB / 0.718 GB, free: 1.035 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001485/0.1647, allocations: 0.5744 MB / 0.7185 GB, free: 476 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001277/0.166, allocations: 1.062 MB / 0.7196 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003856/0.1664, allocations: 148.7 kB / 0.7197 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007527/0.1672, allocations: 462.1 kB / 0.7201 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007694/0.1679, allocations: 0.4897 MB / 0.7206 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.1681, allocations: 76 kB / 0.7207 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003443/0.1684, allocations: 143.9 kB / 0.7208 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002044/0.1686, allocations: 199.1 kB / 0.721 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00039/0.169, allocations: 385.8 kB / 0.7214 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001327/0.1703, allocations: 1.097 MB / 0.7225 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1703, allocations: 0 / 0.7225 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1703, allocations: 0 / 0.7225 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.313e-05/0.1703, allocations: 0 / 0.7225 GB, free: 12.4 MB / 0.4981 GB 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.005362/0.1757, allocations: 1.818 MB / 0.7242 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.1758, allocations: 12.03 kB / 0.7243 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001328/0.1759, allocations: 94.7 kB / 0.7243 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002682/0.1786, allocations: 451.1 kB / 0.7248 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.1798, allocations: 0.5739 MB / 0.7253 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003612/0.1801, allocations: 274.9 kB / 0.7256 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.1802, allocations: 52 kB / 0.7256 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/0.1819, allocations: 0.7681 MB / 0.7264 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.182, allocations: 0 / 0.7264 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-05/0.182, allocations: 23.94 kB / 0.7264 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.182, allocations: 19.98 kB / 0.7264 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00167/0.1837, allocations: 0.696 MB / 0.7271 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004636/0.1883, allocations: 1.962 MB / 0.729 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/0.1899, allocations: 0.6133 MB / 0.7296 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/0.1909, allocations: 445.4 kB / 0.7301 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.492e-05/0.191, allocations: 16.64 kB / 0.7301 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001336/0.1923, allocations: 0.5956 MB / 0.7307 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=66): time 2.385e-06/0.1923, allocations: 0 / 0.7307 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66): time 0.01955/0.2119, allocations: 4.505 MB / 0.7351 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.212, allocations: 85.77 kB / 0.7351 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001429/0.2134, allocations: 0.7157 MB / 0.7358 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001947/0.2136, allocations: 37.7 kB / 0.7359 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004211/0.214, allocations: 385.2 kB / 0.7362 GB, free: 14 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003916/0.2144, allocations: 241.9 kB / 0.7365 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002546/0.2146, allocations: 98.34 kB / 0.7366 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002263/0.2149, allocations: 334 kB / 0.7369 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.2159, allocations: 401.1 kB / 0.7373 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/0.217, allocations: 0.5137 MB / 0.7378 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002041/0.2191, allocations: 0.9178 MB / 0.7387 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.2191, allocations: 4 kB / 0.7387 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.009443/0.2285, allocations: 2.569 MB / 0.7412 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.392e-05/0.2286, allocations: 7.938 kB / 0.7412 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.2286, allocations: 4 kB / 0.7412 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004393/0.233, allocations: 1.129 MB / 0.7423 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005112/0.2335, allocations: 91.89 kB / 0.7424 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01755/0.251, allocations: 6.521 MB / 0.7487 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/0.2521, allocations: 111.5 kB / 0.7488 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.716e-05/0.2521, allocations: 28 kB / 0.7489 GB, free: 0.8242 MB / 0.5137 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.0003668/0.2525, allocations: 201.7 kB / 0.7491 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.2527, allocations: 91.44 kB / 0.7492 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00947/0.2621, allocations: 2.609 MB / 0.7517 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/0.2621, allocations: 15.88 kB / 0.7517 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.2621, allocations: 3.984 kB / 0.7517 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.727e-05/0.2622, allocations: 3.984 kB / 0.7517 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01089/0.2731, allocations: 3.321 MB / 0.755 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/0.2731, allocations: 8 kB / 0.755 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004805/0.2736, allocations: 79.89 kB / 0.7551 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004145/0.2777, allocations: 1.074 MB / 0.7561 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.2778, allocations: 16 kB / 0.7561 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01501/0.2928, allocations: 5.781 MB / 0.7618 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.2928, allocations: 0 / 0.7618 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01079/0.3036, allocations: 3.212 MB / 0.7649 GB, free: 180 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003441/0.3039, allocations: 107.3 kB / 0.765 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001975/0.3041, allocations: 12 kB / 0.765 GB, free: 60 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009111/0.3051, allocations: 75.97 kB / 0.7651 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005075/0.3056, allocations: 152.3 kB / 0.7652 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.918e-05/0.3056, allocations: 16 kB / 0.7652 GB, free: 15.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007852/0.3064, allocations: 0.4951 MB / 0.7657 GB, free: 15.33 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.3064, allocations: 0 / 0.7657 GB, free: 15.33 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001084/0.3075, allocations: 295.8 kB / 0.766 GB, free: 15.04 MB / 0.545 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.01104/0.3185, allocations: 3.76 MB / 0.7697 GB, free: 11.25 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004676/0.3232, allocations: 1.495 MB / 0.7711 GB, free: 9.734 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.3232, allocations: 0 / 0.7711 GB, free: 9.734 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003277/0.3265, allocations: 1.03 MB / 0.7721 GB, free: 8.695 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008194/0.3273, allocations: 81.41 kB / 0.7722 GB, free: 8.613 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02753/0.3548, allocations: 10.47 MB / 0.7825 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004741/0.3553, allocations: 387.2 kB / 0.7828 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002736/0.3556, allocations: 65.12 kB / 0.7829 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004726/0.3561, allocations: 319.3 kB / 0.7832 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of SimCode: time 1.552e-06/0.3561, allocations: 4 kB / 0.7832 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07131/0.4274, allocations: 26.01 MB / 0.8086 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.8/14.23, allocations: 17.81 kB / 0.8086 GB, free: 3.25 MB / 0.5762 GB " [Timeout remaining time 646] (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.2371035348624] Failed to read output from testmodel.py, exit status != 0: 14.357106415554881 14.657705162 14.48493676 Calling exit ...