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.07895/0.07895, allocations: 12.2 MB / 28.08 MB, free: 0.6914 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.001029/0.001029, allocations: 119.5 kB / 31.6 MB, free: 4.113 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.423/1.423, allocations: 205.1 MB / 240.1 MB, free: 11.59 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.001357/0.001357, allocations: 188.5 kB / 290.2 MB, free: 15.92 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4957/0.4957, allocations: 78.51 MB / 418.8 MB, free: 47.16 MB / 334.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.002344/0.002345, allocations: 131.8 kB / 499 MB, free: 4.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1554, allocations: 68.04 MB / 0.5538 GB, free: 356 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.2771/0.4325, allocations: 5.58 MB / 0.5592 GB, free: 39.2 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002898/0.4354, allocations: 1.402 MB / 0.5606 GB, free: 38.61 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006072/0.4361, allocations: 7.688 kB / 0.5606 GB, free: 38.61 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005005/0.4366, allocations: 131 kB / 0.5608 GB, free: 38.57 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008706/0.4375, allocations: 275.8 kB / 0.561 GB, free: 38.42 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00158/0.4391, allocations: 0.5838 MB / 0.5616 GB, free: 38.26 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001355/0.4405, allocations: 1.047 MB / 0.5626 GB, free: 37.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004302/0.4409, allocations: 230.7 kB / 0.5628 GB, free: 37.72 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005805/0.4415, allocations: 442.5 kB / 0.5632 GB, free: 37.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008108/0.4423, allocations: 0.5394 MB / 0.5638 GB, free: 37.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001357/0.4425, allocations: 76.69 kB / 0.5638 GB, free: 37.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000345/0.4428, allocations: 139.7 kB / 0.564 GB, free: 37.21 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001969/0.443, allocations: 206.2 kB / 0.5642 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004493/0.4435, allocations: 474 kB / 0.5646 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.4446, allocations: 0.8267 MB / 0.5654 GB, free: 36.44 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.4446, allocations: 0 / 0.5654 GB, free: 36.44 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4446, allocations: 0 / 0.5654 GB, free: 36.44 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.4446, allocations: 0.6094 kB / 0.5654 GB, free: 36.44 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.005088/0.4497, allocations: 1.76 MB / 0.5672 GB, free: 35.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.4498, allocations: 17.23 kB / 0.5672 GB, free: 35.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002626/0.4524, allocations: 442.6 kB / 0.5676 GB, free: 35.42 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009866/0.4534, allocations: 0.6265 MB / 0.5682 GB, free: 34.97 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002439/0.4537, allocations: 202 kB / 0.5684 GB, free: 34.79 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.4538, allocations: 49.69 kB / 0.5684 GB, free: 34.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/0.4556, allocations: 0.7703 MB / 0.5692 GB, free: 34.47 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.4556, allocations: 1.094 kB / 0.5692 GB, free: 34.47 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.406e-05/0.4557, allocations: 26.69 kB / 0.5692 GB, free: 34.45 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/0.4558, allocations: 17.09 kB / 0.5692 GB, free: 34.45 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001392/0.4572, allocations: 0.702 MB / 0.5699 GB, free: 34.22 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003809/0.461, allocations: 2.685 MB / 0.5725 GB, free: 32.56 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/0.4622, allocations: 1.036 MB / 0.5736 GB, free: 31.82 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008005/0.463, allocations: 489.7 kB / 0.574 GB, free: 31.62 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.959e-05/0.4631, allocations: 9.812 kB / 0.574 GB, free: 31.62 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001096/0.4642, allocations: 0.595 MB / 0.5746 GB, free: 31.38 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.104e-06/0.4642, allocations: 0 / 0.5746 GB, free: 31.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.01704/0.4813, allocations: 4.597 MB / 0.5791 GB, free: 30.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.4814, allocations: 86.64 kB / 0.5792 GB, free: 30.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009477/0.4823, allocations: 0.7112 MB / 0.5799 GB, free: 30.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001062/0.4825, allocations: 39.78 kB / 0.5799 GB, free: 30.04 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.4827, allocations: 377.9 kB / 0.5803 GB, free: 29.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002331/0.4829, allocations: 233.9 kB / 0.5805 GB, free: 29.55 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002008/0.4831, allocations: 103.6 kB / 0.5806 GB, free: 29.49 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.345e-05/0.4832, allocations: 330.5 kB / 0.5809 GB, free: 29.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000782/0.484, allocations: 404.3 kB / 0.5813 GB, free: 29.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008138/0.4848, allocations: 0.5038 MB / 0.5818 GB, free: 28.79 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001555/0.4864, allocations: 0.9221 MB / 0.5827 GB, free: 28.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.4864, allocations: 0 / 0.5827 GB, free: 28.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.007702/0.4941, allocations: 2.59 MB / 0.5852 GB, free: 27.72 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.4941, allocations: 5.25 kB / 0.5852 GB, free: 27.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.4942, allocations: 7.812 kB / 0.5852 GB, free: 27.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003653/0.4978, allocations: 1.125 MB / 0.5863 GB, free: 27.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004488/0.4983, allocations: 92.22 kB / 0.5864 GB, free: 27.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01428/0.5126, allocations: 6.771 MB / 0.593 GB, free: 24.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/0.5138, allocations: 121.1 kB / 0.5932 GB, free: 24.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-05/0.5139, allocations: 24.69 kB / 0.5932 GB, free: 24.02 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.0003722/0.5143, allocations: 199.8 kB / 0.5934 GB, free: 23.85 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.5144, allocations: 89.03 kB / 0.5935 GB, free: 23.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00829/0.5227, allocations: 2.625 MB / 0.596 GB, free: 23.16 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/0.5228, allocations: 10.47 kB / 0.596 GB, free: 23.16 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.5228, allocations: 5.828 kB / 0.596 GB, free: 23.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.548e-05/0.5228, allocations: 4.328 kB / 0.596 GB, free: 23.16 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01021/0.533, allocations: 3.829 MB / 0.5998 GB, free: 21.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.499e-05/0.5331, allocations: 0.6094 kB / 0.5998 GB, free: 21.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004697/0.5335, allocations: 80.06 kB / 0.5999 GB, free: 21.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00393/0.5375, allocations: 1.081 MB / 0.6009 GB, free: 21.45 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001151/0.5376, allocations: 15.3 kB / 0.6009 GB, free: 21.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01322/0.5508, allocations: 6.019 MB / 0.6068 GB, free: 18.26 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.5509, allocations: 2 kB / 0.6068 GB, free: 18.26 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00975/0.5607, allocations: 3.221 MB / 0.6099 GB, free: 16.92 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004567/0.5612, allocations: 183.8 kB / 0.6101 GB, free: 16.75 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.5613, allocations: 16.38 kB / 0.6101 GB, free: 16.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007977/0.5621, allocations: 74.34 kB / 0.6102 GB, free: 16.7 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005247/0.5626, allocations: 145.3 kB / 0.6103 GB, free: 16.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.826e-05/0.5627, allocations: 21.12 kB / 0.6104 GB, free: 16.61 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006835/0.5634, allocations: 0.4985 MB / 0.6109 GB, free: 16.32 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.122e-06/0.5634, allocations: 0 / 0.6109 GB, free: 16.32 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001056/0.5645, allocations: 293 kB / 0.6111 GB, free: 16.28 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.0001977/0.5647, allocations: 117.5 kB / 0.6112 GB, free: 16.17 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004199/0.5689, allocations: 1.555 MB / 0.6128 GB, free: 15.35 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5689, allocations: 0 / 0.6128 GB, free: 15.35 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002863/0.5718, allocations: 1.062 MB / 0.6138 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008383/0.5726, allocations: 82.23 kB / 0.6139 GB, free: 14.71 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002977/0.5756, allocations: 1.933 MB / 0.6158 GB, free: 12.82 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.5759, allocations: 0.9748 MB / 0.6167 GB, free: 11.82 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/0.5761, allocations: 59.42 kB / 0.6168 GB, free: 11.76 MB / 430.1 MB Notification: Performance of SimCode: time 1.232e-06/0.5761, allocations: 0 / 0.6168 GB, free: 11.76 MB / 430.1 MB Notification: Performance of Templates: time 0.01426/0.5904, allocations: 14.22 MB / 0.6307 GB, free: 13.55 MB / 446.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.makefile (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)