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.00109/0.00109, allocations: 103.2 kB / 15.98 MB, free: 6.348 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.274/1.274, allocations: 222.9 MB / 239.6 MB, free: 4.766 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.001228/0.001228, allocations: 196.5 kB / 289.9 MB, free: 2.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4173/0.4173, allocations: 78.52 MB / 418.6 MB, free: 3.293 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 75.89 kB / 497.6 MB, free: 6.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1233, allocations: 68.18 MB / 0.5525 GB, free: 2.5 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.1994/0.3228, allocations: 5.519 MB / 0.5579 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002948/0.3258, allocations: 1.438 MB / 0.5593 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008923/0.3267, allocations: 6.656 kB / 0.5593 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006252/0.3274, allocations: 129.3 kB / 0.5594 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001192/0.3286, allocations: 275.9 kB / 0.5597 GB, free: 36.15 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001521/0.3302, allocations: 0.5968 MB / 0.5603 GB, free: 36.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001291/0.3315, allocations: 1.056 MB / 0.5613 GB, free: 35.97 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003853/0.3319, allocations: 225.3 kB / 0.5615 GB, free: 35.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006441/0.3325, allocations: 448.8 kB / 0.5619 GB, free: 35.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007909/0.3333, allocations: 0.5227 MB / 0.5625 GB, free: 35.7 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001997/0.3335, allocations: 75.06 kB / 0.5625 GB, free: 35.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003895/0.3339, allocations: 150.1 kB / 0.5627 GB, free: 35.7 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001595/0.3341, allocations: 197.9 kB / 0.5629 GB, free: 35.65 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000539/0.3346, allocations: 474.7 kB / 0.5633 GB, free: 35.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000835/0.3355, allocations: 0.8231 MB / 0.5641 GB, free: 35.38 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3355, allocations: 2.844 kB / 0.5641 GB, free: 35.38 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3355, allocations: 0.875 kB / 0.5641 GB, free: 35.38 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.338e-05/0.3355, allocations: 0 / 0.5641 GB, free: 35.38 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.004672/0.3402, allocations: 1.756 MB / 0.5658 GB, free: 34.63 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.3403, allocations: 17.28 kB / 0.5658 GB, free: 34.63 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002442/0.3427, allocations: 444.8 kB / 0.5663 GB, free: 34.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008909/0.3436, allocations: 0.6341 MB / 0.5669 GB, free: 34.23 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002027/0.3438, allocations: 201 kB / 0.5671 GB, free: 34.08 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.344, allocations: 52.91 kB / 0.5671 GB, free: 34.08 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/0.3454, allocations: 0.7701 MB / 0.5679 GB, free: 34.01 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.3454, allocations: 0 / 0.5679 GB, free: 34.01 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.513e-05/0.3455, allocations: 23.11 kB / 0.5679 GB, free: 34.01 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.3455, allocations: 15.28 kB / 0.5679 GB, free: 34.01 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.3469, allocations: 0.7019 MB / 0.5686 GB, free: 34 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004201/0.3511, allocations: 2.681 MB / 0.5712 GB, free: 33.04 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/0.3525, allocations: 1.037 MB / 0.5722 GB, free: 32.51 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008524/0.3533, allocations: 495.6 kB / 0.5727 GB, free: 32.49 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.357e-05/0.3534, allocations: 11.34 kB / 0.5727 GB, free: 32.49 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001152/0.3546, allocations: 0.5868 MB / 0.5733 GB, free: 32.41 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 3.126e-06/0.3546, allocations: 4.562 kB / 0.5733 GB, free: 32.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.01704/0.3717, allocations: 4.601 MB / 0.5778 GB, free: 32.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.3717, allocations: 85.95 kB / 0.5779 GB, free: 31.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008085/0.3726, allocations: 0.7113 MB / 0.5786 GB, free: 31.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001326/0.3727, allocations: 39.86 kB / 0.5786 GB, free: 31.81 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.3729, allocations: 381.8 kB / 0.579 GB, free: 31.67 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002006/0.3731, allocations: 223.6 kB / 0.5792 GB, free: 31.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001966/0.3733, allocations: 106.7 kB / 0.5793 GB, free: 31.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.35e-05/0.3734, allocations: 334 kB / 0.5796 GB, free: 31.19 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008335/0.3742, allocations: 400.6 kB / 0.58 GB, free: 31.05 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009159/0.3751, allocations: 0.5072 MB / 0.5805 GB, free: 30.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001698/0.3768, allocations: 0.9215 MB / 0.5814 GB, free: 30.36 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.3768, allocations: 1.281 kB / 0.5814 GB, free: 30.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008197/0.3851, allocations: 2.587 MB / 0.5839 GB, free: 29.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.3851, allocations: 11.31 kB / 0.5839 GB, free: 29.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.3851, allocations: 6.344 kB / 0.5839 GB, free: 29.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003953/0.3891, allocations: 1.118 MB / 0.585 GB, free: 29.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004827/0.3896, allocations: 98.2 kB / 0.5851 GB, free: 29.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01447/0.4041, allocations: 6.782 MB / 0.5917 GB, free: 26.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009966/0.4051, allocations: 116.9 kB / 0.5918 GB, free: 26.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-05/0.4052, allocations: 23.31 kB / 0.5919 GB, free: 26.09 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.0003109/0.4055, allocations: 204.8 kB / 0.5921 GB, free: 25.92 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.4057, allocations: 87.02 kB / 0.5921 GB, free: 25.88 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008206/0.4139, allocations: 2.626 MB / 0.5947 GB, free: 25.26 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.4139, allocations: 10.69 kB / 0.5947 GB, free: 25.26 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.4139, allocations: 5.5 kB / 0.5947 GB, free: 25.26 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-05/0.4139, allocations: 3.141 kB / 0.5947 GB, free: 25.26 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009647/0.4236, allocations: 3.827 MB / 0.5985 GB, free: 23.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.789e-06/0.4237, allocations: 1.156 kB / 0.5985 GB, free: 23.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004643/0.4241, allocations: 80.5 kB / 0.5985 GB, free: 23.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003814/0.4279, allocations: 1.08 MB / 0.5996 GB, free: 23.59 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001289/0.4281, allocations: 14.14 kB / 0.5996 GB, free: 23.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0127/0.4408, allocations: 6.027 MB / 0.6055 GB, free: 20.39 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4409, allocations: 3.094 kB / 0.6055 GB, free: 20.39 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009333/0.4502, allocations: 3.223 MB / 0.6086 GB, free: 19.39 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002989/0.4505, allocations: 170.5 kB / 0.6088 GB, free: 19.23 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.4507, allocations: 13.09 kB / 0.6088 GB, free: 19.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007625/0.4514, allocations: 82.22 kB / 0.6089 GB, free: 19.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004565/0.4519, allocations: 144.1 kB / 0.609 GB, free: 19.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.516e-05/0.452, allocations: 17.44 kB / 0.6091 GB, free: 19.1 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005578/0.4525, allocations: 0.4947 MB / 0.6095 GB, free: 18.81 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4525, allocations: 0 / 0.6095 GB, free: 18.81 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009263/0.4535, allocations: 293.1 kB / 0.6098 GB, free: 18.77 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.0001801/0.4537, allocations: 118.6 kB / 0.6099 GB, free: 18.67 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003973/0.4576, allocations: 1.548 MB / 0.6114 GB, free: 17.86 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4577, allocations: 1.375 kB / 0.6114 GB, free: 17.86 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002794/0.4605, allocations: 1.066 MB / 0.6125 GB, free: 17.28 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007032/0.4612, allocations: 78.42 kB / 0.6126 GB, free: 17.22 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002927/0.4641, allocations: 1.939 MB / 0.6145 GB, free: 15.42 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.4644, allocations: 0.9669 MB / 0.6154 GB, free: 14.43 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/0.4646, allocations: 63.42 kB / 0.6155 GB, free: 14.37 MB / 430.1 MB Notification: Performance of SimCode: time 7.52e-07/0.4647, allocations: 1.219 kB / 0.6155 GB, free: 14.37 MB / 430.1 MB Notification: Performance of Templates: time 0.01362/0.4783, allocations: 14.21 MB / 0.6293 GB, free: 324 kB / 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)