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.07417/0.07418, allocations: 12.2 MB / 27.17 MB, free: 1.504 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.0007336/0.0007336, allocations: 106.7 kB / 30.68 MB, free: 4.859 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.262/1.262, allocations: 205.4 MB / 239.5 MB, free: 11.56 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.0009507/0.0009507, allocations: 172.5 kB / 290.6 MB, free: 15.8 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4365/0.4365, allocations: 78.54 MB / 420.1 MB, free: 32.67 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.0009169/0.0009172, allocations: 30.66 kB / 0.4894 GB, free: 15.94 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3437, allocations: 69.23 MB / 0.5571 GB, free: 37.73 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.003714/0.3474, allocations: 4.858 MB / 0.5618 GB, free: 34.18 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002063/0.3495, allocations: 1.34 MB / 0.5631 GB, free: 33.2 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003123/0.3499, allocations: 6.438 kB / 0.5631 GB, free: 33.2 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002738/0.3501, allocations: 116.1 kB / 0.5632 GB, free: 33.15 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005039/0.3507, allocations: 295.4 kB / 0.5635 GB, free: 32.95 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009512/0.3516, allocations: 0.5127 MB / 0.564 GB, free: 32.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006778/0.3523, allocations: 0.9538 MB / 0.5649 GB, free: 32.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002863/0.3526, allocations: 185.4 kB / 0.5651 GB, free: 32.07 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000294/0.3529, allocations: 379.9 kB / 0.5655 GB, free: 31.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004586/0.3534, allocations: 481.2 kB / 0.5659 GB, free: 31.7 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.951e-05/0.3534, allocations: 40.75 kB / 0.566 GB, free: 31.7 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000197/0.3536, allocations: 94.5 kB / 0.5661 GB, free: 31.68 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.3538, allocations: 154.9 kB / 0.5662 GB, free: 31.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.3539, allocations: 173.6 kB / 0.5664 GB, free: 31.48 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005271/0.3544, allocations: 0.7918 MB / 0.5671 GB, free: 31.24 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3544, allocations: 0 / 0.5671 GB, free: 31.24 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3544, allocations: 0 / 0.5671 GB, free: 31.24 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.3545, allocations: 0 / 0.5671 GB, free: 31.24 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.003779/0.3582, allocations: 1.646 MB / 0.5688 GB, free: 30.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.3583, allocations: 20.61 kB / 0.5688 GB, free: 30.4 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002347/0.3606, allocations: 441.8 kB / 0.5692 GB, free: 30.31 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007678/0.3614, allocations: 0.6009 MB / 0.5698 GB, free: 29.89 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001846/0.3616, allocations: 218.9 kB / 0.57 GB, free: 29.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-05/0.3617, allocations: 49.56 kB / 0.57 GB, free: 29.69 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.363, allocations: 0.8165 MB / 0.5708 GB, free: 29.38 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.363, allocations: 0 / 0.5708 GB, free: 29.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.066e-05/0.3631, allocations: 20.84 kB / 0.5709 GB, free: 29.36 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.3631, allocations: 12.97 kB / 0.5709 GB, free: 29.36 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.3644, allocations: 0.7557 MB / 0.5716 GB, free: 29.13 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003685/0.3681, allocations: 2.737 MB / 0.5743 GB, free: 27.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/0.3694, allocations: 1.077 MB / 0.5753 GB, free: 26.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008313/0.3703, allocations: 0.5224 MB / 0.5758 GB, free: 26.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.525e-05/0.3704, allocations: 17.7 kB / 0.5759 GB, free: 26.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001092/0.3715, allocations: 0.6448 MB / 0.5765 GB, free: 26.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=66): time 2.144e-06/0.3715, allocations: 0 / 0.5765 GB, free: 26.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.01785/0.3893, allocations: 5.591 MB / 0.5819 GB, free: 25.24 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.3894, allocations: 85.89 kB / 0.582 GB, free: 25.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.3905, allocations: 0.7023 MB / 0.5827 GB, free: 24.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001044/0.3906, allocations: 35.83 kB / 0.5827 GB, free: 24.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002378/0.3908, allocations: 382.7 kB / 0.5831 GB, free: 24.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000235/0.3911, allocations: 229.3 kB / 0.5833 GB, free: 24.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.352e-05/0.3911, allocations: 10.09 kB / 0.5833 GB, free: 24.31 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.038e-05/0.3912, allocations: 332 kB / 0.5837 GB, free: 23.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009635/0.3922, allocations: 450.4 kB / 0.5841 GB, free: 23.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009341/0.3931, allocations: 0.5532 MB / 0.5846 GB, free: 23.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009039/0.394, allocations: 477.7 kB / 0.5851 GB, free: 23.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.3941, allocations: 1.219 kB / 0.5851 GB, free: 23.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008666/0.4027, allocations: 3.154 MB / 0.5882 GB, free: 22.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.4028, allocations: 11.02 kB / 0.5882 GB, free: 22.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.4028, allocations: 2.219 kB / 0.5882 GB, free: 22.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003803/0.4066, allocations: 1.29 MB / 0.5894 GB, free: 22.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004831/0.4071, allocations: 106.3 kB / 0.5895 GB, free: 22.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01319/0.4203, allocations: 6.889 MB / 0.5963 GB, free: 17.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009344/0.4213, allocations: 143.5 kB / 0.5964 GB, free: 16.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-05/0.4214, allocations: 27.98 kB / 0.5964 GB, free: 16.94 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 ($whenCondition1,$whenCondition2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {16 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003133/0.4217, allocations: 193.7 kB / 0.5966 GB, free: 16.74 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.4218, allocations: 94.83 kB / 0.5967 GB, free: 16.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007368/0.4292, allocations: 3.189 MB / 0.5998 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.4292, allocations: 11.95 kB / 0.5998 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.4292, allocations: 0 / 0.5998 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.4292, allocations: 3.984 kB / 0.5998 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008599/0.4379, allocations: 4.389 MB / 0.6041 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-06/0.4379, allocations: 7.984 kB / 0.6041 GB, free: 8.906 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003818/0.4383, allocations: 83.89 kB / 0.6042 GB, free: 8.824 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003272/0.4416, allocations: 1.266 MB / 0.6054 GB, free: 7.555 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-05/0.4417, allocations: 19.94 kB / 0.6055 GB, free: 7.535 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01044/0.4521, allocations: 6.03 MB / 0.6114 GB, free: 1.367 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.4522, allocations: 4 kB / 0.6114 GB, free: 1.363 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009153/0.4613, allocations: 3.829 MB / 0.6151 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003414/0.4617, allocations: 175.8 kB / 0.6153 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.4618, allocations: 12 kB / 0.6153 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006991/0.4625, allocations: 111.9 kB / 0.6154 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004429/0.463, allocations: 144.3 kB / 0.6155 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.464e-05/0.4631, allocations: 20 kB / 0.6155 GB, free: 13.04 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000705/0.4638, allocations: 499 kB / 0.616 GB, free: 12.55 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4638, allocations: 0 / 0.616 GB, free: 12.55 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001096/0.4649, allocations: 303.7 kB / 0.6163 GB, free: 12.25 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {17 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002087/0.4651, allocations: 107.2 kB / 0.6164 GB, free: 12.14 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003979/0.4691, allocations: 1.665 MB / 0.618 GB, free: 10.46 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.4691, allocations: 0 / 0.618 GB, free: 10.46 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002785/0.4719, allocations: 1.184 MB / 0.6192 GB, free: 9.266 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006584/0.4726, allocations: 75.31 kB / 0.6193 GB, free: 9.191 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003223/0.4758, allocations: 1.885 MB / 0.6211 GB, free: 7.281 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006647/0.4765, allocations: 0.9787 MB / 0.6221 GB, free: 6.277 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002603/0.4768, allocations: 61.14 kB / 0.6221 GB, free: 6.215 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.4769, allocations: 55.44 kB / 0.6222 GB, free: 6.16 MB / 430.1 MB Notification: Performance of SimCode: time 8.92e-07/0.477, allocations: 0 / 0.6222 GB, free: 6.16 MB / 430.1 MB Notification: Performance of Templates: time 0.02373/0.5007, allocations: 14.36 MB / 0.6362 GB, free: 7.809 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: