Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Tests.FACTS.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test") translateModel(OpenIPSL.Tests.FACTS.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08396/0.08396, allocations: 12.2 MB / 27.47 MB, free: 0.9258 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008409/0.0008409, allocations: 103.5 kB / 31 MB, free: 4.527 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.271/1.271, allocations: 205.4 MB / 239.8 MB, free: 12.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 160.6 kB / 291 MB, free: 15.77 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4358/0.4358, allocations: 78.53 MB / 420.5 MB, free: 32.6 MB / 318.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009734/0.0009736, allocations: 28 kB / 0.4901 GB, free: 15.56 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3167, allocations: 69.23 MB / 0.5577 GB, free: 38.05 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.00362/0.3203, allocations: 5.153 MB / 0.5627 GB, free: 34.22 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002123/0.3225, allocations: 1.39 MB / 0.5641 GB, free: 33.21 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003245/0.3228, allocations: 8.781 kB / 0.5641 GB, free: 33.21 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003262/0.3231, allocations: 127.2 kB / 0.5642 GB, free: 33.16 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005574/0.3237, allocations: 284.8 kB / 0.5645 GB, free: 32.96 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.3248, allocations: 0.5997 MB / 0.5651 GB, free: 32.61 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006822/0.3255, allocations: 1.005 MB / 0.566 GB, free: 32.11 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002683/0.3258, allocations: 200 kB / 0.5662 GB, free: 32.01 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003041/0.3261, allocations: 386.2 kB / 0.5666 GB, free: 31.84 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000439/0.3265, allocations: 497.8 kB / 0.5671 GB, free: 31.61 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.088e-05/0.3266, allocations: 42.25 kB / 0.5671 GB, free: 31.61 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002047/0.3268, allocations: 100.4 kB / 0.5672 GB, free: 31.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.3269, allocations: 157.5 kB / 0.5674 GB, free: 31.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002472/0.3272, allocations: 450.4 kB / 0.5678 GB, free: 31.2 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006013/0.3278, allocations: 1.021 MB / 0.5688 GB, free: 30.81 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.3278, allocations: 0 / 0.5688 GB, free: 30.81 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3278, allocations: 0 / 0.5688 GB, free: 30.81 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.3278, allocations: 2.75 kB / 0.5688 GB, free: 30.81 MB / 414.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.004164/0.332, allocations: 1.635 MB / 0.5704 GB, free: 29.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.332, allocations: 11.98 kB / 0.5704 GB, free: 29.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002448/0.3345, allocations: 446.5 kB / 0.5708 GB, free: 29.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007358/0.3352, allocations: 0.6314 MB / 0.5714 GB, free: 29.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001931/0.3354, allocations: 214.1 kB / 0.5717 GB, free: 29.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.974e-05/0.3355, allocations: 50.12 kB / 0.5717 GB, free: 29.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.3369, allocations: 0.8183 MB / 0.5725 GB, free: 28.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.3369, allocations: 0 / 0.5725 GB, free: 28.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-05/0.337, allocations: 21.25 kB / 0.5725 GB, free: 28.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.337, allocations: 21.06 kB / 0.5725 GB, free: 28.9 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001401/0.3384, allocations: 0.7589 MB / 0.5733 GB, free: 28.67 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003844/0.3423, allocations: 2.734 MB / 0.5759 GB, free: 27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/0.3438, allocations: 1.095 MB / 0.577 GB, free: 26.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009901/0.3448, allocations: 0.523 MB / 0.5775 GB, free: 26.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.096e-05/0.3449, allocations: 17.22 kB / 0.5775 GB, free: 26.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001357/0.3462, allocations: 0.6427 MB / 0.5782 GB, free: 25.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=66): time 4.629e-06/0.3463, allocations: 0 / 0.5782 GB, free: 25.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.02136/0.3676, allocations: 5.611 MB / 0.5837 GB, free: 24.78 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.3677, allocations: 85.44 kB / 0.5837 GB, free: 24.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.369, allocations: 0.708 MB / 0.5844 GB, free: 24.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000156/0.3691, allocations: 41.69 kB / 0.5845 GB, free: 24.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002606/0.3694, allocations: 380.1 kB / 0.5848 GB, free: 24.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003415/0.3698, allocations: 231.8 kB / 0.585 GB, free: 23.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.3699, allocations: 53.53 kB / 0.5851 GB, free: 23.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.045e-05/0.37, allocations: 332.2 kB / 0.5854 GB, free: 23.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.3711, allocations: 456.5 kB / 0.5859 GB, free: 23.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/0.3722, allocations: 0.5525 MB / 0.5864 GB, free: 23.1 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002133/0.3743, allocations: 1.022 MB / 0.5874 GB, free: 22.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.3744, allocations: 5.312 kB / 0.5874 GB, free: 22.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.01014/0.3845, allocations: 3.151 MB / 0.5905 GB, free: 21.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/0.3846, allocations: 10.44 kB / 0.5905 GB, free: 21.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.3846, allocations: 11.31 kB / 0.5905 GB, free: 21.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004522/0.3891, allocations: 1.309 MB / 0.5918 GB, free: 21.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005243/0.3897, allocations: 103.1 kB / 0.5919 GB, free: 21.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01481/0.4045, allocations: 6.858 MB / 0.5986 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/0.4056, allocations: 135.5 kB / 0.5987 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.4058, allocations: 35.98 kB / 0.5987 GB, free: 15.08 MB / 414.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.0003585/0.4061, allocations: 201.7 kB / 0.5989 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002058/0.4063, allocations: 82.97 kB / 0.599 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008869/0.4152, allocations: 3.193 MB / 0.6021 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/0.4153, allocations: 8 kB / 0.6021 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.4153, allocations: 0 / 0.6021 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.4153, allocations: 3.984 kB / 0.6021 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01032/0.4256, allocations: 4.412 MB / 0.6064 GB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/0.4257, allocations: 0 / 0.6064 GB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000453/0.4262, allocations: 83.89 kB / 0.6065 GB, free: 6.953 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003917/0.4301, allocations: 1.265 MB / 0.6078 GB, free: 5.684 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001099/0.4302, allocations: 19.98 kB / 0.6078 GB, free: 5.664 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01236/0.4426, allocations: 6.03 MB / 0.6137 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.4426, allocations: 0 / 0.6137 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01115/0.4538, allocations: 3.837 MB / 0.6174 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003523/0.4542, allocations: 179.8 kB / 0.6176 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002132/0.4544, allocations: 12 kB / 0.6176 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009366/0.4554, allocations: 111.8 kB / 0.6177 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004482/0.4558, allocations: 140.3 kB / 0.6178 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.314e-05/0.4559, allocations: 24 kB / 0.6179 GB, free: 11.16 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006852/0.4566, allocations: 0.4951 MB / 0.6183 GB, free: 10.66 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4566, allocations: 0 / 0.6183 GB, free: 10.66 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001053/0.4577, allocations: 287.8 kB / 0.6186 GB, free: 10.38 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.0002078/0.4579, allocations: 115.7 kB / 0.6187 GB, free: 10.26 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004737/0.4626, allocations: 1.704 MB / 0.6204 GB, free: 8.539 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.565e-06/0.4627, allocations: 4 kB / 0.6204 GB, free: 8.535 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003385/0.4661, allocations: 1.173 MB / 0.6215 GB, free: 7.355 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.4672, allocations: 83.23 kB / 0.6216 GB, free: 7.277 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003772/0.471, allocations: 1.988 MB / 0.6236 GB, free: 5.266 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006081/0.4716, allocations: 0.9747 MB / 0.6245 GB, free: 4.266 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000277/0.4719, allocations: 65.14 kB / 0.6246 GB, free: 4.199 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.4721, allocations: 51.42 kB / 0.6246 GB, free: 4.148 MB / 430.1 MB Notification: Performance of SimCode: time 1.393e-06/0.4721, allocations: 4 kB / 0.6246 GB, free: 4.145 MB / 430.1 MB Notification: Performance of Templates: time 0.02719/0.4993, allocations: 14.77 MB / 0.6391 GB, free: 5.375 MB / 446.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.makefile Environment - environmentSimulation: (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1) Environment - environmentSimulation: