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.001291/0.001291, 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.498/1.498, allocations: 230.6 MB / 252.7 MB, free: 14.27 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.001573/0.001573, allocations: 207.3 kB / 309.2 MB, free: 3.141 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.6439/0.6439, allocations: 107.2 MB / 472.8 MB, free: 29.81 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.003478/0.003478, allocations: 83.23 kB / 0.633 GB, free: 29.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1722, allocations: 80.15 MB / 0.7113 GB, free: 7.742 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.006436/0.1786, allocations: 4.709 MB / 0.7159 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00344/0.1821, allocations: 1.396 MB / 0.7172 GB, free: 1.609 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000553/0.1826, allocations: 7.938 kB / 0.7172 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004409/0.1831, allocations: 166.5 kB / 0.7174 GB, free: 1.438 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000864/0.1839, allocations: 365.5 kB / 0.7178 GB, free: 1.078 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001544/0.1855, allocations: 0.5719 MB / 0.7183 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001353/0.1868, allocations: 1.074 MB / 0.7194 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000315/0.1872, allocations: 148.6 kB / 0.7195 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006069/0.1878, allocations: 462 kB / 0.7199 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006792/0.1884, allocations: 497.5 kB / 0.7204 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.1886, allocations: 76 kB / 0.7205 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003119/0.1889, allocations: 136 kB / 0.7206 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002116/0.1891, allocations: 211 kB / 0.7208 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00037/0.1895, allocations: 377.9 kB / 0.7212 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001281/0.1907, allocations: 1.097 MB / 0.7222 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1907, allocations: 0 / 0.7222 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.492e-06/0.1907, allocations: 3.938 kB / 0.7223 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.681e-05/0.1908, allocations: 0 / 0.7223 GB, free: 12.44 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.005404/0.1962, allocations: 1.811 MB / 0.724 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.1962, allocations: 12.03 kB / 0.724 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001422/0.1964, allocations: 98.69 kB / 0.7241 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002778/0.1991, allocations: 447.1 kB / 0.7246 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.2003, allocations: 0.5662 MB / 0.7251 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003383/0.2006, allocations: 282.9 kB / 0.7254 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.2007, allocations: 56 kB / 0.7254 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/0.2024, allocations: 0.7719 MB / 0.7262 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.2024, allocations: 0 / 0.7262 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.345e-05/0.2025, allocations: 27.94 kB / 0.7262 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.2025, allocations: 12 kB / 0.7262 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001644/0.2042, allocations: 0.6883 MB / 0.7269 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004607/0.2088, allocations: 1.966 MB / 0.7288 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/0.2103, allocations: 0.6116 MB / 0.7294 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001046/0.2113, allocations: 449.5 kB / 0.7298 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.076e-05/0.2114, allocations: 8.656 kB / 0.7298 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001287/0.2127, allocations: 0.5973 MB / 0.7304 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=66): time 2.535e-06/0.2127, allocations: 0 / 0.7304 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66): time 0.01942/0.2321, allocations: 4.505 MB / 0.7348 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.74e-05/0.2322, allocations: 85.77 kB / 0.7349 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.2333, allocations: 0.7157 MB / 0.7356 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001264/0.2335, allocations: 41.73 kB / 0.7357 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003325/0.2338, allocations: 389.2 kB / 0.736 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003357/0.2341, allocations: 241.9 kB / 0.7363 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002357/0.2344, allocations: 102.3 kB / 0.7363 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.2345, allocations: 334 kB / 0.7367 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/0.2355, allocations: 401.1 kB / 0.7371 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/0.2366, allocations: 0.5098 MB / 0.7375 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002094/0.2387, allocations: 0.9139 MB / 0.7384 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.2387, allocations: 0 / 0.7384 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00921/0.2479, allocations: 2.577 MB / 0.741 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/0.248, allocations: 7.938 kB / 0.741 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.248, allocations: 4 kB / 0.741 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004331/0.2523, allocations: 1.121 MB / 0.7421 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005265/0.2528, allocations: 99.83 kB / 0.7422 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01763/0.2705, allocations: 6.52 MB / 0.7485 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/0.2715, allocations: 119.5 kB / 0.7486 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.2716, allocations: 20 kB / 0.7487 GB, free: 0.8672 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.0004109/0.272, allocations: 205.6 kB / 0.7489 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002285/0.2723, allocations: 91.44 kB / 0.7489 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009325/0.2816, allocations: 2.609 MB / 0.7515 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.031e-05/0.2816, allocations: 11.94 kB / 0.7515 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.2816, allocations: 0 / 0.7515 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.681e-05/0.2816, allocations: 3.984 kB / 0.7515 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01094/0.2926, allocations: 3.333 MB / 0.7548 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/0.2926, allocations: 0 / 0.7548 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004978/0.2931, allocations: 79.89 kB / 0.7548 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004197/0.2973, allocations: 1.078 MB / 0.7559 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001354/0.2974, allocations: 12 kB / 0.7559 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01497/0.3124, allocations: 5.785 MB / 0.7616 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.3124, allocations: 3.938 kB / 0.7616 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01041/0.3228, allocations: 3.216 MB / 0.7647 GB, free: 212 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003291/0.3231, allocations: 99.28 kB / 0.7648 GB, free: 112 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002022/0.3233, allocations: 16 kB / 0.7648 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008886/0.3242, allocations: 75.91 kB / 0.7649 GB, free: 20 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005026/0.3247, allocations: 144.4 kB / 0.765 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.952e-05/0.3248, allocations: 23.98 kB / 0.765 GB, free: 15.86 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008023/0.3256, allocations: 0.4912 MB / 0.7655 GB, free: 15.37 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3256, allocations: 0 / 0.7655 GB, free: 15.37 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00107/0.3266, allocations: 299.8 kB / 0.7658 GB, free: 15.08 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.01101/0.3377, allocations: 3.767 MB / 0.7695 GB, free: 11.27 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004759/0.3424, allocations: 1.492 MB / 0.7709 GB, free: 9.762 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.3424, allocations: 0 / 0.7709 GB, free: 9.762 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003206/0.3456, allocations: 1.022 MB / 0.7719 GB, free: 8.734 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007695/0.3464, allocations: 75.5 kB / 0.772 GB, free: 8.656 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02835/0.3747, allocations: 10.49 MB / 0.7822 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004884/0.3752, allocations: 383.2 kB / 0.7826 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003173/0.3755, allocations: 65.12 kB / 0.7827 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005328/0.3761, allocations: 319.3 kB / 0.783 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of SimCode: time 1.172e-06/0.3761, allocations: 0 / 0.783 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0703/0.4464, allocations: 26.01 MB / 0.8084 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.59/14.03, allocations: 9.203 kB / 0.8084 GB, free: 3.297 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 & python3 -m fmpy simulate --output-file OpenIPSL_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_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.943283032160252] Failed to read output from testmodel.py, exit status != 0: 14.16697979485616 14.409322706 14.216008825 Calling exit ...