Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.FACTS.STATCOM_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_FACTS_STATCOM_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.FACTS.STATCOM_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_FACTS_STATCOM_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07638/0.07638, allocations: 12.59 MB / 28.22 MB, free: 0.7734 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 111.4 kB / 31.84 MB, free: 3.906 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.294/1.294, allocations: 205.1 MB / 240.4 MB, free: 12.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 184.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4143/0.4143, allocations: 78.51 MB / 419.3 MB, free: 11.25 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003609/0.003609, allocations: 144 kB / 0.5553 GB, free: 28.75 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1112, allocations: 68.14 MB / 0.6219 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.005934/0.1172, allocations: 5.28 MB / 0.627 GB, free: 10.65 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002356/0.1195, allocations: 1.373 MB / 0.6284 GB, free: 9.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002503/0.1198, allocations: 8 kB / 0.6284 GB, free: 9.262 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003553/0.1202, allocations: 162.6 kB / 0.6285 GB, free: 9.102 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006274/0.1208, allocations: 333.4 kB / 0.6289 GB, free: 8.773 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.1221, allocations: 0.6302 MB / 0.6295 GB, free: 8.148 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001039/0.1232, allocations: 1.062 MB / 0.6305 GB, free: 7.082 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003422/0.1235, allocations: 239.9 kB / 0.6307 GB, free: 6.832 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004303/0.124, allocations: 434.1 kB / 0.6312 GB, free: 6.406 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006459/0.1246, allocations: 0.5327 MB / 0.6317 GB, free: 5.871 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.1247, allocations: 80 kB / 0.6318 GB, free: 5.793 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002787/0.125, allocations: 140 kB / 0.6319 GB, free: 5.656 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001919/0.1252, allocations: 207.1 kB / 0.6321 GB, free: 5.453 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004019/0.1256, allocations: 465.3 kB / 0.6325 GB, free: 4.996 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001154/0.1268, allocations: 1.089 MB / 0.6336 GB, free: 3.902 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1268, allocations: 0 / 0.6336 GB, free: 3.902 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1268, allocations: 0 / 0.6336 GB, free: 3.902 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.1268, allocations: 3.938 kB / 0.6336 GB, free: 3.898 MB / 446.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.004804/0.1316, allocations: 1.791 MB / 0.6353 GB, free: 2.051 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.1317, allocations: 15.98 kB / 0.6354 GB, free: 2.035 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001253/0.1318, allocations: 98.7 kB / 0.6355 GB, free: 1.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002535/0.1344, allocations: 443.1 kB / 0.6359 GB, free: 1.496 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009486/0.1353, allocations: 0.6396 MB / 0.6365 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002458/0.1356, allocations: 197.8 kB / 0.6367 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.269e-05/0.1357, allocations: 56 kB / 0.6367 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.1372, allocations: 0.7719 MB / 0.6375 GB, free: 15.75 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.1372, allocations: 0 / 0.6375 GB, free: 15.75 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.385e-05/0.1373, allocations: 27.92 kB / 0.6375 GB, free: 15.72 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.1373, allocations: 12 kB / 0.6375 GB, free: 15.71 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001534/0.1389, allocations: 0.6961 MB / 0.6382 GB, free: 15.01 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004336/0.1432, allocations: 2.68 MB / 0.6408 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/0.1448, allocations: 1.043 MB / 0.6418 GB, free: 11.03 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009942/0.1459, allocations: 483.2 kB / 0.6423 GB, free: 10.55 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.403e-05/0.1459, allocations: 16.55 kB / 0.6423 GB, free: 10.54 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001204/0.1472, allocations: 0.5958 MB / 0.6429 GB, free: 9.918 MB / 462.1 MB Notification: Performance of pre-optimization done (n=66): time 1.944e-06/0.1472, allocations: 0 / 0.6429 GB, free: 9.918 MB / 462.1 MB Notification: Performance of matching and sorting (n=66): time 0.01864/0.1658, allocations: 4.601 MB / 0.6474 GB, free: 5.285 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/0.1659, allocations: 81.67 kB / 0.6475 GB, free: 5.188 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009646/0.1669, allocations: 0.7196 MB / 0.6482 GB, free: 4.461 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.975e-05/0.1669, allocations: 33.7 kB / 0.6482 GB, free: 4.422 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002942/0.1672, allocations: 385.2 kB / 0.6486 GB, free: 4.039 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000238/0.1675, allocations: 241.8 kB / 0.6488 GB, free: 3.801 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002141/0.1677, allocations: 114.3 kB / 0.6489 GB, free: 3.68 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1679, allocations: 330 kB / 0.6492 GB, free: 3.352 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009371/0.1688, allocations: 401.1 kB / 0.6496 GB, free: 2.961 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/0.1699, allocations: 0.5097 MB / 0.6501 GB, free: 2.41 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001934/0.1718, allocations: 0.916 MB / 0.651 GB, free: 1.453 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.1718, allocations: 0 / 0.651 GB, free: 1.453 MB / 462.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008794/0.1806, allocations: 2.587 MB / 0.6535 GB, free: 14.86 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.1807, allocations: 7.938 kB / 0.6535 GB, free: 14.85 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.1807, allocations: 4 kB / 0.6535 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004117/0.1848, allocations: 1.132 MB / 0.6547 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004479/0.1853, allocations: 95.83 kB / 0.6547 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01591/0.2012, allocations: 6.773 MB / 0.6614 GB, free: 6.691 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009236/0.2021, allocations: 111.6 kB / 0.6615 GB, free: 6.582 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.668e-05/0.2022, allocations: 20 kB / 0.6615 GB, free: 6.562 MB / 478.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.0003176/0.2025, allocations: 209.6 kB / 0.6617 GB, free: 6.348 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.2027, allocations: 103.4 kB / 0.6618 GB, free: 6.246 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008816/0.2115, allocations: 2.623 MB / 0.6643 GB, free: 3.613 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.2115, allocations: 11.94 kB / 0.6644 GB, free: 3.602 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.2115, allocations: 0 / 0.6644 GB, free: 3.602 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.2116, allocations: 3.984 kB / 0.6644 GB, free: 3.598 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01025/0.2218, allocations: 3.82 MB / 0.6681 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/0.2219, allocations: 8 kB / 0.6681 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004321/0.2223, allocations: 79.89 kB / 0.6682 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00391/0.2262, allocations: 1.074 MB / 0.6692 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.186e-05/0.2263, allocations: 12 kB / 0.6692 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01396/0.2403, allocations: 6.033 MB / 0.6751 GB, free: 8.297 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2403, allocations: 0 / 0.6751 GB, free: 8.297 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009911/0.2502, allocations: 3.221 MB / 0.6783 GB, free: 5.055 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003134/0.2506, allocations: 180.4 kB / 0.6784 GB, free: 4.859 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000151/0.2508, allocations: 15.94 kB / 0.6785 GB, free: 4.844 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007664/0.2515, allocations: 79.91 kB / 0.6785 GB, free: 4.766 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004372/0.252, allocations: 140.4 kB / 0.6787 GB, free: 4.629 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.044e-05/0.252, allocations: 23.98 kB / 0.6787 GB, free: 4.605 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006576/0.2527, allocations: 499 kB / 0.6792 GB, free: 4.125 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2527, allocations: 0 / 0.6792 GB, free: 4.125 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008912/0.2536, allocations: 303.7 kB / 0.6795 GB, free: 3.828 MB / 494.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.01027/0.2639, allocations: 3.792 MB / 0.6832 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00432/0.2682, allocations: 1.532 MB / 0.6847 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.2683, allocations: 0 / 0.6847 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003059/0.2713, allocations: 1.072 MB / 0.6857 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006212/0.272, allocations: 80.09 kB / 0.6858 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02645/0.2984, allocations: 10.52 MB / 0.696 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007469/0.2992, allocations: 0.9748 MB / 0.697 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003115/0.2995, allocations: 65.14 kB / 0.6971 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005303/0.3001, allocations: 315.3 kB / 0.6974 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of SimCode: time 6.31e-07/0.3001, allocations: 0 / 0.6974 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2583/0.5584, allocations: 24.52 MB / 0.7213 GB, free: 88.09 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/13.38, allocations: 3.719 kB / 0.7213 GB, free: 88.09 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_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_2_0_0_OpenIPSL_Tests_FACTS_STATCOM_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1)