Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.00153/0.00153, allocations: 116.1 kB / 17.17 MB, free: 6 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.457/1.457, allocations: 230.6 MB / 250.5 MB, free: 9.207 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.001561/0.001561, allocations: 214.1 kB / 306.7 MB, free: 4.281 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4328/0.4328, allocations: 79.72 MB / 442.5 MB, free: 112 kB / 302.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_FACTS_STATCOM_Test",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.STATCOM_Test,fileNamePrefix="OpenIPSL_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.002388/0.002388, allocations: 87.88 kB / 0.5885 GB, free: 1.562 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1322, allocations: 73.24 MB / 0.66 GB, free: 8.223 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.006371/0.1386, allocations: 5.283 MB / 0.6652 GB, free: 2.906 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002911/0.1415, allocations: 1.454 MB / 0.6666 GB, free: 1.449 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000334/0.1419, allocations: 8 kB / 0.6666 GB, free: 1.441 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003914/0.1423, allocations: 162.5 kB / 0.6667 GB, free: 1.281 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007052/0.143, allocations: 369.4 kB / 0.6671 GB, free: 0.918 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.1443, allocations: 0.5913 MB / 0.6677 GB, free: 336 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001201/0.1455, allocations: 1.062 MB / 0.6687 GB, free: 15.26 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003055/0.1458, allocations: 155.7 kB / 0.6689 GB, free: 15.1 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005933/0.1464, allocations: 458.1 kB / 0.6693 GB, free: 14.65 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006767/0.1471, allocations: 0.5405 MB / 0.6698 GB, free: 14.11 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.1472, allocations: 76 kB / 0.6699 GB, free: 14.03 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000275/0.1475, allocations: 136 kB / 0.67 GB, free: 13.9 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001811/0.1477, allocations: 207.1 kB / 0.6702 GB, free: 13.7 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004056/0.1481, allocations: 469.2 kB / 0.6707 GB, free: 13.23 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.1492, allocations: 1.081 MB / 0.6717 GB, free: 12.15 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1492, allocations: 0 / 0.6717 GB, free: 12.15 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1492, allocations: 0 / 0.6717 GB, free: 12.15 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.679e-05/0.1493, allocations: 8 kB / 0.6717 GB, free: 12.14 MB / 478.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.005261/0.1545, allocations: 1.787 MB / 0.6735 GB, free: 10.3 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.1546, allocations: 12.03 kB / 0.6735 GB, free: 10.29 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.647e-05/0.1546, allocations: 17.12 kB / 0.6735 GB, free: 10.27 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001235/0.1547, allocations: 94.7 kB / 0.6736 GB, free: 10.17 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002659/0.1574, allocations: 454.9 kB / 0.674 GB, free: 9.727 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.1584, allocations: 0.6319 MB / 0.6747 GB, free: 9.051 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002594/0.1586, allocations: 205.8 kB / 0.6748 GB, free: 8.816 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.1587, allocations: 51.95 kB / 0.6749 GB, free: 8.766 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/0.1603, allocations: 0.7681 MB / 0.6756 GB, free: 7.984 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.1604, allocations: 4 kB / 0.6757 GB, free: 7.98 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.238e-05/0.1604, allocations: 27.94 kB / 0.6757 GB, free: 7.953 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.1604, allocations: 12 kB / 0.6757 GB, free: 7.941 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001615/0.1621, allocations: 0.7 MB / 0.6764 GB, free: 7.238 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00479/0.1669, allocations: 2.668 MB / 0.679 GB, free: 4.418 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.1685, allocations: 0.9955 MB / 0.68 GB, free: 3.312 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/0.1695, allocations: 443.1 kB / 0.6804 GB, free: 2.867 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.224e-05/0.1696, allocations: 12.55 kB / 0.6804 GB, free: 2.855 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001293/0.1709, allocations: 0.592 MB / 0.681 GB, free: 2.25 MB / 478.1 MB Notification: Performance of pre-optimization done (n=66): time 2.635e-06/0.1709, allocations: 0 / 0.681 GB, free: 2.25 MB / 478.1 MB Notification: Performance of matching and sorting (n=66): time 0.01962/0.1905, allocations: 4.585 MB / 0.6854 GB, free: 13.63 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.251e-05/0.1906, allocations: 93.55 kB / 0.6855 GB, free: 13.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.1916, allocations: 0.712 MB / 0.6862 GB, free: 12.79 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001154/0.1917, allocations: 45.58 kB / 0.6863 GB, free: 12.74 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003165/0.1921, allocations: 381.2 kB / 0.6866 GB, free: 12.36 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002729/0.1923, allocations: 237.9 kB / 0.6869 GB, free: 12.13 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002361/0.1926, allocations: 102.3 kB / 0.687 GB, free: 12.02 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1927, allocations: 330 kB / 0.6873 GB, free: 11.69 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009694/0.1937, allocations: 405.1 kB / 0.6877 GB, free: 11.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/0.1947, allocations: 0.5116 MB / 0.6882 GB, free: 10.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002081/0.1968, allocations: 0.912 MB / 0.689 GB, free: 9.793 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.1968, allocations: 4 kB / 0.6891 GB, free: 9.789 MB / 494.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.009183/0.206, allocations: 2.575 MB / 0.6916 GB, free: 7.203 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/0.206, allocations: 16.25 kB / 0.6916 GB, free: 7.188 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.206, allocations: 3.984 kB / 0.6916 GB, free: 7.184 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004239/0.2103, allocations: 1.119 MB / 0.6927 GB, free: 6.062 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004795/0.2108, allocations: 95.88 kB / 0.6928 GB, free: 5.969 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2533/0.4641, allocations: 6.768 MB / 0.6994 GB, free: 34.99 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.4651, allocations: 112 kB / 0.6995 GB, free: 34.99 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.895e-05/0.4652, allocations: 26.58 kB / 0.6995 GB, free: 34.99 MB / 494.1 MB 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.0003113/0.4655, allocations: 197.5 kB / 0.6997 GB, free: 34.88 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.4656, allocations: 95.12 kB / 0.6998 GB, free: 34.88 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009222/0.4749, allocations: 2.603 MB / 0.7023 GB, free: 34.81 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/0.4749, allocations: 12.56 kB / 0.7023 GB, free: 34.81 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.4749, allocations: 6.531 kB / 0.7024 GB, free: 34.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-05/0.4749, allocations: 4.516 kB / 0.7024 GB, free: 34.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0107/0.4856, allocations: 3.801 MB / 0.7061 GB, free: 34.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.235e-05/0.4856, allocations: 1.656 kB / 0.7061 GB, free: 34.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004721/0.4861, allocations: 79.28 kB / 0.7061 GB, free: 34.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004228/0.4903, allocations: 1.074 MB / 0.7072 GB, free: 34.15 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.064e-05/0.4904, allocations: 13.05 kB / 0.7072 GB, free: 34.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01421/0.5046, allocations: 6.027 MB / 0.7131 GB, free: 31.41 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.5046, allocations: 0 / 0.7131 GB, free: 31.41 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01005/0.5147, allocations: 3.201 MB / 0.7162 GB, free: 30.46 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002779/0.5149, allocations: 180.7 kB / 0.7164 GB, free: 30.31 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.5151, allocations: 15.31 kB / 0.7164 GB, free: 30.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007862/0.5159, allocations: 78.95 kB / 0.7165 GB, free: 30.29 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004395/0.5163, allocations: 146.8 kB / 0.7166 GB, free: 30.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.339e-05/0.5163, allocations: 20.86 kB / 0.7166 GB, free: 30.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005735/0.5169, allocations: 0.4917 MB / 0.7171 GB, free: 30.02 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5169, allocations: 0 / 0.7171 GB, free: 30.02 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009387/0.5179, allocations: 293 kB / 0.7174 GB, free: 29.99 MB / 494.1 MB 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.009917/0.5278, allocations: 3.774 MB / 0.7211 GB, free: 28.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004167/0.5319, allocations: 1.498 MB / 0.7225 GB, free: 27.96 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.5319, allocations: 1.438 kB / 0.7226 GB, free: 27.96 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002994/0.5349, allocations: 1.012 MB / 0.7235 GB, free: 27.57 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006881/0.5356, allocations: 84.34 kB / 0.7236 GB, free: 27.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02377/0.5594, allocations: 10.47 MB / 0.7338 GB, free: 21.77 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.5597, allocations: 0.9805 MB / 0.7348 GB, free: 20.94 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002573/0.56, allocations: 60.92 kB / 0.7349 GB, free: 20.91 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003364/0.5603, allocations: 318.2 kB / 0.7352 GB, free: 20.64 MB / 494.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5603, allocations: 3.594 kB / 0.7352 GB, free: 20.64 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04939/0.6097, allocations: 24.8 MB / 0.7594 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.4/15.01, allocations: 15.88 kB / 0.7594 GB, free: 12.38 MB / 0.4981 GB " [Timeout remaining time 645] (rm -f OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_FACTS_STATCOM_Test_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_FACTS_STATCOM_Test.fmu > OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.343563477974385] Failed to read output from testmodel.py, exit status != 0: 15.173907588003203 15.193342232000001 15.041130038 Calling exit ...