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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 222.9 MB / 239.2 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 200.3 kB / 289.6 MB, free: 2.324 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5061/0.5061, allocations: 91.89 MB / 431.6 MB, free: 9.293 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002239/0.002239, allocations: 83.86 kB / 0.502 GB, free: 7.668 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4117/0.4139, allocations: 71.27 MB / 0.5716 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.004545/0.4185, allocations: 5.257 MB / 0.5767 GB, free: 33.62 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002095/0.4206, allocations: 1.408 MB / 0.5781 GB, free: 32.75 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002801/0.4209, allocations: 6.719 kB / 0.5781 GB, free: 32.75 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003434/0.4213, allocations: 157 kB / 0.5782 GB, free: 32.67 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005423/0.4218, allocations: 338.8 kB / 0.5786 GB, free: 32.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.4229, allocations: 0.6342 MB / 0.5792 GB, free: 32.08 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000685/0.4236, allocations: 1.054 MB / 0.5802 GB, free: 31.54 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002829/0.4239, allocations: 223.9 kB / 0.5804 GB, free: 31.46 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000303/0.4242, allocations: 436.5 kB / 0.5808 GB, free: 31.24 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004475/0.4247, allocations: 0.5359 MB / 0.5814 GB, free: 30.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.397e-05/0.4248, allocations: 77.47 kB / 0.5814 GB, free: 30.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002201/0.425, allocations: 139.8 kB / 0.5816 GB, free: 30.96 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.4252, allocations: 213.3 kB / 0.5818 GB, free: 30.81 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002682/0.4254, allocations: 471.1 kB / 0.5822 GB, free: 30.51 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007027/0.4261, allocations: 1.068 MB / 0.5833 GB, free: 30.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4262, allocations: 0 / 0.5833 GB, free: 30.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.4262, allocations: 0 / 0.5833 GB, free: 30.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.4262, allocations: 0 / 0.5833 GB, free: 30.02 MB / 430.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.00452/0.4307, allocations: 1.766 MB / 0.585 GB, free: 29.1 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.4308, allocations: 8.75 kB / 0.585 GB, free: 29.1 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001053/0.4309, allocations: 95.27 kB / 0.5851 GB, free: 29.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002524/0.4334, allocations: 443.4 kB / 0.5855 GB, free: 28.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007165/0.4341, allocations: 0.6305 MB / 0.5861 GB, free: 28.47 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001915/0.4343, allocations: 199.2 kB / 0.5863 GB, free: 28.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.095e-05/0.4344, allocations: 54.31 kB / 0.5864 GB, free: 28.28 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.4358, allocations: 0.7728 MB / 0.5871 GB, free: 27.97 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.4359, allocations: 5.125 kB / 0.5871 GB, free: 27.97 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.6e-05/0.4359, allocations: 24.5 kB / 0.5871 GB, free: 27.95 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.436, allocations: 12.56 kB / 0.5872 GB, free: 27.95 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/0.4374, allocations: 0.6972 MB / 0.5878 GB, free: 27.73 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003814/0.4412, allocations: 2.678 MB / 0.5905 GB, free: 26.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/0.4427, allocations: 1.038 MB / 0.5915 GB, free: 25.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009408/0.4436, allocations: 486.6 kB / 0.5919 GB, free: 25.12 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.409e-05/0.4437, allocations: 11.86 kB / 0.5919 GB, free: 25.12 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001118/0.4448, allocations: 0.5925 MB / 0.5925 GB, free: 24.89 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.314e-06/0.4448, allocations: 0 / 0.5925 GB, free: 24.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.01905/0.4639, allocations: 4.603 MB / 0.597 GB, free: 23.97 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.464, allocations: 84.77 kB / 0.5971 GB, free: 23.88 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009662/0.4649, allocations: 0.7082 MB / 0.5978 GB, free: 23.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.159e-05/0.465, allocations: 41.27 kB / 0.5978 GB, free: 23.53 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002344/0.4653, allocations: 380.4 kB / 0.5982 GB, free: 23.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002186/0.4655, allocations: 223.6 kB / 0.5984 GB, free: 23.05 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000214/0.4657, allocations: 109.6 kB / 0.5985 GB, free: 22.99 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.666e-05/0.4658, allocations: 331.7 kB / 0.5988 GB, free: 22.67 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009385/0.4667, allocations: 407.8 kB / 0.5992 GB, free: 22.53 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/0.4678, allocations: 0.4998 MB / 0.5997 GB, free: 22.28 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001876/0.4697, allocations: 0.9236 MB / 0.6006 GB, free: 21.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.4697, allocations: 5.031 kB / 0.6006 GB, free: 21.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.009005/0.4787, allocations: 2.581 MB / 0.6031 GB, free: 21.21 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.4787, allocations: 10.34 kB / 0.6031 GB, free: 21.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.4788, allocations: 4.453 kB / 0.6031 GB, free: 21.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004163/0.4829, allocations: 1.121 MB / 0.6042 GB, free: 21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004788/0.4834, allocations: 98.89 kB / 0.6043 GB, free: 20.99 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01524/0.4987, allocations: 6.79 MB / 0.611 GB, free: 17.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/0.4997, allocations: 112.9 kB / 0.6111 GB, free: 17.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.636e-05/0.4998, allocations: 27.48 kB / 0.6111 GB, free: 17.46 MB / 430.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.0002893/0.5001, allocations: 199.4 kB / 0.6113 GB, free: 17.29 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.5002, allocations: 93.2 kB / 0.6114 GB, free: 17.24 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009042/0.5093, allocations: 2.62 MB / 0.6139 GB, free: 16.61 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.5093, allocations: 10.5 kB / 0.6139 GB, free: 16.61 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.5093, allocations: 1.312 kB / 0.6139 GB, free: 16.61 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.472e-05/0.5093, allocations: 3.281 kB / 0.6139 GB, free: 16.61 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009853/0.5192, allocations: 3.838 MB / 0.6177 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.5192, allocations: 0 / 0.6177 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004321/0.5197, allocations: 80.27 kB / 0.6178 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003867/0.5236, allocations: 1.084 MB / 0.6188 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.309e-05/0.5236, allocations: 19.94 kB / 0.6189 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01217/0.5358, allocations: 6.016 MB / 0.6247 GB, free: 7.254 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.5358, allocations: 4 kB / 0.6247 GB, free: 7.25 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009134/0.545, allocations: 3.22 MB / 0.6279 GB, free: 4.004 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002541/0.5453, allocations: 179.8 kB / 0.628 GB, free: 3.809 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001458/0.5454, allocations: 11.94 kB / 0.6281 GB, free: 3.797 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008129/0.5462, allocations: 79.91 kB / 0.6281 GB, free: 3.719 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003526/0.5466, allocations: 144.4 kB / 0.6283 GB, free: 3.578 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.973e-05/0.5467, allocations: 27.98 kB / 0.6283 GB, free: 3.551 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005471/0.5472, allocations: 499 kB / 0.6288 GB, free: 3.066 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5472, allocations: 0 / 0.6288 GB, free: 3.066 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008823/0.5481, allocations: 295.7 kB / 0.6291 GB, free: 2.777 MB / 430.1 MB 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.009541/0.5577, allocations: 3.776 MB / 0.6327 GB, free: 14.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004661/0.5623, allocations: 1.564 MB / 0.6343 GB, free: 13.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.5624, allocations: 4 kB / 0.6343 GB, free: 13.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003139/0.5655, allocations: 1.064 MB / 0.6353 GB, free: 12.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007408/0.5663, allocations: 82.47 kB / 0.6354 GB, free: 12.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02655/0.5928, allocations: 10.8 MB / 0.6459 GB, free: 1.148 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006312/0.5935, allocations: 0.9748 MB / 0.6469 GB, free: 152 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002761/0.5938, allocations: 69.12 kB / 0.647 GB, free: 80 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004489/0.5942, allocations: 315.4 kB / 0.6473 GB, free: 15.77 MB / 462.1 MB Notification: Performance of SimCode: time 8.41e-07/0.5943, allocations: 0 / 0.6473 GB, free: 15.77 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05703/0.6513, allocations: 24.22 MB / 0.6709 GB, free: 7.668 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.79, allocations: 8.812 kB / 0.6709 GB, free: 7.664 MB / 478.1 MB (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)