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.001567/0.001567, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.417/1.417, allocations: 230.6 MB / 250.5 MB, free: 9.223 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.001564/0.001564, allocations: 211.1 kB / 306.7 MB, free: 4.301 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.5499/0.5499, allocations: 101.3 MB / 464.1 MB, free: 11.92 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="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.002296/0.002296, allocations: 81.91 kB / 0.6199 GB, free: 15.56 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1468, allocations: 78.56 MB / 0.6967 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.3144/0.4612, allocations: 5.298 MB / 0.7018 GB, free: 6.094 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002969/0.4642, allocations: 1.45 MB / 0.7032 GB, free: 5.121 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003975/0.4646, allocations: 7.344 kB / 0.7033 GB, free: 5.121 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004222/0.465, allocations: 173.1 kB / 0.7034 GB, free: 5.023 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006434/0.4657, allocations: 365.7 kB / 0.7038 GB, free: 4.77 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.4669, allocations: 0.5963 MB / 0.7044 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001003/0.4679, allocations: 1.066 MB / 0.7054 GB, free: 3.914 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002595/0.4681, allocations: 157.5 kB / 0.7055 GB, free: 3.824 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004588/0.4686, allocations: 465.2 kB / 0.706 GB, free: 3.602 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005487/0.4691, allocations: 0.532 MB / 0.7065 GB, free: 3.344 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001294/0.4693, allocations: 76.16 kB / 0.7066 GB, free: 3.344 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002783/0.4696, allocations: 144.7 kB / 0.7067 GB, free: 3.324 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.4697, allocations: 198.9 kB / 0.7069 GB, free: 3.191 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003252/0.47, allocations: 473.9 kB / 0.7074 GB, free: 2.883 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.4711, allocations: 1.084 MB / 0.7084 GB, free: 2.387 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.4711, allocations: 0 / 0.7084 GB, free: 2.387 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4711, allocations: 0 / 0.7084 GB, free: 2.387 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.678e-05/0.4711, allocations: 1.75 kB / 0.7084 GB, free: 2.387 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.004731/0.4758, allocations: 1.799 MB / 0.7102 GB, free: 1.426 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.4759, allocations: 9.781 kB / 0.7102 GB, free: 1.426 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.927e-05/0.4759, allocations: 11.38 kB / 0.7102 GB, free: 1.426 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.98e-05/0.476, allocations: 101.6 kB / 0.7103 GB, free: 1.348 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002523/0.4785, allocations: 448.5 kB / 0.7107 GB, free: 1.246 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000919/0.4794, allocations: 0.6441 MB / 0.7113 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001935/0.4796, allocations: 199.6 kB / 0.7115 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.387e-05/0.4797, allocations: 54.78 kB / 0.7116 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.4811, allocations: 0.7647 MB / 0.7123 GB, free: 288 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.4812, allocations: 0 / 0.7123 GB, free: 288 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.458e-05/0.4812, allocations: 31.48 kB / 0.7124 GB, free: 264 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.4812, allocations: 13.69 kB / 0.7124 GB, free: 264 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/0.4827, allocations: 0.7001 MB / 0.7131 GB, free: 36 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004699/0.4874, allocations: 2.667 MB / 0.7157 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001618/0.489, allocations: 0.9879 MB / 0.7166 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009723/0.49, allocations: 443.4 kB / 0.7171 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-05/0.4901, allocations: 7.344 kB / 0.7171 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001248/0.4913, allocations: 0.6023 MB / 0.7177 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=66): time 2.104e-06/0.4913, allocations: 0 / 0.7177 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66): time 0.02056/0.5119, allocations: 4.579 MB / 0.7221 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.937e-05/0.512, allocations: 89.16 kB / 0.7222 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.5132, allocations: 0.7103 MB / 0.7229 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001031/0.5133, allocations: 35.92 kB / 0.7229 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003244/0.5137, allocations: 385.5 kB / 0.7233 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002991/0.514, allocations: 240.3 kB / 0.7235 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002403/0.5142, allocations: 105.3 kB / 0.7236 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.5144, allocations: 327.1 kB / 0.7239 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009899/0.5153, allocations: 408.7 kB / 0.7243 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/0.5164, allocations: 0.5043 MB / 0.7248 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002053/0.5185, allocations: 0.9203 MB / 0.7257 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.5185, allocations: 0 / 0.7257 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00913/0.5276, allocations: 2.572 MB / 0.7282 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/0.5276, allocations: 9.438 kB / 0.7282 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.5276, allocations: 4.125 kB / 0.7283 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004223/0.5319, allocations: 1.127 MB / 0.7294 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004596/0.5323, allocations: 96.75 kB / 0.7294 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01684/0.5492, allocations: 6.775 MB / 0.7361 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/0.5503, allocations: 119.5 kB / 0.7362 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.425e-05/0.5503, allocations: 33.34 kB / 0.7362 GB, free: 3.957 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.0003914/0.5507, allocations: 186.5 kB / 0.7364 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/0.5509, allocations: 97.89 kB / 0.7365 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009183/0.5601, allocations: 2.609 MB / 0.739 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.5601, allocations: 9.625 kB / 0.739 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.5601, allocations: 5.016 kB / 0.739 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.5601, allocations: 4.688 kB / 0.739 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0107/0.5708, allocations: 3.801 MB / 0.7428 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.5708, allocations: 0 / 0.7428 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004411/0.5712, allocations: 76.05 kB / 0.7428 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004009/0.5753, allocations: 1.081 MB / 0.7439 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.202e-05/0.5753, allocations: 17.36 kB / 0.7439 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0141/0.5894, allocations: 6.023 MB / 0.7498 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.5894, allocations: 8 kB / 0.7498 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0103/0.5997, allocations: 3.205 MB / 0.7529 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003647/0.6001, allocations: 176.4 kB / 0.7531 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.6002, allocations: 12 kB / 0.7531 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007802/0.601, allocations: 79.91 kB / 0.7532 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004417/0.6014, allocations: 140.4 kB / 0.7533 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.627e-05/0.6015, allocations: 20 kB / 0.7533 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007054/0.6022, allocations: 0.4912 MB / 0.7538 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6022, allocations: 0 / 0.7538 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00094/0.6031, allocations: 303.7 kB / 0.7541 GB, free: 6.5 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.01055/0.6137, allocations: 3.762 MB / 0.7578 GB, free: 2.699 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004456/0.6181, allocations: 1.495 MB / 0.7592 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.6181, allocations: 4 kB / 0.7592 GB, free: 1.188 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003107/0.6213, allocations: 1.021 MB / 0.7602 GB, free: 156 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006666/0.6219, allocations: 79.3 kB / 0.7603 GB, free: 76 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02648/0.6484, allocations: 10.48 MB / 0.7705 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006866/0.6491, allocations: 0.9669 MB / 0.7715 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002413/0.6493, allocations: 65.14 kB / 0.7715 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004588/0.6498, allocations: 319.3 kB / 0.7719 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of SimCode: time 1.062e-06/0.6498, allocations: 0 / 0.7719 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05383/0.7036, allocations: 24.81 MB / 0.7961 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/14.34, allocations: 23.39 kB / 0.7961 GB, free: 11.31 MB / 0.5606 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: 17.894062228966504] Failed to read output from testmodel.py, exit status != 0: 14.505139917018823 14.527810566 14.052672755 Calling exit ...