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.001067/0.001067, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.25/1.25, allocations: 222.9 MB / 240 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.001457/0.001457, allocations: 188.5 kB / 290.3 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4844/0.4844, allocations: 91.92 MB / 432.4 MB, free: 9.156 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001432, allocations: 83.88 kB / 0.5033 GB, free: 6.973 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3233, allocations: 71.26 MB / 0.5729 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.004291/0.3276, allocations: 5.246 MB / 0.578 GB, free: 33.97 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.3296, allocations: 1.414 MB / 0.5794 GB, free: 32.97 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002624/0.3299, allocations: 5.719 kB / 0.5794 GB, free: 32.97 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003334/0.3302, allocations: 164.4 kB / 0.5795 GB, free: 32.88 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005181/0.3308, allocations: 331.6 kB / 0.5798 GB, free: 32.65 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.332, allocations: 0.6408 MB / 0.5805 GB, free: 32.3 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001047/0.3331, allocations: 1.058 MB / 0.5815 GB, free: 31.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003058/0.3334, allocations: 236.8 kB / 0.5817 GB, free: 31.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003412/0.3337, allocations: 432.9 kB / 0.5821 GB, free: 31.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000472/0.3342, allocations: 0.5353 MB / 0.5827 GB, free: 31.19 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.879e-05/0.3343, allocations: 75.66 kB / 0.5827 GB, free: 31.19 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002197/0.3345, allocations: 148.2 kB / 0.5829 GB, free: 31.17 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.3347, allocations: 198.8 kB / 0.5831 GB, free: 31.04 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002629/0.3349, allocations: 472.4 kB / 0.5835 GB, free: 30.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000696/0.3356, allocations: 1.08 MB / 0.5846 GB, free: 30.24 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3357, allocations: 1.781 kB / 0.5846 GB, free: 30.24 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3357, allocations: 0 / 0.5846 GB, free: 30.24 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.3357, allocations: 0 / 0.5846 GB, free: 30.24 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.004145/0.3398, allocations: 1.761 MB / 0.5863 GB, free: 29.33 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.3399, allocations: 8.812 kB / 0.5863 GB, free: 29.33 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002366/0.3422, allocations: 447.2 kB / 0.5867 GB, free: 29.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007984/0.3431, allocations: 0.6285 MB / 0.5873 GB, free: 28.78 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001758/0.3432, allocations: 205 kB / 0.5875 GB, free: 28.6 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-05/0.3433, allocations: 58.75 kB / 0.5876 GB, free: 28.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.3446, allocations: 0.7685 MB / 0.5884 GB, free: 28.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.3446, allocations: 3.234 kB / 0.5884 GB, free: 28.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.658e-05/0.3447, allocations: 20.53 kB / 0.5884 GB, free: 28.26 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.3447, allocations: 16.53 kB / 0.5884 GB, free: 28.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/0.346, allocations: 0.7013 MB / 0.5891 GB, free: 28.03 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003548/0.3496, allocations: 2.663 MB / 0.5917 GB, free: 26.38 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.3508, allocations: 1.038 MB / 0.5927 GB, free: 25.62 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000808/0.3517, allocations: 488.8 kB / 0.5932 GB, free: 25.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.585e-05/0.3517, allocations: 11.11 kB / 0.5932 GB, free: 25.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009606/0.3527, allocations: 0.5945 MB / 0.5937 GB, free: 25.19 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.134e-06/0.3527, allocations: 0 / 0.5937 GB, free: 25.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.0167/0.3694, allocations: 4.606 MB / 0.5982 GB, free: 24.28 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.3695, allocations: 89 kB / 0.5983 GB, free: 24.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008882/0.3704, allocations: 0.7081 MB / 0.599 GB, free: 23.87 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.922e-05/0.3705, allocations: 36.97 kB / 0.5991 GB, free: 23.83 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/0.3707, allocations: 380.4 kB / 0.5994 GB, free: 23.53 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000167/0.3708, allocations: 223.9 kB / 0.5996 GB, free: 23.36 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000199/0.371, allocations: 105.5 kB / 0.5997 GB, free: 23.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.182e-05/0.3711, allocations: 339.9 kB / 0.6001 GB, free: 22.97 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008107/0.3719, allocations: 399.2 kB / 0.6004 GB, free: 22.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008619/0.3728, allocations: 0.5074 MB / 0.6009 GB, free: 22.58 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001659/0.3745, allocations: 0.9196 MB / 0.6018 GB, free: 22.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.3745, allocations: 1.094 kB / 0.6018 GB, free: 22.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.007974/0.3824, allocations: 2.582 MB / 0.6044 GB, free: 21.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.3825, allocations: 10.75 kB / 0.6044 GB, free: 21.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.3825, allocations: 7.766 kB / 0.6044 GB, free: 21.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003699/0.3862, allocations: 1.118 MB / 0.6055 GB, free: 21.31 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004122/0.3866, allocations: 99.42 kB / 0.6056 GB, free: 21.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01371/0.4004, allocations: 6.772 MB / 0.6122 GB, free: 17.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009386/0.4013, allocations: 113.2 kB / 0.6123 GB, free: 17.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.14e-05/0.4014, allocations: 23.23 kB / 0.6123 GB, free: 17.79 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.0002809/0.4017, allocations: 199.4 kB / 0.6125 GB, free: 17.62 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.4018, allocations: 85.53 kB / 0.6126 GB, free: 17.58 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007912/0.4097, allocations: 2.634 MB / 0.6151 GB, free: 16.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.4098, allocations: 6.125 kB / 0.6151 GB, free: 16.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.4098, allocations: 9.047 kB / 0.6152 GB, free: 16.9 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.4098, allocations: 5.047 kB / 0.6152 GB, free: 16.9 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009175/0.419, allocations: 3.824 MB / 0.6189 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/0.419, allocations: 1.344 kB / 0.6189 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004211/0.4195, allocations: 87.77 kB / 0.619 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003191/0.4227, allocations: 1.078 MB / 0.62 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.763e-05/0.4228, allocations: 12 kB / 0.62 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01062/0.4334, allocations: 6.013 MB / 0.6259 GB, free: 7.211 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.4334, allocations: 0 / 0.6259 GB, free: 7.211 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00779/0.4412, allocations: 3.224 MB / 0.6291 GB, free: 3.957 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002536/0.4415, allocations: 179.8 kB / 0.6292 GB, free: 3.762 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.4416, allocations: 12 kB / 0.6293 GB, free: 3.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006902/0.4423, allocations: 79.91 kB / 0.6293 GB, free: 3.672 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003537/0.4427, allocations: 140.4 kB / 0.6295 GB, free: 3.535 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.932e-05/0.4427, allocations: 19.98 kB / 0.6295 GB, free: 3.516 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000457/0.4432, allocations: 0.4912 MB / 0.63 GB, free: 3.027 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4432, allocations: 0 / 0.63 GB, free: 3.027 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000788/0.444, allocations: 291.8 kB / 0.6302 GB, free: 2.742 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.0001467/0.4441, allocations: 131 kB / 0.6304 GB, free: 2.605 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003433/0.4476, allocations: 1.532 MB / 0.6319 GB, free: 1.051 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4476, allocations: 4 kB / 0.6319 GB, free: 1.047 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002431/0.45, allocations: 1.072 MB / 0.6329 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005882/0.4506, allocations: 81.41 kB / 0.633 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002906/0.4535, allocations: 1.59 MB / 0.6345 GB, free: 14.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005071/0.4541, allocations: 0.9747 MB / 0.6355 GB, free: 13.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002168/0.4543, allocations: 65.14 kB / 0.6356 GB, free: 13.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.4545, allocations: 51.44 kB / 0.6356 GB, free: 13.15 MB / 446.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4545, allocations: 0 / 0.6356 GB, free: 13.15 MB / 446.1 MB Notification: Performance of Templates: time 0.02416/0.4786, allocations: 16.89 MB / 0.6521 GB, free: 12.27 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 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1)