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.007659/0.007659, allocations: 97.27 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 222.9 MB / 239.4 MB, free: 4.547 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.001404/0.001404, allocations: 188.5 kB / 289.7 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5159/0.5159, allocations: 91.97 MB / 431.8 MB, free: 9.09 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 83.22 kB / 0.5723 GB, free: 33.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.117, allocations: 71.29 MB / 0.6419 GB, free: 4.051 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.00631/0.1233, allocations: 5.256 MB / 0.6471 GB, free: 14.77 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003357/0.1267, allocations: 1.407 MB / 0.6484 GB, free: 13.36 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003677/0.1271, allocations: 11.94 kB / 0.6484 GB, free: 13.35 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004029/0.1275, allocations: 158.6 kB / 0.6486 GB, free: 13.19 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007535/0.1283, allocations: 337.4 kB / 0.6489 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001522/0.1299, allocations: 0.636 MB / 0.6495 GB, free: 12.23 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001261/0.1311, allocations: 1.054 MB / 0.6506 GB, free: 11.17 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003704/0.1315, allocations: 232 kB / 0.6508 GB, free: 10.93 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005325/0.1321, allocations: 446 kB / 0.6512 GB, free: 10.49 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006956/0.1328, allocations: 0.5211 MB / 0.6517 GB, free: 9.969 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001285/0.1329, allocations: 76 kB / 0.6518 GB, free: 9.895 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002959/0.1332, allocations: 144 kB / 0.6519 GB, free: 9.754 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001972/0.1334, allocations: 203.1 kB / 0.6521 GB, free: 9.555 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004515/0.1339, allocations: 473.2 kB / 0.6526 GB, free: 9.09 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001285/0.1352, allocations: 1.097 MB / 0.6536 GB, free: 7.988 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1352, allocations: 0 / 0.6536 GB, free: 7.988 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1352, allocations: 0 / 0.6536 GB, free: 7.988 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.1352, allocations: 0 / 0.6536 GB, free: 7.988 MB / 462.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.005103/0.1403, allocations: 1.787 MB / 0.6554 GB, free: 6.145 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/0.1404, allocations: 8.031 kB / 0.6554 GB, free: 6.137 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001335/0.1405, allocations: 98.7 kB / 0.6555 GB, free: 6.031 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002641/0.1432, allocations: 451 kB / 0.6559 GB, free: 5.59 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.1443, allocations: 0.6358 MB / 0.6565 GB, free: 4.914 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002587/0.1446, allocations: 201.8 kB / 0.6567 GB, free: 4.684 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.1447, allocations: 48 kB / 0.6568 GB, free: 4.637 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.1463, allocations: 0.7758 MB / 0.6575 GB, free: 3.848 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.1463, allocations: 0 / 0.6575 GB, free: 3.848 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.414e-05/0.1464, allocations: 23.94 kB / 0.6576 GB, free: 3.824 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.1464, allocations: 15.94 kB / 0.6576 GB, free: 3.809 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001592/0.148, allocations: 0.6961 MB / 0.6583 GB, free: 3.113 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004684/0.1527, allocations: 2.68 MB / 0.6609 GB, free: 284 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/0.1545, allocations: 1.034 MB / 0.6619 GB, free: 15.13 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001055/0.1556, allocations: 491.1 kB / 0.6624 GB, free: 14.64 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.687e-05/0.1557, allocations: 12.55 kB / 0.6624 GB, free: 14.63 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001269/0.1569, allocations: 0.592 MB / 0.6629 GB, free: 14.02 MB / 478.1 MB Notification: Performance of pre-optimization done (n=66): time 1.115e-05/0.157, allocations: 0 / 0.6629 GB, free: 14.02 MB / 478.1 MB Notification: Performance of matching and sorting (n=66): time 0.01917/0.1761, allocations: 4.604 MB / 0.6674 GB, free: 9.383 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.1762, allocations: 85.67 kB / 0.6675 GB, free: 9.281 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.1772, allocations: 0.7119 MB / 0.6682 GB, free: 8.555 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.275e-05/0.1773, allocations: 37.7 kB / 0.6683 GB, free: 8.512 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002958/0.1776, allocations: 385.2 kB / 0.6686 GB, free: 8.133 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002592/0.1779, allocations: 241.9 kB / 0.6689 GB, free: 7.895 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002196/0.1781, allocations: 102.3 kB / 0.6689 GB, free: 7.789 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1783, allocations: 338 kB / 0.6693 GB, free: 7.453 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009633/0.1792, allocations: 397.1 kB / 0.6696 GB, free: 7.066 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/0.1803, allocations: 0.5059 MB / 0.6701 GB, free: 6.52 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001992/0.1823, allocations: 0.9237 MB / 0.671 GB, free: 5.551 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1823, allocations: 0 / 0.671 GB, free: 5.551 MB / 478.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.009061/0.1914, allocations: 2.598 MB / 0.6736 GB, free: 2.945 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.1914, allocations: 11.94 kB / 0.6736 GB, free: 2.934 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.1914, allocations: 7.938 kB / 0.6736 GB, free: 2.926 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004264/0.1957, allocations: 1.113 MB / 0.6747 GB, free: 1.812 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004719/0.1962, allocations: 99.81 kB / 0.6748 GB, free: 1.715 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01693/0.2131, allocations: 6.773 MB / 0.6814 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/0.2142, allocations: 115.5 kB / 0.6815 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.669e-05/0.2143, allocations: 23.98 kB / 0.6815 GB, free: 10.66 MB / 494.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.000372/0.2147, allocations: 201.6 kB / 0.6817 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.2148, allocations: 91.44 kB / 0.6818 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00913/0.224, allocations: 2.634 MB / 0.6844 GB, free: 7.711 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/0.224, allocations: 11.94 kB / 0.6844 GB, free: 7.699 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.224, allocations: 0 / 0.6844 GB, free: 7.699 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.2241, allocations: 3.984 kB / 0.6844 GB, free: 7.695 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01068/0.2347, allocations: 3.832 MB / 0.6881 GB, free: 3.734 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/0.2348, allocations: 0 / 0.6881 GB, free: 3.734 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000539/0.2354, allocations: 83.89 kB / 0.6882 GB, free: 3.652 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004507/0.2399, allocations: 1.074 MB / 0.6893 GB, free: 2.574 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001309/0.24, allocations: 15.98 kB / 0.6893 GB, free: 2.559 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01584/0.2559, allocations: 6.009 MB / 0.6952 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.2559, allocations: 4 kB / 0.6952 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01048/0.2664, allocations: 3.221 MB / 0.6983 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003727/0.2668, allocations: 188.3 kB / 0.6985 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001987/0.267, allocations: 12 kB / 0.6985 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008279/0.2679, allocations: 79.91 kB / 0.6986 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004901/0.2684, allocations: 144.4 kB / 0.6987 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.334e-05/0.2685, allocations: 16 kB / 0.6987 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007194/0.2692, allocations: 0.4951 MB / 0.6992 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2692, allocations: 0 / 0.6992 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009792/0.2702, allocations: 291.8 kB / 0.6995 GB, free: 7.93 MB / 0.4981 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.01066/0.2808, allocations: 3.796 MB / 0.7032 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00456/0.2854, allocations: 1.541 MB / 0.7047 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.2855, allocations: 0 / 0.7047 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003231/0.2887, allocations: 1.072 MB / 0.7057 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007832/0.2895, allocations: 79.3 kB / 0.7058 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02768/0.3172, allocations: 10.52 MB / 0.7161 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007405/0.318, allocations: 0.9787 MB / 0.717 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003169/0.3183, allocations: 65.14 kB / 0.7171 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005529/0.3189, allocations: 319.2 kB / 0.7174 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of SimCode: time 1.022e-06/0.3189, allocations: 0 / 0.7174 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06276/0.3817, allocations: 24.53 MB / 0.7414 GB, free: 12.84 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.94/14.32, allocations: 3.938 kB / 0.7414 GB, free: 12.84 MB / 0.545 GB (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)