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-master/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-master/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-master/package.mo): time 0.06952/0.06952, allocations: 12.6 MB / 28.76 MB, free: 1.113 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.0008838/0.0008838, allocations: 107.1 kB / 32.36 MB, free: 4.07 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.103/1.103, allocations: 205.1 MB / 241 MB, free: 12.45 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.001099/0.001099, allocations: 194.9 kB / 291.2 MB, free: 13.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3623/0.3623, allocations: 78.51 MB / 419.8 MB, free: 11.4 MB / 302.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.002352/0.002352, allocations: 135.8 kB / 0.4887 GB, free: 10.86 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2161, allocations: 68.12 MB / 0.5552 GB, free: 32.81 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.004263/0.2204, allocations: 5.268 MB / 0.5604 GB, free: 28.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00169/0.2221, allocations: 1.375 MB / 0.5617 GB, free: 27.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002167/0.2223, allocations: 6.75 kB / 0.5617 GB, free: 27.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003002/0.2226, allocations: 166.2 kB / 0.5619 GB, free: 27.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000475/0.2231, allocations: 332.4 kB / 0.5622 GB, free: 27.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009462/0.2241, allocations: 0.6432 MB / 0.5628 GB, free: 27.15 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006201/0.2247, allocations: 1.056 MB / 0.5639 GB, free: 26.51 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002506/0.225, allocations: 230.1 kB / 0.5641 GB, free: 26.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002783/0.2252, allocations: 432.4 kB / 0.5645 GB, free: 26.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004232/0.2257, allocations: 0.5372 MB / 0.565 GB, free: 25.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.2258, allocations: 76.66 kB / 0.5651 GB, free: 25.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002139/0.226, allocations: 137.9 kB / 0.5652 GB, free: 25.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.2261, allocations: 203.1 kB / 0.5654 GB, free: 25.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002596/0.2264, allocations: 468.8 kB / 0.5659 GB, free: 25.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000605/0.227, allocations: 1.072 MB / 0.5669 GB, free: 24.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.227, allocations: 0 / 0.5669 GB, free: 24.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.227, allocations: 0 / 0.5669 GB, free: 24.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.227, allocations: 0 / 0.5669 GB, free: 24.41 MB / 398.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.003998/0.231, allocations: 1.768 MB / 0.5686 GB, free: 23.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.757e-05/0.2311, allocations: 13.45 kB / 0.5686 GB, free: 23.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002246/0.2333, allocations: 444.6 kB / 0.5691 GB, free: 23.04 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006058/0.2339, allocations: 0.6284 MB / 0.5697 GB, free: 22.51 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001668/0.2341, allocations: 198.4 kB / 0.5699 GB, free: 22.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.364e-05/0.2342, allocations: 54.34 kB / 0.5699 GB, free: 22.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/0.2354, allocations: 0.7728 MB / 0.5707 GB, free: 21.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.2354, allocations: 1.219 kB / 0.5707 GB, free: 21.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.682e-05/0.2355, allocations: 19.78 kB / 0.5707 GB, free: 21.83 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.2355, allocations: 16.44 kB / 0.5707 GB, free: 21.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/0.2368, allocations: 0.7046 MB / 0.5714 GB, free: 21.49 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003307/0.2401, allocations: 2.682 MB / 0.574 GB, free: 19.31 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.2413, allocations: 1.038 MB / 0.575 GB, free: 18.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008185/0.2422, allocations: 485.2 kB / 0.5755 GB, free: 18.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.233e-05/0.2422, allocations: 15.44 kB / 0.5755 GB, free: 18.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009893/0.2432, allocations: 0.5934 MB / 0.5761 GB, free: 17.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 1.613e-06/0.2432, allocations: 0 / 0.5761 GB, free: 17.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.01567/0.2589, allocations: 4.598 MB / 0.5806 GB, free: 13.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.154e-05/0.259, allocations: 89.67 kB / 0.5807 GB, free: 13.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005537/0.2595, allocations: 0.708 MB / 0.5814 GB, free: 12.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.31e-05/0.2596, allocations: 41.7 kB / 0.5814 GB, free: 12.38 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.2597, allocations: 380.8 kB / 0.5818 GB, free: 12 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.2598, allocations: 232.6 kB / 0.582 GB, free: 11.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.26, allocations: 98.34 kB / 0.5821 GB, free: 11.67 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 4.202e-05/0.2601, allocations: 338 kB / 0.5824 GB, free: 11.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007351/0.2608, allocations: 397.1 kB / 0.5828 GB, free: 10.95 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000766/0.2616, allocations: 0.5097 MB / 0.5833 GB, free: 10.4 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001478/0.2631, allocations: 0.9159 MB / 0.5842 GB, free: 9.445 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.2631, allocations: 7.984 kB / 0.5842 GB, free: 9.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.007203/0.2703, allocations: 2.586 MB / 0.5867 GB, free: 6.836 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.2703, allocations: 8 kB / 0.5867 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.2703, allocations: 7.938 kB / 0.5867 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00342/0.2737, allocations: 1.128 MB / 0.5878 GB, free: 5.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003389/0.2741, allocations: 95.89 kB / 0.5879 GB, free: 5.598 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01277/0.2869, allocations: 6.776 MB / 0.5945 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000817/0.2877, allocations: 119.5 kB / 0.5946 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.847e-05/0.2878, allocations: 23.98 kB / 0.5947 GB, free: 14.54 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.0002574/0.288, allocations: 197.7 kB / 0.5948 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.2881, allocations: 86.97 kB / 0.5949 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008048/0.2962, allocations: 2.634 MB / 0.5975 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.2962, allocations: 4 kB / 0.5975 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.2962, allocations: 7.938 kB / 0.5975 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.2962, allocations: 3.984 kB / 0.5975 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008895/0.3051, allocations: 3.826 MB / 0.6013 GB, free: 7.633 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.3052, allocations: 0 / 0.6013 GB, free: 7.633 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003509/0.3055, allocations: 87.89 kB / 0.6013 GB, free: 7.547 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003522/0.309, allocations: 1.082 MB / 0.6024 GB, free: 6.461 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.922e-05/0.3091, allocations: 15.98 kB / 0.6024 GB, free: 6.445 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01219/0.3213, allocations: 6.008 MB / 0.6083 GB, free: 300 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3213, allocations: 0 / 0.6083 GB, free: 300 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008864/0.3302, allocations: 3.227 MB / 0.6114 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.3304, allocations: 179.8 kB / 0.6116 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.3305, allocations: 12 kB / 0.6116 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000688/0.3312, allocations: 79.91 kB / 0.6117 GB, free: 12.76 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003269/0.3315, allocations: 140.4 kB / 0.6118 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-05/0.3315, allocations: 16 kB / 0.6118 GB, free: 12.6 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005217/0.3321, allocations: 0.499 MB / 0.6123 GB, free: 12.11 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3321, allocations: 0 / 0.6123 GB, free: 12.11 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006861/0.3328, allocations: 287.8 kB / 0.6126 GB, free: 11.82 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.0001483/0.3329, allocations: 127.2 kB / 0.6127 GB, free: 11.69 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003881/0.3368, allocations: 1.552 MB / 0.6142 GB, free: 10.12 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3368, allocations: 0 / 0.6142 GB, free: 10.12 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002686/0.3395, allocations: 1.064 MB / 0.6153 GB, free: 9.051 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004731/0.34, allocations: 91.22 kB / 0.6154 GB, free: 8.965 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002556/0.3426, allocations: 1.647 MB / 0.617 GB, free: 7.285 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004248/0.343, allocations: 0.9748 MB / 0.6179 GB, free: 6.281 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.3432, allocations: 55.42 kB / 0.618 GB, free: 6.227 MB / 430.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3432, allocations: 0 / 0.618 GB, free: 6.227 MB / 430.1 MB Notification: Performance of Templates: time 0.01398/0.3572, allocations: 14.2 MB / 0.6318 GB, free: 8.02 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)