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: translateModel(OpenIPSL.Tests.FACTS.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test") translateModel(OpenIPSL.Tests.FACTS.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001105/0.001106, 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.287/1.287, allocations: 222.9 MB / 239 MB, free: 4.707 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.001488/0.001488, allocations: 188.5 kB / 289.3 MB, free: 2.445 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5572/0.5572, allocations: 91.9 MB / 431.3 MB, free: 9.379 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 75.88 kB / 0.5014 GB, free: 8.043 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2962, allocations: 71.26 MB / 0.571 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.004513/0.3007, allocations: 5.556 MB / 0.5764 GB, free: 33.28 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002084/0.3029, allocations: 1.443 MB / 0.5778 GB, free: 32.45 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003045/0.3032, allocations: 12.62 kB / 0.5778 GB, free: 32.44 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003377/0.3035, allocations: 130.3 kB / 0.5779 GB, free: 32.39 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005767/0.3041, allocations: 280.2 kB / 0.5782 GB, free: 32.19 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.3052, allocations: 0.5854 MB / 0.5788 GB, free: 31.87 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000682/0.3059, allocations: 1.05 MB / 0.5798 GB, free: 31.33 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002783/0.3062, allocations: 231.9 kB / 0.58 GB, free: 31.24 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003336/0.3065, allocations: 442.7 kB / 0.5804 GB, free: 31.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004392/0.307, allocations: 0.5287 MB / 0.581 GB, free: 30.76 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.047e-05/0.3071, allocations: 77.47 kB / 0.581 GB, free: 30.76 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002206/0.3073, allocations: 144.8 kB / 0.5812 GB, free: 30.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.3074, allocations: 205.7 kB / 0.5814 GB, free: 30.6 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000251/0.3077, allocations: 473.2 kB / 0.5818 GB, free: 30.29 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007008/0.3084, allocations: 1.069 MB / 0.5829 GB, free: 29.8 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3084, allocations: 1.062 kB / 0.5829 GB, free: 29.8 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3084, allocations: 0 / 0.5829 GB, free: 29.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.3084, allocations: 0 / 0.5829 GB, free: 29.8 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.004343/0.3128, allocations: 1.76 MB / 0.5846 GB, free: 28.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.3128, allocations: 9.469 kB / 0.5846 GB, free: 28.89 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002494/0.3153, allocations: 445.3 kB / 0.585 GB, free: 28.8 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007919/0.3161, allocations: 0.6304 MB / 0.5856 GB, free: 28.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000186/0.3163, allocations: 197.8 kB / 0.5858 GB, free: 28.17 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.461e-05/0.3164, allocations: 57.47 kB / 0.5859 GB, free: 28.14 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/0.3178, allocations: 0.7744 MB / 0.5866 GB, free: 27.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.3178, allocations: 0 / 0.5866 GB, free: 27.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.204e-05/0.3179, allocations: 21.69 kB / 0.5867 GB, free: 27.83 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.3179, allocations: 16.09 kB / 0.5867 GB, free: 27.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.3193, allocations: 0.7013 MB / 0.5874 GB, free: 27.6 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003859/0.3232, allocations: 2.682 MB / 0.59 GB, free: 25.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.3246, allocations: 1.034 MB / 0.591 GB, free: 25.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008781/0.3255, allocations: 489.8 kB / 0.5914 GB, free: 24.99 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.288e-05/0.3256, allocations: 9.938 kB / 0.5915 GB, free: 24.99 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001167/0.3268, allocations: 0.5886 MB / 0.592 GB, free: 24.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 3.327e-06/0.3268, allocations: 0 / 0.592 GB, free: 24.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.01864/0.3454, allocations: 4.61 MB / 0.5965 GB, free: 23.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.3455, allocations: 84.73 kB / 0.5966 GB, free: 23.74 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008854/0.3464, allocations: 0.7127 MB / 0.5973 GB, free: 23.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.009e-05/0.3465, allocations: 35.86 kB / 0.5973 GB, free: 23.39 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002006/0.3467, allocations: 376 kB / 0.5977 GB, free: 23.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002026/0.3469, allocations: 227.4 kB / 0.5979 GB, free: 22.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002136/0.3472, allocations: 106.6 kB / 0.598 GB, free: 22.86 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.589e-05/0.3472, allocations: 330.8 kB / 0.5983 GB, free: 22.54 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009026/0.3481, allocations: 403.8 kB / 0.5987 GB, free: 22.4 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009246/0.3491, allocations: 0.512 MB / 0.5992 GB, free: 22.14 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001695/0.3508, allocations: 0.9112 MB / 0.6001 GB, free: 21.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.3508, allocations: 1.031 kB / 0.6001 GB, free: 21.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008638/0.3594, allocations: 2.587 MB / 0.6026 GB, free: 21.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.3595, allocations: 7.844 kB / 0.6026 GB, free: 21.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.3595, allocations: 10.69 kB / 0.6027 GB, free: 21.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003991/0.3635, allocations: 1.12 MB / 0.6038 GB, free: 20.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004457/0.3639, allocations: 98.44 kB / 0.6038 GB, free: 20.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01475/0.3787, allocations: 6.787 MB / 0.6105 GB, free: 17.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/0.3798, allocations: 113.4 kB / 0.6106 GB, free: 17.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-05/0.3798, allocations: 22.92 kB / 0.6106 GB, free: 17.34 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.0003015/0.3801, allocations: 207 kB / 0.6108 GB, free: 17.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.3803, allocations: 86.25 kB / 0.6109 GB, free: 17.12 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008745/0.389, allocations: 2.627 MB / 0.6134 GB, free: 16.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.3891, allocations: 10.44 kB / 0.6135 GB, free: 16.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3891, allocations: 5.062 kB / 0.6135 GB, free: 16.48 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/0.3891, allocations: 4.688 kB / 0.6135 GB, free: 16.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009646/0.3988, allocations: 3.829 MB / 0.6172 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/0.3988, allocations: 3.984 kB / 0.6172 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004629/0.3993, allocations: 84.52 kB / 0.6173 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003489/0.4028, allocations: 1.079 MB / 0.6183 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.972e-05/0.4029, allocations: 12 kB / 0.6184 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0113/0.4142, allocations: 6.028 MB / 0.6242 GB, free: 7.297 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4142, allocations: 0 / 0.6242 GB, free: 7.297 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008771/0.423, allocations: 3.223 MB / 0.6274 GB, free: 4.047 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002565/0.4233, allocations: 179.8 kB / 0.6276 GB, free: 3.852 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.4234, allocations: 16 kB / 0.6276 GB, free: 3.836 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007988/0.4242, allocations: 71.92 kB / 0.6276 GB, free: 3.766 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004095/0.4246, allocations: 148.3 kB / 0.6278 GB, free: 3.621 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.033e-05/0.4247, allocations: 16 kB / 0.6278 GB, free: 3.605 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004955/0.4252, allocations: 0.4951 MB / 0.6283 GB, free: 3.113 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4252, allocations: 0 / 0.6283 GB, free: 3.113 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008346/0.426, allocations: 291.8 kB / 0.6286 GB, free: 2.828 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.0001575/0.4262, allocations: 115.1 kB / 0.6287 GB, free: 2.707 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003867/0.4301, allocations: 1.556 MB / 0.6302 GB, free: 1.137 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.4301, allocations: 0 / 0.6302 GB, free: 1.137 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002579/0.4327, allocations: 1.072 MB / 0.6312 GB, free: 60 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006803/0.4334, allocations: 81.34 kB / 0.6313 GB, free: 15.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003243/0.4366, allocations: 1.898 MB / 0.6332 GB, free: 14.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004986/0.4371, allocations: 0.9708 MB / 0.6341 GB, free: 13.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002644/0.4374, allocations: 69.14 kB / 0.6342 GB, free: 12.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001667/0.4376, allocations: 55.42 kB / 0.6342 GB, free: 12.93 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4376, allocations: 0 / 0.6342 GB, free: 12.93 MB / 446.1 MB Notification: Performance of Templates: time 0.02481/0.4624, allocations: 16.12 MB / 0.65 GB, free: 12.82 MB / 462.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.makefile (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 & ./OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1)