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.005326/0.005333, allocations: 99.67 kB / 15.73 MB, free: 6.008 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.321/1.321, allocations: 222.9 MB / 239.4 MB, free: 4.508 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.00135/0.00135, allocations: 184.5 kB / 289.7 MB, free: 2.238 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.89 MB / 431.8 MB, free: 9.145 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 85.27 kB / 0.5722 GB, free: 33.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.12, allocations: 71.28 MB / 0.6418 GB, free: 4.109 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.005465/0.1255, allocations: 5.244 MB / 0.6469 GB, free: 14.84 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002337/0.1279, allocations: 1.415 MB / 0.6483 GB, free: 13.42 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002859/0.1282, allocations: 8 kB / 0.6483 GB, free: 13.41 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003909/0.1286, allocations: 162.5 kB / 0.6485 GB, free: 13.25 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006618/0.1293, allocations: 369.5 kB / 0.6488 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001286/0.1306, allocations: 0.636 MB / 0.6495 GB, free: 12.26 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001008/0.1316, allocations: 1.058 MB / 0.6505 GB, free: 11.2 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003211/0.1319, allocations: 228 kB / 0.6507 GB, free: 10.96 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004534/0.1324, allocations: 446.1 kB / 0.6511 GB, free: 10.52 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005844/0.133, allocations: 0.525 MB / 0.6517 GB, free: 9.996 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.1331, allocations: 76 kB / 0.6517 GB, free: 9.922 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00025/0.1333, allocations: 139.9 kB / 0.6519 GB, free: 9.785 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001606/0.1335, allocations: 211 kB / 0.6521 GB, free: 9.578 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003604/0.1339, allocations: 469.2 kB / 0.6525 GB, free: 9.117 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.1349, allocations: 1.093 MB / 0.6536 GB, free: 8.02 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1349, allocations: 0 / 0.6536 GB, free: 8.02 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.135, allocations: 0 / 0.6536 GB, free: 8.02 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.61e-05/0.135, allocations: 0 / 0.6536 GB, free: 8.02 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.004681/0.1397, allocations: 1.783 MB / 0.6553 GB, free: 6.18 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.1397, allocations: 8.031 kB / 0.6553 GB, free: 6.172 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001177/0.1398, allocations: 102.7 kB / 0.6554 GB, free: 6.062 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002475/0.1423, allocations: 455 kB / 0.6559 GB, free: 5.617 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009478/0.1433, allocations: 0.6319 MB / 0.6565 GB, free: 4.945 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002298/0.1435, allocations: 209.7 kB / 0.6567 GB, free: 4.707 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.699e-05/0.1436, allocations: 55.94 kB / 0.6567 GB, free: 4.652 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.1451, allocations: 0.7681 MB / 0.6575 GB, free: 3.871 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.1451, allocations: 0 / 0.6575 GB, free: 3.871 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.314e-05/0.1452, allocations: 23.94 kB / 0.6575 GB, free: 3.848 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.1452, allocations: 19.94 kB / 0.6575 GB, free: 3.828 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00145/0.1466, allocations: 0.6961 MB / 0.6582 GB, free: 3.133 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004091/0.1507, allocations: 2.68 MB / 0.6608 GB, free: 304 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.1522, allocations: 1.037 MB / 0.6618 GB, free: 15.15 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009136/0.1531, allocations: 483.2 kB / 0.6623 GB, free: 14.67 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.69e-05/0.1532, allocations: 8.562 kB / 0.6623 GB, free: 14.66 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001133/0.1543, allocations: 0.597 MB / 0.6629 GB, free: 14.05 MB / 478.1 MB Notification: Performance of pre-optimization done (n=66): time 1.813e-06/0.1544, allocations: 4 kB / 0.6629 GB, free: 14.04 MB / 478.1 MB Notification: Performance of matching and sorting (n=66): time 0.01777/0.1721, allocations: 4.605 MB / 0.6674 GB, free: 9.402 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.1722, allocations: 81.67 kB / 0.6675 GB, free: 9.305 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00089/0.1731, allocations: 0.7119 MB / 0.6682 GB, free: 8.578 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.832e-05/0.1732, allocations: 37.69 kB / 0.6682 GB, free: 8.535 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000264/0.1735, allocations: 385.2 kB / 0.6686 GB, free: 8.156 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002488/0.1737, allocations: 245.8 kB / 0.6688 GB, free: 7.914 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000251/0.174, allocations: 106.3 kB / 0.6689 GB, free: 7.805 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1741, allocations: 330 kB / 0.6692 GB, free: 7.477 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000889/0.175, allocations: 405.1 kB / 0.6696 GB, free: 7.082 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009345/0.176, allocations: 0.5058 MB / 0.6701 GB, free: 6.535 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001811/0.1778, allocations: 0.9237 MB / 0.671 GB, free: 5.566 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.1778, allocations: 0 / 0.671 GB, free: 5.566 MB / 478.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00834/0.1861, allocations: 2.587 MB / 0.6735 GB, free: 2.973 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.1862, allocations: 11.92 kB / 0.6735 GB, free: 2.961 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.1862, allocations: 4 kB / 0.6735 GB, free: 2.957 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00391/0.1901, allocations: 1.117 MB / 0.6746 GB, free: 1.84 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004332/0.1906, allocations: 103.8 kB / 0.6747 GB, free: 1.738 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0149/0.2055, allocations: 6.763 MB / 0.6813 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009724/0.2065, allocations: 115.5 kB / 0.6814 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.264e-05/0.2066, allocations: 28 kB / 0.6815 GB, free: 10.68 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.0003165/0.2069, allocations: 205.6 kB / 0.6817 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.207, allocations: 91.44 kB / 0.6817 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008281/0.2153, allocations: 2.63 MB / 0.6843 GB, free: 7.738 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.2153, allocations: 11.94 kB / 0.6843 GB, free: 7.727 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.2153, allocations: 0 / 0.6843 GB, free: 7.727 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.2154, allocations: 3.984 kB / 0.6843 GB, free: 7.723 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009312/0.2247, allocations: 3.828 MB / 0.6881 GB, free: 3.766 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.2247, allocations: 0 / 0.6881 GB, free: 3.766 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003924/0.2251, allocations: 79.89 kB / 0.6881 GB, free: 3.688 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003641/0.2287, allocations: 1.074 MB / 0.6892 GB, free: 2.609 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.518e-05/0.2288, allocations: 20 kB / 0.6892 GB, free: 2.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01274/0.2416, allocations: 6.016 MB / 0.6951 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2416, allocations: 0 / 0.6951 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009336/0.2509, allocations: 3.229 MB / 0.6982 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003714/0.2513, allocations: 180.3 kB / 0.6984 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.904e-05/0.2514, allocations: 15.98 kB / 0.6984 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007328/0.2522, allocations: 75.92 kB / 0.6985 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004089/0.2526, allocations: 148.3 kB / 0.6986 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.437e-05/0.2527, allocations: 19.94 kB / 0.6987 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006015/0.2533, allocations: 0.4951 MB / 0.6991 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2533, allocations: 0 / 0.6991 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008735/0.2542, allocations: 295.8 kB / 0.6994 GB, free: 7.949 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.009529/0.2637, allocations: 3.784 MB / 0.7031 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004081/0.2678, allocations: 1.544 MB / 0.7046 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2678, allocations: 0 / 0.7046 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00279/0.2706, allocations: 1.064 MB / 0.7057 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006423/0.2713, allocations: 83.3 kB / 0.7057 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02452/0.2958, allocations: 10.52 MB / 0.716 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005141/0.2964, allocations: 0.9748 MB / 0.717 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002386/0.2966, allocations: 69.12 kB / 0.717 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003642/0.297, allocations: 319.3 kB / 0.7173 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of SimCode: time 9.42e-07/0.297, allocations: 0 / 0.7173 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04963/0.3466, allocations: 24.52 MB / 0.7413 GB, free: 12.87 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.34/13.68, allocations: 8 kB / 0.7413 GB, free: 12.86 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)