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.0008344/0.0008344, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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 0.8557/0.8557, allocations: 177.1 MB / 199.4 MB, free: 5.945 MB / 186.7 MB " [Timeout remaining time 179] 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.0009966/0.0009966, allocations: 156.6 kB / 256 MB, free: 13.35 MB / 250.7 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.2578/0.2578, allocations: 80.37 MB / 392.7 MB, free: 2.363 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.2.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="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 1.513e-06/1.513e-06, allocations: 0 / 0.5549 GB, free: 12.64 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/2.007e-05, allocations: 2.281 kB / 0.5549 GB, free: 12.63 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.004018/0.004038, allocations: 4.712 MB / 0.5595 GB, free: 7.895 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002093/0.006131, allocations: 1.391 MB / 0.5609 GB, free: 6.5 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003199/0.006451, allocations: 11.94 kB / 0.5609 GB, free: 6.488 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003216/0.006773, allocations: 166.5 kB / 0.561 GB, free: 6.324 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005377/0.00731, allocations: 381.2 kB / 0.5614 GB, free: 5.949 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008838/0.008194, allocations: 0.5705 MB / 0.562 GB, free: 5.383 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007353/0.008929, allocations: 1.089 MB / 0.563 GB, free: 4.289 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002364/0.009166, allocations: 156.3 kB / 0.5632 GB, free: 4.121 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000539/0.009705, allocations: 0.6116 MB / 0.5638 GB, free: 3.508 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004064/0.01011, allocations: 430.6 kB / 0.5642 GB, free: 3.086 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.725e-05/0.01019, allocations: 76 kB / 0.5643 GB, free: 3.012 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001916/0.01038, allocations: 143.9 kB / 0.5644 GB, free: 2.871 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.01049, allocations: 203 kB / 0.5646 GB, free: 2.672 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.01068, allocations: 315 kB / 0.5649 GB, free: 2.363 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.01174, allocations: 1.102 MB / 0.566 GB, free: 1.258 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.01174, allocations: 0 / 0.566 GB, free: 1.258 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.01174, allocations: 0 / 0.566 GB, free: 1.258 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.01175, allocations: 0 / 0.566 GB, free: 1.258 MB / 490.7 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.002718/0.01447, allocations: 1.803 MB / 0.5677 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.01451, allocations: 8.031 kB / 0.5677 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.121e-05/0.01459, allocations: 98.7 kB / 0.5678 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001252/0.01584, allocations: 451 kB / 0.5683 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006904/0.01653, allocations: 0.5663 MB / 0.5688 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001735/0.0167, allocations: 278.9 kB / 0.5691 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.135e-05/0.01677, allocations: 55.94 kB / 0.5691 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009397/0.01771, allocations: 0.7719 MB / 0.5699 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.01773, allocations: 0 / 0.5699 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.403e-05/0.01777, allocations: 20 kB / 0.5699 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.01778, allocations: 12 kB / 0.5699 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009414/0.01872, allocations: 0.7038 MB / 0.5706 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002841/0.02156, allocations: 1.969 MB / 0.5725 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008542/0.02241, allocations: 0.6016 MB / 0.5731 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005558/0.02297, allocations: 439.4 kB / 0.5735 GB, free: 9.289 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.779e-05/0.02303, allocations: 12.64 kB / 0.5735 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007275/0.02376, allocations: 0.5974 MB / 0.5741 GB, free: 8.656 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=66): time 2.284e-06/0.02376, allocations: 0 / 0.5741 GB, free: 8.656 MB / 0.4948 GB Notification: Performance of matching and sorting (n=66): time 0.009201/0.03296, allocations: 4.512 MB / 0.5785 GB, free: 4.125 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.033, allocations: 85.77 kB / 0.5786 GB, free: 4.023 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008371/0.03384, allocations: 0.7003 MB / 0.5793 GB, free: 3.312 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.786e-05/0.03389, allocations: 45.73 kB / 0.5793 GB, free: 3.262 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.03407, allocations: 381.2 kB / 0.5797 GB, free: 2.883 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.03423, allocations: 241.9 kB / 0.5799 GB, free: 2.645 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.03436, allocations: 102.3 kB / 0.58 GB, free: 2.539 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.383e-05/0.03443, allocations: 333.9 kB / 0.5804 GB, free: 2.207 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005395/0.03497, allocations: 409.1 kB / 0.5807 GB, free: 1.805 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005762/0.03555, allocations: 0.5098 MB / 0.5812 GB, free: 1.254 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.03666, allocations: 0.9139 MB / 0.5821 GB, free: 312 kB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.03667, allocations: 0 / 0.5821 GB, free: 312 kB / 0.4948 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.004402/0.04107, allocations: 2.577 MB / 0.5846 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.04109, allocations: 8 kB / 0.5847 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.0411, allocations: 4 kB / 0.5847 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002107/0.04321, allocations: 1.117 MB / 0.5857 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.04343, allocations: 103.8 kB / 0.5858 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009114/0.05254, allocations: 6.534 MB / 0.5922 GB, free: 5.828 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005378/0.05308, allocations: 123.5 kB / 0.5923 GB, free: 5.707 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.714e-05/0.05312, allocations: 24 kB / 0.5924 GB, free: 5.684 MB / 0.5105 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.0002586/0.05338, allocations: 201.6 kB / 0.5926 GB, free: 5.477 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.05348, allocations: 91.39 kB / 0.5926 GB, free: 5.387 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004736/0.05822, allocations: 2.605 MB / 0.5952 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.05822, allocations: 8 kB / 0.5952 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.05823, allocations: 3.938 kB / 0.5952 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.05823, allocations: 3.984 kB / 0.5952 GB, free: 2.746 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1972/0.2555, allocations: 3.327 MB / 0.5985 GB, free: 92.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.2555, allocations: 0 / 0.5985 GB, free: 92.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002823/0.2557, allocations: 83.44 kB / 0.5985 GB, free: 92.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001991/0.2577, allocations: 1.074 MB / 0.5996 GB, free: 92.13 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.261e-05/0.2578, allocations: 13.03 kB / 0.5996 GB, free: 92.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007075/0.2649, allocations: 5.774 MB / 0.6052 GB, free: 89.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2649, allocations: 0 / 0.6052 GB, free: 89.87 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0049/0.2698, allocations: 3.214 MB / 0.6084 GB, free: 89.02 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001694/0.2699, allocations: 98.64 kB / 0.6085 GB, free: 88.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.479e-05/0.27, allocations: 12.27 kB / 0.6085 GB, free: 88.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003993/0.2704, allocations: 74.42 kB / 0.6086 GB, free: 88.95 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003204/0.2707, allocations: 152.8 kB / 0.6087 GB, free: 88.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.284e-05/0.2708, allocations: 22.25 kB / 0.6087 GB, free: 88.91 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004835/0.2712, allocations: 0.4938 MB / 0.6092 GB, free: 88.69 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2712, allocations: 0 / 0.6092 GB, free: 88.69 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007027/0.2719, allocations: 300.9 kB / 0.6095 GB, free: 88.65 MB / 0.5105 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.005604/0.2776, allocations: 3.768 MB / 0.6132 GB, free: 87.22 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002508/0.2801, allocations: 1.483 MB / 0.6146 GB, free: 86.69 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2801, allocations: 1.375 kB / 0.6146 GB, free: 86.69 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001624/0.2817, allocations: 1.016 MB / 0.6156 GB, free: 86.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000499/0.2822, allocations: 77.75 kB / 0.6157 GB, free: 86.25 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01617/0.2984, allocations: 10.42 MB / 0.6259 GB, free: 82.13 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.2987, allocations: 383.8 kB / 0.6262 GB, free: 82.02 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000229/0.299, allocations: 65.77 kB / 0.6263 GB, free: 82.01 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002814/0.2992, allocations: 323.3 kB / 0.6266 GB, free: 81.76 MB / 0.5105 GB Notification: Performance of SimCode: time 1.503e-06/0.2992, allocations: 4 kB / 0.6266 GB, free: 81.76 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03828/0.3375, allocations: 26.25 MB / 0.6522 GB, free: 65.45 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.685/8.022, allocations: 0 / 0.6522 GB, free: 65.45 MB / 0.5105 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_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: 10.250639191828668] Failed to read output from testmodel.py, exit status != 0: 8.118010833859444 8.125521972 8.11246201 Calling exit ...