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.001748/0.001748, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.423/1.423, allocations: 230.6 MB / 253.4 MB, free: 14.66 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.001875/0.001875, allocations: 219.2 kB / 310 MB, free: 3.066 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.5766/0.5766, allocations: 101.3 MB / 467.8 MB, free: 30.46 MB / 350.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.STATCOM_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_FACTS_STATCOM_Test",fmuType="cs",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.002358/0.002358, allocations: 86.17 kB / 0.6251 GB, free: 33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1339, allocations: 78.62 MB / 0.7019 GB, free: 1.102 MB / 478.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.006446/0.1404, allocations: 5.325 MB / 0.7071 GB, free: 11.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002834/0.1432, allocations: 1.466 MB / 0.7085 GB, free: 10.28 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003014/0.1435, allocations: 8 kB / 0.7085 GB, free: 10.27 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004164/0.1439, allocations: 166.5 kB / 0.7087 GB, free: 10.11 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006963/0.1446, allocations: 369.4 kB / 0.7091 GB, free: 9.742 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.1459, allocations: 0.5992 MB / 0.7096 GB, free: 9.145 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00112/0.147, allocations: 1.054 MB / 0.7107 GB, free: 8.086 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002973/0.1473, allocations: 160.6 kB / 0.7108 GB, free: 7.918 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005309/0.1479, allocations: 458.1 kB / 0.7113 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007043/0.1486, allocations: 0.5366 MB / 0.7118 GB, free: 6.93 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.1487, allocations: 76 kB / 0.7119 GB, free: 6.855 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002839/0.149, allocations: 147.9 kB / 0.712 GB, free: 6.711 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001867/0.1492, allocations: 199.1 kB / 0.7122 GB, free: 6.516 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004101/0.1496, allocations: 469.3 kB / 0.7126 GB, free: 6.055 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001298/0.1509, allocations: 1.089 MB / 0.7137 GB, free: 4.961 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1509, allocations: 0 / 0.7137 GB, free: 4.961 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1509, allocations: 0 / 0.7137 GB, free: 4.961 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.1509, allocations: 0 / 0.7137 GB, free: 4.961 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.005252/0.1561, allocations: 1.811 MB / 0.7155 GB, free: 3.109 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.1562, allocations: 12.03 kB / 0.7155 GB, free: 3.098 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.438e-05/0.1562, allocations: 13.19 kB / 0.7155 GB, free: 3.086 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001211/0.1563, allocations: 98.64 kB / 0.7156 GB, free: 2.98 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00263/0.159, allocations: 454.9 kB / 0.716 GB, free: 2.535 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.16, allocations: 0.5663 MB / 0.7166 GB, free: 1.938 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003052/0.1604, allocations: 278.9 kB / 0.7168 GB, free: 1.613 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.1605, allocations: 52 kB / 0.7169 GB, free: 1.562 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/0.1621, allocations: 0.7681 MB / 0.7176 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.1621, allocations: 0 / 0.7176 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.183e-05/0.1622, allocations: 23.94 kB / 0.7177 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.1622, allocations: 16 kB / 0.7177 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001614/0.1638, allocations: 0.7 MB / 0.7184 GB, free: 40 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004661/0.1685, allocations: 2.64 MB / 0.7209 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.1699, allocations: 0.6067 MB / 0.7215 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001028/0.171, allocations: 451.4 kB / 0.722 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.958e-05/0.171, allocations: 12.64 kB / 0.722 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001271/0.1723, allocations: 0.5896 MB / 0.7225 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=66): time 1.983e-06/0.1723, allocations: 0 / 0.7225 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66): time 0.01904/0.1913, allocations: 4.501 MB / 0.7269 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.388e-05/0.1914, allocations: 89.7 kB / 0.727 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.1924, allocations: 0.7157 MB / 0.7277 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.366e-05/0.1925, allocations: 37.7 kB / 0.7278 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003005/0.1928, allocations: 381.2 kB / 0.7281 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002673/0.1931, allocations: 245.9 kB / 0.7284 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000229/0.1933, allocations: 110.2 kB / 0.7285 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1934, allocations: 330 kB / 0.7288 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009734/0.1944, allocations: 405.1 kB / 0.7292 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.1954, allocations: 0.5059 MB / 0.7297 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00199/0.1974, allocations: 0.9217 MB / 0.7306 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.1974, allocations: 0 / 0.7306 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008979/0.2064, allocations: 2.577 MB / 0.7331 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.2064, allocations: 9.969 kB / 0.7331 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.2064, allocations: 4 kB / 0.7331 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004302/0.2108, allocations: 1.121 MB / 0.7342 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004724/0.2112, allocations: 95.89 kB / 0.7343 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01649/0.2277, allocations: 6.669 MB / 0.7408 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009781/0.2287, allocations: 107.6 kB / 0.7409 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-05/0.2288, allocations: 27.94 kB / 0.7409 GB, free: 8.461 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.0003503/0.2291, allocations: 193.8 kB / 0.7411 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.2293, allocations: 95.39 kB / 0.7412 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009015/0.2383, allocations: 2.609 MB / 0.7437 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/0.2383, allocations: 15.94 kB / 0.7438 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2383, allocations: 3.984 kB / 0.7438 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/0.2383, allocations: 0 / 0.7438 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01047/0.2488, allocations: 3.779 MB / 0.7475 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.2488, allocations: 3.984 kB / 0.7475 GB, free: 1.621 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004616/0.2493, allocations: 75.89 kB / 0.7475 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004029/0.2533, allocations: 1.086 MB / 0.7486 GB, free: 468 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.855e-05/0.2534, allocations: 12 kB / 0.7486 GB, free: 456 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01441/0.2678, allocations: 5.914 MB / 0.7544 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2678, allocations: 0 / 0.7544 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01014/0.2779, allocations: 3.219 MB / 0.7575 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002949/0.2782, allocations: 103.3 kB / 0.7576 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.2783, allocations: 12 kB / 0.7576 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007657/0.2791, allocations: 67.92 kB / 0.7577 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004774/0.2796, allocations: 156.4 kB / 0.7578 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-05/0.2796, allocations: 23.94 kB / 0.7579 GB, free: 6.812 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006883/0.2803, allocations: 0.4951 MB / 0.7584 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2803, allocations: 0 / 0.7584 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009609/0.2813, allocations: 295.7 kB / 0.7586 GB, free: 6.035 MB / 0.5294 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.01047/0.2918, allocations: 3.771 MB / 0.7623 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004406/0.2962, allocations: 1.499 MB / 0.7638 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.2962, allocations: 0 / 0.7638 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003095/0.2993, allocations: 1.022 MB / 0.7648 GB, free: 15.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006761/0.2999, allocations: 79.3 kB / 0.7649 GB, free: 15.59 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02577/0.3257, allocations: 10.47 MB / 0.7751 GB, free: 4.918 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000615/0.3263, allocations: 0.9747 MB / 0.776 GB, free: 3.91 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002503/0.3266, allocations: 69.12 kB / 0.7761 GB, free: 3.844 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004364/0.327, allocations: 315.3 kB / 0.7764 GB, free: 3.535 MB / 0.545 GB Notification: Performance of SimCode: time 1.052e-06/0.327, allocations: 4 kB / 0.7764 GB, free: 3.531 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05794/0.3849, allocations: 25.49 MB / 0.8013 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.66/15.05, allocations: 5.172 kB / 0.8013 GB, free: 10.16 MB / 0.5762 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_FACTS_STATCOM_Test_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 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.91223308898043] Failed to read output from testmodel.py, exit status != 0: 15.240502581000328 15.51238536 15.358729630000001 Calling exit ...