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.001018/0.001018, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.247/1.247, allocations: 222.9 MB / 238.9 MB, free: 4.746 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.001363/0.001363, allocations: 188.5 kB / 289.1 MB, free: 2.496 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4479/0.4479, allocations: 78.52 MB / 417.8 MB, free: 3.352 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 75.89 kB / 496.8 MB, free: 6.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1139, allocations: 68.16 MB / 0.5517 GB, free: 2.625 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.1958/0.3097, allocations: 5.532 MB / 0.5571 GB, free: 36.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00292/0.3127, allocations: 1.439 MB / 0.5585 GB, free: 36.11 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003552/0.3131, allocations: 8.156 kB / 0.5585 GB, free: 36.11 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003862/0.3135, allocations: 130.6 kB / 0.5586 GB, free: 36.1 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005779/0.3141, allocations: 277.3 kB / 0.5589 GB, free: 36.05 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.3154, allocations: 0.6059 MB / 0.5595 GB, free: 35.92 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008694/0.3163, allocations: 1.011 MB / 0.5605 GB, free: 35.87 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000285/0.3166, allocations: 203.8 kB / 0.5607 GB, free: 35.83 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003957/0.317, allocations: 402.1 kB / 0.561 GB, free: 35.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005101/0.3175, allocations: 0.5023 MB / 0.5615 GB, free: 35.6 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.302e-05/0.3176, allocations: 48.06 kB / 0.5616 GB, free: 35.6 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002546/0.3179, allocations: 109.5 kB / 0.5617 GB, free: 35.6 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.318, allocations: 172 kB / 0.5618 GB, free: 35.55 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003044/0.3183, allocations: 439.9 kB / 0.5623 GB, free: 35.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007652/0.3191, allocations: 1.042 MB / 0.5633 GB, free: 35.15 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.3191, allocations: 5.219 kB / 0.5633 GB, free: 35.15 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.3191, allocations: 0 / 0.5633 GB, free: 35.15 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.878e-06/0.3191, allocations: 1.031 kB / 0.5633 GB, free: 35.15 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.004711/0.3238, allocations: 1.762 MB / 0.565 GB, free: 34.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.3239, allocations: 7.562 kB / 0.565 GB, free: 34.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002493/0.3264, allocations: 445.9 kB / 0.5654 GB, free: 34.35 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000926/0.3274, allocations: 0.6276 MB / 0.566 GB, free: 34.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002266/0.3276, allocations: 204.8 kB / 0.5662 GB, free: 33.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.62e-05/0.3277, allocations: 54.75 kB / 0.5663 GB, free: 33.86 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/0.3292, allocations: 0.7659 MB / 0.567 GB, free: 33.79 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.3292, allocations: 0 / 0.567 GB, free: 33.79 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.108e-05/0.3293, allocations: 24.41 kB / 0.5671 GB, free: 33.79 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.227e-05/0.3293, allocations: 18.25 kB / 0.5671 GB, free: 33.79 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001355/0.3307, allocations: 0.6957 MB / 0.5678 GB, free: 33.79 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003955/0.3346, allocations: 2.689 MB / 0.5704 GB, free: 32.81 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/0.336, allocations: 1.037 MB / 0.5714 GB, free: 32.29 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008214/0.3368, allocations: 488.1 kB / 0.5719 GB, free: 32.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.907e-05/0.3369, allocations: 10.64 kB / 0.5719 GB, free: 32.27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001076/0.338, allocations: 0.5927 MB / 0.5725 GB, free: 32.2 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.465e-06/0.338, allocations: 0.7188 kB / 0.5725 GB, free: 32.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.01654/0.3545, allocations: 4.603 MB / 0.577 GB, free: 31.86 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.3546, allocations: 85.36 kB / 0.577 GB, free: 31.76 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008038/0.3554, allocations: 0.7122 MB / 0.5777 GB, free: 31.62 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.185e-05/0.3555, allocations: 34.45 kB / 0.5778 GB, free: 31.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.3557, allocations: 380.4 kB / 0.5781 GB, free: 31.45 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001831/0.3559, allocations: 229.3 kB / 0.5783 GB, free: 31.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/0.3561, allocations: 107.3 kB / 0.5784 GB, free: 31.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.088e-05/0.3561, allocations: 330.7 kB / 0.5788 GB, free: 30.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007646/0.3569, allocations: 402.8 kB / 0.5791 GB, free: 30.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008476/0.3578, allocations: 0.5061 MB / 0.5796 GB, free: 30.71 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001769/0.3596, allocations: 0.924 MB / 0.5805 GB, free: 30.26 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.3596, allocations: 0.8438 kB / 0.5805 GB, free: 30.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008059/0.3676, allocations: 2.583 MB / 0.5831 GB, free: 29.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.3677, allocations: 6.75 kB / 0.5831 GB, free: 29.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.3677, allocations: 12.19 kB / 0.5831 GB, free: 29.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00374/0.3714, allocations: 1.121 MB / 0.5842 GB, free: 29.49 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004681/0.3719, allocations: 97.22 kB / 0.5843 GB, free: 29.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01387/0.3858, allocations: 6.238 MB / 0.5904 GB, free: 26.35 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/0.3869, allocations: 113.1 kB / 0.5905 GB, free: 26.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.493e-05/0.387, allocations: 25.61 kB / 0.5905 GB, free: 26.31 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.0003462/0.3873, allocations: 201.7 kB / 0.5907 GB, free: 26.14 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.3875, allocations: 89.3 kB / 0.5908 GB, free: 26.09 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008477/0.396, allocations: 2.629 MB / 0.5933 GB, free: 25.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.218e-06/0.396, allocations: 6.5 kB / 0.5933 GB, free: 25.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.396, allocations: 0.7031 kB / 0.5933 GB, free: 25.48 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.396, allocations: 5.375 kB / 0.5934 GB, free: 25.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009582/0.4056, allocations: 3.825 MB / 0.5971 GB, free: 24.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.4056, allocations: 1.281 kB / 0.5971 GB, free: 24.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000377/0.406, allocations: 82.69 kB / 0.5972 GB, free: 24.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003597/0.4096, allocations: 1.08 MB / 0.5982 GB, free: 23.81 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.366e-05/0.4097, allocations: 15.83 kB / 0.5982 GB, free: 23.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01136/0.4211, allocations: 5.494 MB / 0.6036 GB, free: 20.92 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.4211, allocations: 0 / 0.6036 GB, free: 20.92 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009277/0.4304, allocations: 3.22 MB / 0.6067 GB, free: 19.98 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002638/0.4307, allocations: 169.4 kB / 0.6069 GB, free: 19.83 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.4308, allocations: 11.59 kB / 0.6069 GB, free: 19.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007476/0.4315, allocations: 85.06 kB / 0.607 GB, free: 19.8 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004403/0.432, allocations: 145.2 kB / 0.6071 GB, free: 19.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-05/0.432, allocations: 16.25 kB / 0.6072 GB, free: 19.74 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005826/0.4326, allocations: 0.4951 MB / 0.6076 GB, free: 19.45 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4326, allocations: 0 / 0.6076 GB, free: 19.45 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009009/0.4335, allocations: 296.2 kB / 0.6079 GB, free: 19.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.0001517/0.4337, allocations: 117.2 kB / 0.608 GB, free: 19.31 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003711/0.4374, allocations: 1.506 MB / 0.6095 GB, free: 18.52 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4374, allocations: 0 / 0.6095 GB, free: 18.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00261/0.4401, allocations: 1.026 MB / 0.6105 GB, free: 17.95 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005903/0.4407, allocations: 83.84 kB / 0.6106 GB, free: 17.89 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002923/0.4436, allocations: 1.906 MB / 0.6124 GB, free: 16.6 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.444, allocations: 0.9781 MB / 0.6134 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002139/0.4442, allocations: 67.06 kB / 0.6135 GB, free: 15.68 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.4443, allocations: 47.44 kB / 0.6135 GB, free: 15.64 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4443, allocations: 0 / 0.6135 GB, free: 15.64 MB / 430.1 MB Notification: Performance of Templates: time 0.01704/0.4614, allocations: 15.08 MB / 0.6282 GB, free: 0.7422 MB / 430.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)