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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 107.8 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 225.6 MB / 244.8 MB, free: 14.2 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 197.7 kB / 299.8 MB, free: 9.828 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5605/0.5605, allocations: 99.67 MB / 454.4 MB, free: 5.062 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002424/0.002424, allocations: 83.88 kB / 0.6073 GB, free: 9.543 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1894, allocations: 76.93 MB / 0.6824 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.007353/0.1968, allocations: 5.28 MB / 0.6876 GB, free: 7.145 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004072/0.2009, allocations: 1.415 MB / 0.689 GB, free: 5.727 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007658/0.2016, allocations: 8 kB / 0.689 GB, free: 5.719 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005849/0.2022, allocations: 170.5 kB / 0.6891 GB, free: 5.551 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001148/0.2034, allocations: 357.5 kB / 0.6895 GB, free: 5.199 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001636/0.205, allocations: 0.6443 MB / 0.6901 GB, free: 4.559 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001238/0.2062, allocations: 1.066 MB / 0.6912 GB, free: 3.488 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003366/0.2066, allocations: 163.9 kB / 0.6913 GB, free: 3.316 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005254/0.2071, allocations: 438.1 kB / 0.6917 GB, free: 2.887 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006702/0.2078, allocations: 0.5405 MB / 0.6923 GB, free: 2.344 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.2079, allocations: 76 kB / 0.6923 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000294/0.2082, allocations: 139.9 kB / 0.6925 GB, free: 2.133 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002151/0.2084, allocations: 203.1 kB / 0.6927 GB, free: 1.934 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004015/0.2088, allocations: 469.2 kB / 0.6931 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001234/0.21, allocations: 1.085 MB / 0.6942 GB, free: 392 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.21, allocations: 0 / 0.6942 GB, free: 392 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.21, allocations: 7.938 kB / 0.6942 GB, free: 384 kB / 494.1 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.21, allocations: 0 / 0.6942 GB, free: 384 kB / 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.3608/0.5708, allocations: 1.782 MB / 0.6959 GB, free: 17.68 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.258e-05/0.5709, allocations: 10.47 kB / 0.6959 GB, free: 17.68 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001524/0.571, allocations: 97.83 kB / 0.696 GB, free: 17.64 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002798/0.5738, allocations: 452.1 kB / 0.6964 GB, free: 17.58 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/0.575, allocations: 0.6351 MB / 0.6971 GB, free: 17.3 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002329/0.5752, allocations: 196.5 kB / 0.6973 GB, free: 17.14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.5754, allocations: 60.34 kB / 0.6973 GB, free: 17.13 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.5769, allocations: 0.7698 MB / 0.6981 GB, free: 17.07 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.5769, allocations: 0 / 0.6981 GB, free: 17.07 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.036e-05/0.577, allocations: 21.78 kB / 0.6981 GB, free: 17.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.577, allocations: 14.03 kB / 0.6981 GB, free: 17.07 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.5783, allocations: 0.6992 MB / 0.6988 GB, free: 17.06 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004476/0.5828, allocations: 2.68 MB / 0.7014 GB, free: 15.55 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/0.5843, allocations: 0.981 MB / 0.7024 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009162/0.5852, allocations: 445.1 kB / 0.7028 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.569e-05/0.5853, allocations: 11.77 kB / 0.7028 GB, free: 14.67 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001148/0.5864, allocations: 0.592 MB / 0.7034 GB, free: 14.44 MB / 494.1 MB Notification: Performance of pre-optimization done (n=66): time 2.375e-06/0.5864, allocations: 2.812 kB / 0.7034 GB, free: 14.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=66): time 0.01844/0.6049, allocations: 4.586 MB / 0.7078 GB, free: 13.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.6049, allocations: 87.64 kB / 0.7079 GB, free: 13.48 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.6061, allocations: 0.705 MB / 0.7086 GB, free: 13.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.55e-05/0.6062, allocations: 36.91 kB / 0.7087 GB, free: 13.14 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002436/0.6064, allocations: 386.7 kB / 0.709 GB, free: 12.83 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002438/0.6067, allocations: 242.3 kB / 0.7093 GB, free: 12.64 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002171/0.6069, allocations: 105.7 kB / 0.7094 GB, free: 12.58 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.632e-05/0.6069, allocations: 331.8 kB / 0.7097 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009428/0.6079, allocations: 399.8 kB / 0.7101 GB, free: 12.14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/0.6089, allocations: 0.5083 MB / 0.7106 GB, free: 11.87 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001881/0.6108, allocations: 0.9185 MB / 0.7114 GB, free: 11.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.6108, allocations: 0.875 kB / 0.7114 GB, free: 11.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.009201/0.62, allocations: 2.575 MB / 0.714 GB, free: 10.86 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.243e-05/0.62, allocations: 8.594 kB / 0.714 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.62, allocations: 3.25 kB / 0.714 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004004/0.624, allocations: 1.124 MB / 0.7151 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004759/0.6245, allocations: 97.7 kB / 0.7152 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0141/0.6386, allocations: 6.78 MB / 0.7218 GB, free: 6.273 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.6397, allocations: 118.7 kB / 0.7219 GB, free: 6.207 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.807e-05/0.6397, allocations: 21.47 kB / 0.7219 GB, free: 6.203 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.0003269/0.6401, allocations: 199 kB / 0.7221 GB, free: 6.031 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.6402, allocations: 89.88 kB / 0.7222 GB, free: 5.984 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007986/0.6482, allocations: 2.612 MB / 0.7247 GB, free: 4.645 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.6482, allocations: 7.125 kB / 0.7248 GB, free: 4.645 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.6482, allocations: 1.938 kB / 0.7248 GB, free: 4.645 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.6482, allocations: 3.984 kB / 0.7248 GB, free: 4.641 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009304/0.6575, allocations: 3.801 MB / 0.7285 GB, free: 2.219 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.6575, allocations: 1.344 kB / 0.7285 GB, free: 2.219 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004115/0.6579, allocations: 84.33 kB / 0.7286 GB, free: 2.195 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00361/0.6615, allocations: 1.073 MB / 0.7296 GB, free: 1.715 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.682e-05/0.6616, allocations: 19.97 kB / 0.7296 GB, free: 1.699 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01351/0.6751, allocations: 6.025 MB / 0.7355 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.6751, allocations: 0 / 0.7355 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009659/0.6848, allocations: 3.204 MB / 0.7386 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005356/0.6853, allocations: 175.1 kB / 0.7388 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002827/0.6856, allocations: 11.75 kB / 0.7388 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.6866, allocations: 82.97 kB / 0.7389 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005293/0.6872, allocations: 148.3 kB / 0.739 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.889e-05/0.6873, allocations: 19.98 kB / 0.7391 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009218/0.6882, allocations: 0.4912 MB / 0.7395 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.6882, allocations: 0 / 0.7395 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001226/0.6894, allocations: 299.7 kB / 0.7398 GB, free: 10.88 MB / 0.4981 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.01046/0.6999, allocations: 3.771 MB / 0.7435 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004563/0.7044, allocations: 1.478 MB / 0.7449 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.7044, allocations: 0 / 0.7449 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003154/0.7076, allocations: 1.025 MB / 0.7459 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009492/0.7085, allocations: 71.31 kB / 0.746 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02684/0.7354, allocations: 10.49 MB / 0.7563 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008654/0.7363, allocations: 0.9748 MB / 0.7572 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003173/0.7366, allocations: 68.56 kB / 0.7573 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005138/0.7371, allocations: 315.3 kB / 0.7576 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of SimCode: time 1.793e-06/0.7371, allocations: 0 / 0.7576 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06784/0.8049, allocations: 24.78 MB / 0.7818 GB, free: 15.78 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.16/14.97, allocations: 13.77 kB / 0.7818 GB, free: 15.77 MB / 0.545 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.38615367282182] Failed to read output from testmodel.py, exit status != 0: 15.070705930702388 15.096652516 14.881597389 Calling exit ...