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.001083/0.001083, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 239.2 MB, free: 4.625 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.001276/0.001276, allocations: 196.4 kB / 289.5 MB, free: 2.34 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.457/0.457, allocations: 78.52 MB / 418.2 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 83.88 kB / 497.4 MB, free: 6.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1298, allocations: 68.18 MB / 0.5524 GB, free: 2.223 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.2314/0.3612, allocations: 5.227 MB / 0.5575 GB, free: 36.72 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002518/0.3638, allocations: 1.402 MB / 0.5588 GB, free: 36.31 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003429/0.3641, allocations: 6.031 kB / 0.5588 GB, free: 36.31 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004031/0.3646, allocations: 166.8 kB / 0.559 GB, free: 36.3 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000627/0.3652, allocations: 331.1 kB / 0.5593 GB, free: 36.26 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001242/0.3665, allocations: 0.6387 MB / 0.5599 GB, free: 36.13 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009444/0.3674, allocations: 1.055 MB / 0.561 GB, free: 36.08 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003739/0.3678, allocations: 227.9 kB / 0.5612 GB, free: 36.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004523/0.3683, allocations: 431 kB / 0.5616 GB, free: 35.95 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000565/0.3689, allocations: 0.5331 MB / 0.5621 GB, free: 35.81 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.369, allocations: 75.97 kB / 0.5622 GB, free: 35.81 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002848/0.3693, allocations: 146.5 kB / 0.5623 GB, free: 35.81 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.3694, allocations: 206.8 kB / 0.5625 GB, free: 35.76 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002969/0.3697, allocations: 464.7 kB / 0.563 GB, free: 35.61 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008429/0.3706, allocations: 1.069 MB / 0.564 GB, free: 35.36 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3706, allocations: 0 / 0.564 GB, free: 35.36 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3706, allocations: 0.875 kB / 0.564 GB, free: 35.36 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.3706, allocations: 3.75 kB / 0.564 GB, free: 35.36 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.004727/0.3754, allocations: 1.758 MB / 0.5657 GB, free: 34.62 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.3754, allocations: 8.5 kB / 0.5657 GB, free: 34.62 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002521/0.378, allocations: 448.8 kB / 0.5662 GB, free: 34.56 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008935/0.3789, allocations: 0.6264 MB / 0.5668 GB, free: 34.23 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002117/0.3791, allocations: 199 kB / 0.567 GB, free: 34.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.226e-05/0.3792, allocations: 57.72 kB / 0.567 GB, free: 34.07 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.3807, allocations: 0.7698 MB / 0.5678 GB, free: 34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/0.3808, allocations: 3.188 kB / 0.5678 GB, free: 34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.3809, allocations: 21.22 kB / 0.5678 GB, free: 34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.3809, allocations: 17.34 kB / 0.5678 GB, free: 34 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002186/0.3831, allocations: 0.6975 MB / 0.5685 GB, free: 34 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004349/0.3875, allocations: 2.684 MB / 0.5711 GB, free: 33.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/0.389, allocations: 1.037 MB / 0.5721 GB, free: 32.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000896/0.3899, allocations: 489.7 kB / 0.5726 GB, free: 32.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.156e-05/0.39, allocations: 13.25 kB / 0.5726 GB, free: 32.48 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001259/0.3913, allocations: 0.5894 MB / 0.5732 GB, free: 32.41 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 3.997e-06/0.3913, allocations: 2.5 kB / 0.5732 GB, free: 32.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.01887/0.4102, allocations: 4.601 MB / 0.5777 GB, free: 32.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.4103, allocations: 90.11 kB / 0.5778 GB, free: 31.97 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009982/0.4113, allocations: 0.7076 MB / 0.5785 GB, free: 31.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001711/0.4115, allocations: 39.7 kB / 0.5785 GB, free: 31.81 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002187/0.4117, allocations: 381 kB / 0.5789 GB, free: 31.67 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002501/0.412, allocations: 224.5 kB / 0.5791 GB, free: 31.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002027/0.4122, allocations: 105.2 kB / 0.5792 GB, free: 31.49 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.599e-05/0.4122, allocations: 327.8 kB / 0.5795 GB, free: 31.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008889/0.4131, allocations: 406.5 kB / 0.5799 GB, free: 31.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.4142, allocations: 0.5114 MB / 0.5804 GB, free: 30.79 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001997/0.4162, allocations: 0.917 MB / 0.5813 GB, free: 30.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.4162, allocations: 5.188 kB / 0.5813 GB, free: 30.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008907/0.4251, allocations: 2.589 MB / 0.5838 GB, free: 29.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/0.4252, allocations: 5.5 kB / 0.5838 GB, free: 29.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.4252, allocations: 8.609 kB / 0.5838 GB, free: 29.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004174/0.4294, allocations: 1.118 MB / 0.5849 GB, free: 29.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005005/0.4299, allocations: 94.86 kB / 0.585 GB, free: 29.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01621/0.4461, allocations: 6.794 MB / 0.5916 GB, free: 26.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.4473, allocations: 110 kB / 0.5917 GB, free: 26.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.113e-05/0.4474, allocations: 27.05 kB / 0.5918 GB, free: 26.03 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.0003786/0.4478, allocations: 200.7 kB / 0.5919 GB, free: 25.86 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002258/0.448, allocations: 85.28 kB / 0.592 GB, free: 25.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00934/0.4574, allocations: 2.626 MB / 0.5946 GB, free: 25.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.271e-05/0.4575, allocations: 8.453 kB / 0.5946 GB, free: 25.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4575, allocations: 9.438 kB / 0.5946 GB, free: 25.17 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.917e-05/0.4575, allocations: 3.609 kB / 0.5946 GB, free: 25.17 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01116/0.4687, allocations: 3.832 MB / 0.5984 GB, free: 23.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/0.4687, allocations: 1.344 kB / 0.5984 GB, free: 23.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000489/0.4692, allocations: 79.98 kB / 0.5984 GB, free: 23.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004155/0.4734, allocations: 1.081 MB / 0.5995 GB, free: 23.47 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001271/0.4736, allocations: 13.11 kB / 0.5995 GB, free: 23.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01406/0.4876, allocations: 6.026 MB / 0.6054 GB, free: 20.27 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.4877, allocations: 1.219 kB / 0.6054 GB, free: 20.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009959/0.4976, allocations: 3.222 MB / 0.6085 GB, free: 19.05 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000324/0.498, allocations: 175.8 kB / 0.6087 GB, free: 18.88 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.4981, allocations: 12.62 kB / 0.6087 GB, free: 18.87 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007762/0.4989, allocations: 77.91 kB / 0.6088 GB, free: 18.84 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004628/0.4994, allocations: 141.8 kB / 0.6089 GB, free: 18.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.444e-05/0.4995, allocations: 20.42 kB / 0.6089 GB, free: 18.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006277/0.5001, allocations: 0.4969 MB / 0.6094 GB, free: 18.46 MB / 430.1 MB Notification: Performance of sort global known variables: time 6.42e-07/0.5001, allocations: 1.438 kB / 0.6094 GB, free: 18.46 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001009/0.5011, allocations: 299.9 kB / 0.6097 GB, free: 18.41 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.0001696/0.5013, allocations: 112.7 kB / 0.6098 GB, free: 18.31 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004365/0.5057, allocations: 1.551 MB / 0.6113 GB, free: 17.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.5057, allocations: 0 / 0.6113 GB, free: 17.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003043/0.5088, allocations: 1.068 MB / 0.6124 GB, free: 16.91 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007672/0.5096, allocations: 79.73 kB / 0.6125 GB, free: 16.86 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003112/0.5127, allocations: 1.625 MB / 0.614 GB, free: 15.38 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.5131, allocations: 0.9748 MB / 0.615 GB, free: 14.38 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002548/0.5134, allocations: 62.64 kB / 0.6151 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.5135, allocations: 55.42 kB / 0.6151 GB, free: 14.27 MB / 430.1 MB Notification: Performance of SimCode: time 5.92e-07/0.5135, allocations: 0 / 0.6151 GB, free: 14.27 MB / 430.1 MB Notification: Performance of Templates: time 0.02588/0.5394, allocations: 16.88 MB / 0.6316 GB, free: 13.58 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)