Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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: translateModel(OpenIPSL.Tests.FACTS.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test") translateModel(OpenIPSL.Tests.FACTS.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.243/1.243, allocations: 222.9 MB / 239 MB, free: 4.699 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.001303/0.001304, allocations: 192.4 kB / 289.3 MB, free: 2.441 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4164/0.4164, allocations: 78.52 MB / 417.9 MB, free: 3.312 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 68.17 kB / 496.9 MB, free: 6.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1254, allocations: 68.18 MB / 0.5519 GB, free: 2.473 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.2087/0.3341, allocations: 5.519 MB / 0.5573 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002531/0.3367, allocations: 1.436 MB / 0.5587 GB, free: 36.15 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005219/0.3372, allocations: 9.219 kB / 0.5587 GB, free: 36.15 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004538/0.3377, allocations: 131.8 kB / 0.5588 GB, free: 36.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007098/0.3385, allocations: 273.5 kB / 0.5591 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.3397, allocations: 0.5909 MB / 0.5596 GB, free: 35.96 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009736/0.3407, allocations: 1.058 MB / 0.5607 GB, free: 35.91 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003394/0.3411, allocations: 235.8 kB / 0.5609 GB, free: 35.88 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000471/0.3416, allocations: 436.9 kB / 0.5613 GB, free: 35.78 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005301/0.3421, allocations: 0.5256 MB / 0.5618 GB, free: 35.65 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.076e-05/0.3422, allocations: 76.31 kB / 0.5619 GB, free: 35.65 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002266/0.3424, allocations: 143 kB / 0.562 GB, free: 35.64 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.3426, allocations: 209.7 kB / 0.5622 GB, free: 35.59 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002706/0.3428, allocations: 471.9 kB / 0.5627 GB, free: 35.44 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007909/0.3436, allocations: 1.063 MB / 0.5637 GB, free: 35.2 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3436, allocations: 0.5 kB / 0.5637 GB, free: 35.2 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3436, allocations: 2.688 kB / 0.5637 GB, free: 35.2 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.3437, allocations: 2.781 kB / 0.5637 GB, free: 35.2 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.0043/0.348, allocations: 1.757 MB / 0.5654 GB, free: 34.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.348, allocations: 8.531 kB / 0.5654 GB, free: 34.46 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002389/0.3504, allocations: 446.2 kB / 0.5659 GB, free: 34.39 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007254/0.3511, allocations: 0.633 MB / 0.5665 GB, free: 34.06 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000188/0.3513, allocations: 200.7 kB / 0.5667 GB, free: 33.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.749e-05/0.3514, allocations: 53.06 kB / 0.5667 GB, free: 33.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.3527, allocations: 0.7697 MB / 0.5675 GB, free: 33.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.3528, allocations: 0 / 0.5675 GB, free: 33.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.232e-05/0.3528, allocations: 24.75 kB / 0.5675 GB, free: 33.84 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.3528, allocations: 15.16 kB / 0.5675 GB, free: 33.84 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.3541, allocations: 0.6989 MB / 0.5682 GB, free: 33.83 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00377/0.3579, allocations: 2.69 MB / 0.5708 GB, free: 32.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/0.3592, allocations: 1.03 MB / 0.5718 GB, free: 32.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008083/0.36, allocations: 494.1 kB / 0.5723 GB, free: 32.32 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.394e-05/0.3601, allocations: 12.89 kB / 0.5723 GB, free: 32.31 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001094/0.3612, allocations: 0.5929 MB / 0.5729 GB, free: 32.24 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.414e-06/0.3612, allocations: 0.5312 kB / 0.5729 GB, free: 32.24 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.01658/0.3778, allocations: 4.601 MB / 0.5774 GB, free: 31.9 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.3779, allocations: 87.33 kB / 0.5775 GB, free: 31.81 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000787/0.3787, allocations: 0.7087 MB / 0.5782 GB, free: 31.67 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.625e-05/0.3788, allocations: 43.45 kB / 0.5782 GB, free: 31.64 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.3789, allocations: 380.4 kB / 0.5786 GB, free: 31.47 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000178/0.3791, allocations: 227.4 kB / 0.5788 GB, free: 31.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001862/0.3793, allocations: 109.1 kB / 0.5789 GB, free: 31.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.966e-05/0.3794, allocations: 329.3 kB / 0.5792 GB, free: 30.92 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007731/0.3802, allocations: 407.2 kB / 0.5796 GB, free: 30.78 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008849/0.381, allocations: 0.5044 MB / 0.5801 GB, free: 30.53 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001651/0.3827, allocations: 0.9201 MB / 0.581 GB, free: 30.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.3827, allocations: 1.25 kB / 0.581 GB, free: 30.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008049/0.3908, allocations: 2.577 MB / 0.5835 GB, free: 29.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.205e-05/0.3908, allocations: 6.25 kB / 0.5835 GB, free: 29.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/0.3909, allocations: 12.22 kB / 0.5835 GB, free: 29.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003884/0.3948, allocations: 1.123 MB / 0.5846 GB, free: 29.31 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004507/0.3952, allocations: 98.42 kB / 0.5847 GB, free: 29.31 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01419/0.4094, allocations: 6.789 MB / 0.5913 GB, free: 25.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.4105, allocations: 108.6 kB / 0.5915 GB, free: 25.83 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.939e-05/0.4105, allocations: 26.91 kB / 0.5915 GB, free: 25.82 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.0003046/0.4108, allocations: 203.6 kB / 0.5917 GB, free: 25.65 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.411, allocations: 90.31 kB / 0.5918 GB, free: 25.61 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008284/0.4193, allocations: 2.626 MB / 0.5943 GB, free: 25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.4193, allocations: 5.625 kB / 0.5943 GB, free: 25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.4193, allocations: 5.156 kB / 0.5943 GB, free: 24.99 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.572e-05/0.4193, allocations: 5.25 kB / 0.5943 GB, free: 24.99 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009585/0.4289, allocations: 3.824 MB / 0.5981 GB, free: 23.53 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/0.429, allocations: 1.156 kB / 0.5981 GB, free: 23.53 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004103/0.4294, allocations: 82.53 kB / 0.5981 GB, free: 23.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003685/0.4331, allocations: 1.082 MB / 0.5992 GB, free: 23.32 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.419e-05/0.4332, allocations: 13.92 kB / 0.5992 GB, free: 23.31 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01241/0.4456, allocations: 6.023 MB / 0.6051 GB, free: 20.13 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.4456, allocations: 1.969 kB / 0.6051 GB, free: 20.13 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0096/0.4552, allocations: 3.221 MB / 0.6082 GB, free: 19.1 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003177/0.4556, allocations: 179.7 kB / 0.6084 GB, free: 18.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.4557, allocations: 13.44 kB / 0.6084 GB, free: 18.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007626/0.4565, allocations: 74.42 kB / 0.6085 GB, free: 18.89 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004824/0.457, allocations: 147.1 kB / 0.6086 GB, free: 18.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.536e-05/0.457, allocations: 21.25 kB / 0.6087 GB, free: 18.79 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006042/0.4577, allocations: 0.4984 MB / 0.6092 GB, free: 18.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4577, allocations: 0 / 0.6092 GB, free: 18.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009861/0.4587, allocations: 292.5 kB / 0.6094 GB, free: 18.46 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.0001794/0.4588, allocations: 113.9 kB / 0.6095 GB, free: 18.36 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004086/0.4629, allocations: 1.554 MB / 0.6111 GB, free: 17.55 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.463, allocations: 1.375 kB / 0.6111 GB, free: 17.55 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003126/0.4661, allocations: 1.061 MB / 0.6121 GB, free: 16.97 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009698/0.4671, allocations: 83.64 kB / 0.6122 GB, free: 16.91 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003448/0.4705, allocations: 1.907 MB / 0.614 GB, free: 15.15 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.4709, allocations: 0.9708 MB / 0.615 GB, free: 14.15 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002222/0.4711, allocations: 68.34 kB / 0.615 GB, free: 14.08 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.4712, allocations: 55.42 kB / 0.6151 GB, free: 14.03 MB / 430.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4712, allocations: 0 / 0.6151 GB, free: 14.03 MB / 430.1 MB Notification: Performance of Templates: time 0.02025/0.4915, allocations: 16.11 MB / 0.6308 GB, free: 14.11 MB / 446.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.sim & ./OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1)