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.0014/0.0014, allocations: 113 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.542/1.542, allocations: 230.6 MB / 252.7 MB, free: 8.324 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.001791/0.001791, allocations: 221.9 kB / 309.2 MB, free: 3.172 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.5817/0.5817, allocations: 101.3 MB / 467 MB, free: 10.35 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.002686/0.002686, allocations: 82.06 kB / 0.6244 GB, free: 12.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4453/0.448, allocations: 78.6 MB / 0.7012 GB, free: 9.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.005975/0.4539, allocations: 5.34 MB / 0.7064 GB, free: 5.426 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00327/0.4572, allocations: 1.463 MB / 0.7078 GB, free: 4.387 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006276/0.4578, allocations: 7.25 kB / 0.7078 GB, free: 4.387 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004534/0.4583, allocations: 167.9 kB / 0.708 GB, free: 4.293 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007142/0.459, allocations: 370.2 kB / 0.7083 GB, free: 4.031 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.4602, allocations: 0.6001 MB / 0.7089 GB, free: 3.703 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001053/0.4613, allocations: 1.066 MB / 0.7099 GB, free: 3.16 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002907/0.4616, allocations: 155.6 kB / 0.7101 GB, free: 3.07 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005192/0.4621, allocations: 461.5 kB / 0.7105 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006564/0.4628, allocations: 0.5351 MB / 0.7111 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.4629, allocations: 74.62 kB / 0.7111 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000281/0.4631, allocations: 141.5 kB / 0.7113 GB, free: 2.566 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001797/0.4633, allocations: 204.6 kB / 0.7115 GB, free: 2.43 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003843/0.4637, allocations: 470 kB / 0.7119 GB, free: 2.121 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001416/0.4651, allocations: 1.09 MB / 0.713 GB, free: 1.621 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4651, allocations: 0 / 0.713 GB, free: 1.621 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4651, allocations: 0 / 0.713 GB, free: 1.621 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.491e-05/0.4651, allocations: 3.578 kB / 0.713 GB, free: 1.621 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.004906/0.4701, allocations: 1.814 MB / 0.7147 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.4701, allocations: 12.56 kB / 0.7148 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001213/0.4702, allocations: 101.4 kB / 0.7149 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002527/0.4727, allocations: 447.8 kB / 0.7153 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009428/0.4737, allocations: 0.5796 MB / 0.7158 GB, free: 124 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002968/0.474, allocations: 278.5 kB / 0.7161 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.277e-05/0.4741, allocations: 49.22 kB / 0.7162 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/0.4756, allocations: 0.7732 MB / 0.7169 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.4756, allocations: 0 / 0.7169 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.858e-05/0.4757, allocations: 23.72 kB / 0.7169 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.4757, allocations: 14.59 kB / 0.7169 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001518/0.4772, allocations: 0.6971 MB / 0.7176 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005004/0.4822, allocations: 2.634 MB / 0.7202 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.4836, allocations: 0.6055 MB / 0.7208 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009392/0.4845, allocations: 439 kB / 0.7212 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.817e-05/0.4846, allocations: 17.19 kB / 0.7212 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001272/0.4859, allocations: 0.5925 MB / 0.7218 GB, free: 13 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=66): time 1.964e-06/0.4859, allocations: 0.6875 kB / 0.7218 GB, free: 13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66): time 0.01964/0.5055, allocations: 4.508 MB / 0.7262 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.175e-05/0.5056, allocations: 85.16 kB / 0.7263 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.5067, allocations: 0.7144 MB / 0.727 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.535e-05/0.5068, allocations: 36.48 kB / 0.727 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000335/0.5071, allocations: 384.9 kB / 0.7274 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002994/0.5074, allocations: 246.8 kB / 0.7276 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002469/0.5077, allocations: 106.9 kB / 0.7277 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.5078, allocations: 327.8 kB / 0.728 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009629/0.5088, allocations: 406.6 kB / 0.7284 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001051/0.5098, allocations: 0.5004 MB / 0.7289 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001993/0.5118, allocations: 0.9211 MB / 0.7298 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/0.5118, allocations: 1.938 kB / 0.7298 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.009045/0.5209, allocations: 2.574 MB / 0.7323 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.5209, allocations: 9.625 kB / 0.7323 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.5209, allocations: 2.656 kB / 0.7323 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004236/0.5251, allocations: 1.119 MB / 0.7334 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004989/0.5256, allocations: 102.2 kB / 0.7335 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01715/0.5428, allocations: 6.669 MB / 0.74 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/0.544, allocations: 111.3 kB / 0.7402 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.993e-05/0.5441, allocations: 24.33 kB / 0.7402 GB, free: 3.5 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.0004928/0.5446, allocations: 207.4 kB / 0.7404 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/0.5448, allocations: 98.45 kB / 0.7405 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009206/0.554, allocations: 2.602 MB / 0.743 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/0.554, allocations: 11.69 kB / 0.743 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.554, allocations: 0 / 0.743 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.782e-05/0.5541, allocations: 5.016 kB / 0.743 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01101/0.5651, allocations: 3.779 MB / 0.7467 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.5651, allocations: 4 kB / 0.7467 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004418/0.5655, allocations: 84.14 kB / 0.7468 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003951/0.5695, allocations: 1.073 MB / 0.7478 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.731e-05/0.5696, allocations: 12.12 kB / 0.7479 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0143/0.5838, allocations: 5.921 MB / 0.7536 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.5839, allocations: 3.938 kB / 0.7536 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01059/0.5944, allocations: 3.212 MB / 0.7568 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003244/0.5948, allocations: 107.2 kB / 0.7569 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.5949, allocations: 12 kB / 0.7569 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008375/0.5957, allocations: 75.91 kB / 0.757 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004341/0.5962, allocations: 156.4 kB / 0.7571 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.636e-05/0.5962, allocations: 16 kB / 0.7571 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007465/0.597, allocations: 0.4951 MB / 0.7576 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.597, allocations: 0 / 0.7576 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009523/0.5979, allocations: 295.7 kB / 0.7579 GB, free: 5.691 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.01054/0.6085, allocations: 3.764 MB / 0.7616 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004518/0.613, allocations: 1.499 MB / 0.763 GB, free: 388 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.613, allocations: 0 / 0.763 GB, free: 388 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003197/0.6162, allocations: 1.025 MB / 0.764 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000732/0.6169, allocations: 83.23 kB / 0.7641 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02808/0.645, allocations: 10.47 MB / 0.7743 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007285/0.6457, allocations: 0.9746 MB / 0.7753 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002949/0.646, allocations: 69.14 kB / 0.7754 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005013/0.6465, allocations: 319.3 kB / 0.7757 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of SimCode: time 9.02e-07/0.6465, allocations: 0 / 0.7757 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06928/0.7158, allocations: 25.46 MB / 0.8005 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.4/16.11, allocations: 11.81 kB / 0.8005 GB, free: 9.859 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 & /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: 19.760919627035037] Failed to read output from testmodel.py, exit status != 0: 16.243052467005327 16.259099565 15.790705685 Calling exit ...