Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_release_OpenIPSL.Tests.FACTS.STATCOM_Test") translateModel(OpenIPSL.Tests.FACTS.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000977/0.0009771, allocations: 177.6 kB / 15.42 MB, free: 6.211 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 239 MB, free: 1.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007356/0.0007355, allocations: 90.03 kB / 289.8 MB, free: 14.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.459/0.459, allocations: 78.42 MB / 418.9 MB, free: 44.28 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004012/0.0004012, allocations: 8 kB / 498.4 MB, free: 3.883 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4069, allocations: 68.74 MB / 0.5539 GB, free: 39.73 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.006434/0.4133, allocations: 5.536 MB / 0.5593 GB, free: 37.85 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003374/0.4167, allocations: 1.448 MB / 0.5607 GB, free: 37.25 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005188/0.4173, allocations: 8.531 kB / 0.5607 GB, free: 37.25 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004647/0.4178, allocations: 133.1 kB / 0.5608 GB, free: 37.2 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007397/0.4185, allocations: 272.6 kB / 0.5611 GB, free: 37.06 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001648/0.4202, allocations: 0.6024 MB / 0.5617 GB, free: 36.9 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001196/0.4214, allocations: 1.004 MB / 0.5627 GB, free: 36.64 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003663/0.4218, allocations: 201.3 kB / 0.5628 GB, free: 36.58 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005092/0.4223, allocations: 392.6 kB / 0.5632 GB, free: 36.46 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006774/0.423, allocations: 492.7 kB / 0.5637 GB, free: 36.31 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001057/0.4231, allocations: 40.09 kB / 0.5637 GB, free: 36.31 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003043/0.4234, allocations: 95.45 kB / 0.5638 GB, free: 36.31 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001767/0.4236, allocations: 168.7 kB / 0.564 GB, free: 36.25 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004051/0.424, allocations: 425.8 kB / 0.5644 GB, free: 36.08 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001197/0.4252, allocations: 1.02 MB / 0.5654 GB, free: 35.82 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4252, allocations: 0 / 0.5654 GB, free: 35.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4252, allocations: 0 / 0.5654 GB, free: 35.82 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.4253, allocations: 0 / 0.5654 GB, free: 35.82 MB / 426.7 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.004392/0.4297, allocations: 1.585 MB / 0.5669 GB, free: 35.1 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.4297, allocations: 14 kB / 0.5669 GB, free: 35.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002533/0.4322, allocations: 444 kB / 0.5674 GB, free: 35.02 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009426/0.4332, allocations: 0.6328 MB / 0.568 GB, free: 34.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002027/0.4334, allocations: 202.3 kB / 0.5682 GB, free: 34.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.4335, allocations: 54.12 kB / 0.5682 GB, free: 34.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.4349, allocations: 0.7738 MB / 0.569 GB, free: 34.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.4349, allocations: 0 / 0.569 GB, free: 34.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.308e-05/0.435, allocations: 21.47 kB / 0.569 GB, free: 34.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.435, allocations: 19.16 kB / 0.569 GB, free: 34.24 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/0.4363, allocations: 0.7005 MB / 0.5697 GB, free: 34.02 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003813/0.4402, allocations: 2.683 MB / 0.5723 GB, free: 32.36 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/0.4415, allocations: 1.036 MB / 0.5733 GB, free: 31.61 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008085/0.4423, allocations: 494.2 kB / 0.5738 GB, free: 31.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.16e-05/0.4424, allocations: 9.891 kB / 0.5738 GB, free: 31.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001072/0.4435, allocations: 0.593 MB / 0.5744 GB, free: 31.17 MB / 426.7 MB Notification: Performance of pre-optimization done (n=66): time 2.194e-06/0.4435, allocations: 1.344 kB / 0.5744 GB, free: 31.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=66): time 0.01623/0.4597, allocations: 4.603 MB / 0.5789 GB, free: 30.26 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.4598, allocations: 83.36 kB / 0.579 GB, free: 30.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008805/0.4607, allocations: 0.7122 MB / 0.5797 GB, free: 29.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.556e-05/0.4608, allocations: 36.55 kB / 0.5797 GB, free: 29.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.461, allocations: 380.5 kB / 0.5801 GB, free: 29.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001974/0.4612, allocations: 223.2 kB / 0.5803 GB, free: 29.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.028e-05/0.4613, allocations: 56.62 kB / 0.5803 GB, free: 29.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.899e-05/0.4613, allocations: 330.3 kB / 0.5807 GB, free: 28.99 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007584/0.4621, allocations: 402 kB / 0.581 GB, free: 28.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007841/0.4629, allocations: 0.5102 MB / 0.5815 GB, free: 28.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/0.4645, allocations: 0.9177 MB / 0.5824 GB, free: 28.15 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.4645, allocations: 0 / 0.5824 GB, free: 28.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.007475/0.472, allocations: 2.592 MB / 0.585 GB, free: 27.53 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.472, allocations: 6.188 kB / 0.585 GB, free: 27.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.472, allocations: 9.938 kB / 0.585 GB, free: 27.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003526/0.4755, allocations: 1.114 MB / 0.5861 GB, free: 27.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004002/0.476, allocations: 104 kB / 0.5862 GB, free: 27.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01267/0.4886, allocations: 6.238 MB / 0.5923 GB, free: 24.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.4897, allocations: 108.9 kB / 0.5924 GB, free: 24.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-05/0.4897, allocations: 21.28 kB / 0.5924 GB, free: 24.12 MB / 426.7 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.0003647/0.4901, allocations: 203.9 kB / 0.5926 GB, free: 23.94 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.4903, allocations: 90.58 kB / 0.5927 GB, free: 23.89 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00811/0.4984, allocations: 2.625 MB / 0.5952 GB, free: 23.26 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.4984, allocations: 7.344 kB / 0.5952 GB, free: 23.26 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.4984, allocations: 0.6562 kB / 0.5952 GB, free: 23.26 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/0.4984, allocations: 4.688 kB / 0.5952 GB, free: 23.26 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009942/0.5084, allocations: 3.836 MB / 0.599 GB, free: 21.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.5084, allocations: 2.219 kB / 0.599 GB, free: 21.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004204/0.5088, allocations: 79.77 kB / 0.5991 GB, free: 21.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003941/0.5128, allocations: 1.075 MB / 0.6001 GB, free: 21.55 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.459e-05/0.5129, allocations: 12.77 kB / 0.6001 GB, free: 21.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01201/0.5249, allocations: 5.49 MB / 0.6055 GB, free: 18.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.525, allocations: 5.406 kB / 0.6055 GB, free: 18.48 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009941/0.5349, allocations: 3.216 MB / 0.6086 GB, free: 16.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004312/0.5354, allocations: 174.8 kB / 0.6088 GB, free: 16.64 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/0.5356, allocations: 11.34 kB / 0.6088 GB, free: 16.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008137/0.5364, allocations: 82.06 kB / 0.6089 GB, free: 16.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004465/0.5369, allocations: 145.7 kB / 0.609 GB, free: 16.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.83e-05/0.537, allocations: 17.03 kB / 0.609 GB, free: 16.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006692/0.5376, allocations: 0.4991 MB / 0.6095 GB, free: 16.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5376, allocations: 0 / 0.6095 GB, free: 16.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001095/0.5387, allocations: 296.7 kB / 0.6098 GB, free: 16.17 MB / 426.7 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.0001691/0.5389, allocations: 112.7 kB / 0.6099 GB, free: 16.07 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003814/0.5427, allocations: 1.498 MB / 0.6114 GB, free: 15.28 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.5428, allocations: 0 / 0.6114 GB, free: 15.28 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002655/0.5454, allocations: 1.036 MB / 0.6124 GB, free: 14.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000651/0.5461, allocations: 78.42 kB / 0.6125 GB, free: 14.65 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002784/0.5489, allocations: 1.902 MB / 0.6143 GB, free: 12.94 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.5492, allocations: 0.9747 MB / 0.6153 GB, free: 11.94 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000235/0.5495, allocations: 69.12 kB / 0.6153 GB, free: 11.87 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.5496, allocations: 51.36 kB / 0.6154 GB, free: 11.82 MB / 426.7 MB Notification: Performance of SimCode: time 3.21e-07/0.5496, allocations: 0 / 0.6154 GB, free: 11.82 MB / 426.7 MB Notification: Performance of Templates: time 0.02045/0.5701, allocations: 14.76 MB / 0.6298 GB, free: 13.08 MB / 442.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test.sim & ./OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1)