Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.1136/0.1136, allocations: 12.36 MB / 28.71 MB, free: 0.6016 MB / 19.63 MB " [Timeout remaining time 180] 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.001828/0.001828, allocations: 115.2 kB / 34.42 MB, free: 1.676 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.604/1.604, allocations: 207.6 MB / 247.6 MB, free: 8.824 MB / 190.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.001527/0.001527, allocations: 220.3 kB / 302.5 MB, free: 2.348 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3206/0.3206, allocations: 79.74 MB / 436.9 MB, free: 11.72 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.FACTS.STATCOM_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_FACTS_STATCOM_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.STATCOM_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_FACTS_STATCOM_Test",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 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.003982/0.003982, allocations: 145.7 kB / 0.5819 GB, free: 7.988 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3538, allocations: 71.92 MB / 0.6521 GB, free: 14.95 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.006451/0.3602, allocations: 5.315 MB / 0.6573 GB, free: 9.609 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00312/0.3633, allocations: 1.373 MB / 0.6586 GB, free: 8.227 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003863/0.3637, allocations: 11.94 kB / 0.6586 GB, free: 8.215 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004125/0.3641, allocations: 166.6 kB / 0.6588 GB, free: 8.051 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007451/0.3649, allocations: 369.4 kB / 0.6592 GB, free: 7.688 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.3662, allocations: 0.588 MB / 0.6597 GB, free: 7.102 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001158/0.3674, allocations: 1.066 MB / 0.6608 GB, free: 6.031 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000312/0.3677, allocations: 163.7 kB / 0.6609 GB, free: 5.859 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004991/0.3682, allocations: 454 kB / 0.6614 GB, free: 5.414 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006504/0.3688, allocations: 0.5328 MB / 0.6619 GB, free: 4.879 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.369, allocations: 76 kB / 0.662 GB, free: 4.805 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000268/0.3692, allocations: 140 kB / 0.6621 GB, free: 4.668 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001781/0.3694, allocations: 199.1 kB / 0.6623 GB, free: 4.473 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003963/0.3698, allocations: 473.2 kB / 0.6627 GB, free: 4.008 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.371, allocations: 1.088 MB / 0.6638 GB, free: 2.918 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.371, allocations: 0 / 0.6638 GB, free: 2.918 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.371, allocations: 4 kB / 0.6638 GB, free: 2.914 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.371, allocations: 0 / 0.6638 GB, free: 2.914 MB / 446.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.005121/0.3761, allocations: 1.787 MB / 0.6655 GB, free: 1.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.3761, allocations: 11.98 kB / 0.6655 GB, free: 1.059 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001344/0.3763, allocations: 102.7 kB / 0.6656 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002667/0.3789, allocations: 443.1 kB / 0.6661 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.38, allocations: 0.6398 MB / 0.6667 GB, free: 15.83 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002582/0.3803, allocations: 197.8 kB / 0.6669 GB, free: 15.6 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.3804, allocations: 52 kB / 0.6669 GB, free: 15.55 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.3819, allocations: 0.7719 MB / 0.6677 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.382, allocations: 4 kB / 0.6677 GB, free: 14.76 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.04e-05/0.382, allocations: 23.75 kB / 0.6677 GB, free: 14.74 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.382, allocations: 15.94 kB / 0.6677 GB, free: 14.73 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001609/0.3837, allocations: 0.7 MB / 0.6684 GB, free: 14.03 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004704/0.3884, allocations: 2.664 MB / 0.671 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/0.39, allocations: 0.9895 MB / 0.672 GB, free: 10.11 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009941/0.391, allocations: 454.5 kB / 0.6724 GB, free: 9.66 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.15e-05/0.3911, allocations: 8.547 kB / 0.6724 GB, free: 9.652 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001259/0.3923, allocations: 0.5919 MB / 0.673 GB, free: 9.039 MB / 462.1 MB Notification: Performance of pre-optimization done (n=66): time 1.954e-06/0.3923, allocations: 0 / 0.673 GB, free: 9.039 MB / 462.1 MB Notification: Performance of matching and sorting (n=66): time 0.01953/0.4118, allocations: 4.585 MB / 0.6775 GB, free: 4.426 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/0.4119, allocations: 85.61 kB / 0.6776 GB, free: 4.324 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.4129, allocations: 0.7197 MB / 0.6783 GB, free: 3.598 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000113/0.413, allocations: 33.7 kB / 0.6783 GB, free: 3.559 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002971/0.4133, allocations: 381.2 kB / 0.6787 GB, free: 3.18 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002754/0.4136, allocations: 241.9 kB / 0.6789 GB, free: 2.941 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002355/0.4138, allocations: 106.3 kB / 0.679 GB, free: 2.828 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.414, allocations: 326 kB / 0.6793 GB, free: 2.504 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009663/0.4149, allocations: 409.1 kB / 0.6797 GB, free: 2.105 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/0.416, allocations: 0.5058 MB / 0.6802 GB, free: 1.559 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002003/0.418, allocations: 0.9198 MB / 0.6811 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.418, allocations: 0 / 0.6811 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00923/0.4272, allocations: 2.571 MB / 0.6836 GB, free: 14.01 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.4273, allocations: 7.938 kB / 0.6836 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.4273, allocations: 8.312 kB / 0.6836 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004295/0.4316, allocations: 1.119 MB / 0.6847 GB, free: 12.88 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004872/0.4321, allocations: 95.83 kB / 0.6848 GB, free: 12.78 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01666/0.4487, allocations: 6.781 MB / 0.6914 GB, free: 5.848 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/0.4498, allocations: 103.6 kB / 0.6915 GB, free: 5.746 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.179e-05/0.4498, allocations: 27.92 kB / 0.6915 GB, free: 5.719 MB / 478.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.0003655/0.4502, allocations: 205.7 kB / 0.6917 GB, free: 5.508 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/0.4504, allocations: 91.39 kB / 0.6918 GB, free: 5.418 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009324/0.4597, allocations: 2.603 MB / 0.6944 GB, free: 2.805 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.946e-05/0.4597, allocations: 7.938 kB / 0.6944 GB, free: 2.797 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.4597, allocations: 4 kB / 0.6944 GB, free: 2.793 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.756e-05/0.4597, allocations: 3.984 kB / 0.6944 GB, free: 2.789 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01075/0.4705, allocations: 3.813 MB / 0.6981 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/0.4705, allocations: 0 / 0.6981 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004676/0.471, allocations: 75.89 kB / 0.6982 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004018/0.475, allocations: 1.078 MB / 0.6992 GB, free: 13.69 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.275e-05/0.4751, allocations: 19.98 kB / 0.6992 GB, free: 13.67 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01433/0.4894, allocations: 6.017 MB / 0.7051 GB, free: 7.508 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4894, allocations: 0 / 0.7051 GB, free: 7.508 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01021/0.4996, allocations: 3.201 MB / 0.7083 GB, free: 4.285 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003631/0.5, allocations: 180.3 kB / 0.7084 GB, free: 4.09 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.5001, allocations: 16.09 kB / 0.7084 GB, free: 4.074 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007892/0.5009, allocations: 79.91 kB / 0.7085 GB, free: 3.996 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004582/0.5014, allocations: 144.3 kB / 0.7087 GB, free: 3.855 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.668e-05/0.5014, allocations: 20 kB / 0.7087 GB, free: 3.836 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006746/0.5021, allocations: 0.4951 MB / 0.7092 GB, free: 3.348 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5021, allocations: 4 kB / 0.7092 GB, free: 3.344 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009428/0.503, allocations: 299.7 kB / 0.7094 GB, free: 3.051 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.01051/0.5135, allocations: 3.772 MB / 0.7131 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004369/0.5179, allocations: 1.486 MB / 0.7146 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.5179, allocations: 0 / 0.7146 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003128/0.521, allocations: 1.017 MB / 0.7156 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007034/0.5217, allocations: 82.64 kB / 0.7157 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02659/0.5483, allocations: 10.47 MB / 0.7259 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006693/0.549, allocations: 0.9787 MB / 0.7268 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003218/0.5493, allocations: 65.14 kB / 0.7269 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004708/0.5498, allocations: 315.3 kB / 0.7272 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of SimCode: time 1.022e-06/0.5498, allocations: 0 / 0.7272 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06099/0.6108, allocations: 24.79 MB / 0.7514 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/14.56, allocations: 11.31 kB / 0.7514 GB, free: 7.801 MB / 0.5294 GB " [Timeout remaining time 645] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_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_2_0_0_OpenIPSL_Tests_FACTS_STATCOM_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.020091094003874] Failed to read output from testmodel.py, exit status != 0: 14.663068244000897 14.687865434 14.312117694 Calling exit ...