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.001745/0.001745, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.552/1.552, allocations: 230.6 MB / 252.7 MB, free: 14.25 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.001766/0.001766, allocations: 201.2 kB / 309.2 MB, free: 3.184 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.6566/0.6566, allocations: 107.2 MB / 472.8 MB, free: 29.99 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.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 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.STATCOM_Test,fileNamePrefix="OpenIPSL_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.002515/0.002515, allocations: 86.55 kB / 0.633 GB, free: 29.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1403, allocations: 80.15 MB / 0.7113 GB, free: 7.711 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.006354/0.1466, allocations: 4.701 MB / 0.7159 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003186/0.1498, allocations: 1.399 MB / 0.7172 GB, free: 1.582 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003909/0.1502, allocations: 11.94 kB / 0.7172 GB, free: 1.57 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004285/0.1506, allocations: 162.6 kB / 0.7174 GB, free: 1.41 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007998/0.1514, allocations: 361.5 kB / 0.7177 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0014/0.1528, allocations: 0.5825 MB / 0.7183 GB, free: 488 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001443/0.1543, allocations: 1.062 MB / 0.7194 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003923/0.1546, allocations: 152.6 kB / 0.7195 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000857/0.1555, allocations: 458.1 kB / 0.7199 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007909/0.1563, allocations: 497.5 kB / 0.7204 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001382/0.1564, allocations: 80 kB / 0.7205 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003804/0.1568, allocations: 136 kB / 0.7206 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002212/0.157, allocations: 203.1 kB / 0.7208 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004403/0.1575, allocations: 389.8 kB / 0.7212 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001589/0.1591, allocations: 1.097 MB / 0.7223 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.1591, allocations: 0 / 0.7223 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.874e-06/0.1591, allocations: 0 / 0.7223 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.354e-05/0.1591, allocations: 0 / 0.7223 GB, free: 12.41 MB / 0.4981 GB 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.005498/0.1646, allocations: 1.811 MB / 0.724 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.1646, allocations: 12.03 kB / 0.724 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001301/0.1648, allocations: 94.7 kB / 0.7241 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002687/0.1675, allocations: 451.1 kB / 0.7246 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.1686, allocations: 0.574 MB / 0.7251 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003131/0.1689, allocations: 278.8 kB / 0.7254 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.169, allocations: 52 kB / 0.7254 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.1706, allocations: 0.7719 MB / 0.7262 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.1706, allocations: 3.938 kB / 0.7262 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.901e-05/0.1707, allocations: 23.94 kB / 0.7262 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.1707, allocations: 16 kB / 0.7262 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00165/0.1724, allocations: 0.6922 MB / 0.7269 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004515/0.1769, allocations: 1.962 MB / 0.7288 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/0.1784, allocations: 0.6133 MB / 0.7294 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.1795, allocations: 439.5 kB / 0.7298 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.245e-05/0.1795, allocations: 12.64 kB / 0.7298 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001311/0.1809, allocations: 0.5973 MB / 0.7304 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=66): time 2.314e-06/0.1809, allocations: 0 / 0.7304 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66): time 0.01969/0.2006, allocations: 4.505 MB / 0.7348 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.607e-05/0.2006, allocations: 85.77 kB / 0.7349 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.2017, allocations: 0.7197 MB / 0.7356 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001503/0.2019, allocations: 37.7 kB / 0.7357 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003904/0.2023, allocations: 381.2 kB / 0.736 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004308/0.2027, allocations: 241.9 kB / 0.7362 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002799/0.203, allocations: 98.34 kB / 0.7363 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002072/0.2032, allocations: 334 kB / 0.7367 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/0.2043, allocations: 401.1 kB / 0.737 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.2054, allocations: 0.5176 MB / 0.7375 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002082/0.2075, allocations: 0.91 MB / 0.7384 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.2075, allocations: 0 / 0.7384 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.009332/0.2168, allocations: 2.585 MB / 0.741 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.79e-05/0.2168, allocations: 9.969 kB / 0.741 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.2168, allocations: 4 kB / 0.741 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004459/0.2213, allocations: 1.121 MB / 0.7421 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005262/0.2218, allocations: 95.81 kB / 0.7422 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01695/0.2388, allocations: 6.53 MB / 0.7485 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/0.2398, allocations: 111.5 kB / 0.7486 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.104e-05/0.2398, allocations: 24 kB / 0.7487 GB, free: 0.8359 MB / 0.5137 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.0003606/0.2402, allocations: 201.6 kB / 0.7489 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.2404, allocations: 95.44 kB / 0.7489 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009377/0.2497, allocations: 2.613 MB / 0.7515 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.105e-05/0.2497, allocations: 11.94 kB / 0.7515 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.2498, allocations: 3.938 kB / 0.7515 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.729e-05/0.2498, allocations: 0 / 0.7515 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0107/0.2605, allocations: 3.321 MB / 0.7548 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/0.2605, allocations: 7.984 kB / 0.7548 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004914/0.261, allocations: 79.89 kB / 0.7548 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004101/0.2651, allocations: 1.074 MB / 0.7559 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/0.2652, allocations: 12 kB / 0.7559 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01468/0.2799, allocations: 5.781 MB / 0.7615 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2799, allocations: 0 / 0.7615 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01055/0.2904, allocations: 3.212 MB / 0.7647 GB, free: 196 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003343/0.2908, allocations: 111.2 kB / 0.7648 GB, free: 84 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001733/0.2909, allocations: 12 kB / 0.7648 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008589/0.2918, allocations: 71.92 kB / 0.7649 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004775/0.2923, allocations: 152.5 kB / 0.765 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-05/0.2923, allocations: 20 kB / 0.765 GB, free: 15.83 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008105/0.2931, allocations: 0.4951 MB / 0.7655 GB, free: 15.34 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2931, allocations: 0 / 0.7655 GB, free: 15.34 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001116/0.2943, allocations: 295.8 kB / 0.7658 GB, free: 15.05 MB / 0.545 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.0114/0.3057, allocations: 3.765 MB / 0.7695 GB, free: 11.25 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004845/0.3105, allocations: 1.499 MB / 0.7709 GB, free: 9.73 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.3105, allocations: 0 / 0.7709 GB, free: 9.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003141/0.3136, allocations: 1.014 MB / 0.7719 GB, free: 8.711 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000728/0.3144, allocations: 87.23 kB / 0.772 GB, free: 8.621 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02701/0.3414, allocations: 10.48 MB / 0.7823 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00044/0.3418, allocations: 383.2 kB / 0.7826 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003051/0.3421, allocations: 69.12 kB / 0.7827 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004562/0.3426, allocations: 315.3 kB / 0.783 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of SimCode: time 1.082e-06/0.3426, allocations: 3.938 kB / 0.783 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06467/0.4072, allocations: 26.01 MB / 0.8084 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.44/13.85, allocations: 8 kB / 0.8084 GB, free: 3.27 MB / 0.5762 GB " [Timeout remaining time 646] (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: 17.810320446733385] Failed to read output from testmodel.py, exit status != 0: 13.983334806282073 14.240121763 14.078612515 Calling exit ...