Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL.Tests.FACTS.STATCOM_Test") translateModel(OpenIPSL.Tests.FACTS.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001145/0.001145, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.419/1.419, allocations: 222.9 MB / 239.9 MB, free: 4.633 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.001589/0.001589, allocations: 192.5 kB / 290.2 MB, free: 2.344 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5179/0.5179, allocations: 91.91 MB / 432.3 MB, free: 9.289 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 79.86 kB / 0.5025 GB, free: 7.762 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3609, allocations: 71.27 MB / 0.5721 GB, free: 36.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.005131/0.3661, allocations: 5.255 MB / 0.5773 GB, free: 33.8 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002842/0.369, allocations: 1.403 MB / 0.5786 GB, free: 32.96 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004981/0.3695, allocations: 12.62 kB / 0.5786 GB, free: 32.96 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004261/0.37, allocations: 158.4 kB / 0.5788 GB, free: 32.88 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007281/0.3707, allocations: 333.7 kB / 0.5791 GB, free: 32.64 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.372, allocations: 0.6388 MB / 0.5797 GB, free: 32.29 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008495/0.3729, allocations: 1.048 MB / 0.5808 GB, free: 31.76 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000332/0.3732, allocations: 236.8 kB / 0.581 GB, free: 31.66 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003796/0.3736, allocations: 438.4 kB / 0.5814 GB, free: 31.45 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005237/0.3741, allocations: 0.5298 MB / 0.5819 GB, free: 31.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.3743, allocations: 77.25 kB / 0.582 GB, free: 31.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002628/0.3745, allocations: 139 kB / 0.5821 GB, free: 31.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.3747, allocations: 204.9 kB / 0.5823 GB, free: 31.03 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003036/0.375, allocations: 477 kB / 0.5828 GB, free: 30.72 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008616/0.3759, allocations: 1.07 MB / 0.5838 GB, free: 30.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3759, allocations: 0.875 kB / 0.5838 GB, free: 30.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3759, allocations: 0 / 0.5838 GB, free: 30.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.3759, allocations: 0.5312 kB / 0.5838 GB, free: 30.23 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.00485/0.3807, allocations: 1.758 MB / 0.5855 GB, free: 29.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.3808, allocations: 9.438 kB / 0.5855 GB, free: 29.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002611/0.3834, allocations: 452.3 kB / 0.586 GB, free: 29.22 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009093/0.3844, allocations: 0.6217 MB / 0.5866 GB, free: 28.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002553/0.3846, allocations: 205.1 kB / 0.5868 GB, free: 28.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.3847, allocations: 53.91 kB / 0.5868 GB, free: 28.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001602/0.3864, allocations: 0.7697 MB / 0.5876 GB, free: 28.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.3864, allocations: 0 / 0.5876 GB, free: 28.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.132e-05/0.3865, allocations: 20.94 kB / 0.5876 GB, free: 28.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/0.3865, allocations: 17.25 kB / 0.5876 GB, free: 28.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001563/0.3881, allocations: 0.7004 MB / 0.5883 GB, free: 28.03 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004311/0.3924, allocations: 2.679 MB / 0.5909 GB, free: 26.36 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/0.3939, allocations: 1.037 MB / 0.5919 GB, free: 25.61 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009644/0.3949, allocations: 492.5 kB / 0.5924 GB, free: 25.42 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.631e-05/0.395, allocations: 8.031 kB / 0.5924 GB, free: 25.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001215/0.3962, allocations: 0.5911 MB / 0.593 GB, free: 25.18 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.475e-06/0.3962, allocations: 0 / 0.593 GB, free: 25.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.01907/0.4153, allocations: 4.6 MB / 0.5975 GB, free: 24.27 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.607e-05/0.4154, allocations: 89.73 kB / 0.5976 GB, free: 24.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.4165, allocations: 0.7128 MB / 0.5983 GB, free: 23.86 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001129/0.4167, allocations: 36.97 kB / 0.5983 GB, free: 23.82 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002362/0.4169, allocations: 380.1 kB / 0.5987 GB, free: 23.52 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000237/0.4172, allocations: 223.5 kB / 0.5989 GB, free: 23.35 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002161/0.4174, allocations: 109.3 kB / 0.599 GB, free: 23.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.292e-05/0.4175, allocations: 327.5 kB / 0.5993 GB, free: 22.97 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009557/0.4184, allocations: 407.5 kB / 0.5997 GB, free: 22.83 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009969/0.4194, allocations: 0.509 MB / 0.6002 GB, free: 22.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001951/0.4214, allocations: 0.9187 MB / 0.6011 GB, free: 22.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.4214, allocations: 1.062 kB / 0.6011 GB, free: 22.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.009343/0.4308, allocations: 2.593 MB / 0.6036 GB, free: 21.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.289e-05/0.4308, allocations: 7.75 kB / 0.6036 GB, free: 21.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.4309, allocations: 6.781 kB / 0.6036 GB, free: 21.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004538/0.4354, allocations: 1.118 MB / 0.6047 GB, free: 21.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005503/0.436, allocations: 95.27 kB / 0.6048 GB, free: 21.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01633/0.4523, allocations: 6.791 MB / 0.6114 GB, free: 17.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/0.4536, allocations: 109.5 kB / 0.6115 GB, free: 17.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-05/0.4537, allocations: 30.66 kB / 0.6116 GB, free: 17.76 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.0003782/0.454, allocations: 199.2 kB / 0.6117 GB, free: 17.59 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001732/0.4542, allocations: 85.94 kB / 0.6118 GB, free: 17.54 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009594/0.4638, allocations: 2.622 MB / 0.6144 GB, free: 16.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.681e-05/0.4639, allocations: 7.375 kB / 0.6144 GB, free: 16.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.4639, allocations: 9 kB / 0.6144 GB, free: 16.9 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.843e-05/0.464, allocations: 8.141 kB / 0.6144 GB, free: 16.9 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01102/0.475, allocations: 3.835 MB / 0.6182 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.415e-05/0.475, allocations: 3.938 kB / 0.6182 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005079/0.4756, allocations: 76.67 kB / 0.6182 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003769/0.4794, allocations: 1.086 MB / 0.6193 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001325/0.4795, allocations: 12 kB / 0.6193 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01228/0.4918, allocations: 6.018 MB / 0.6252 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.4918, allocations: 0 / 0.6252 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009133/0.501, allocations: 3.223 MB / 0.6283 GB, free: 4.148 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003382/0.5014, allocations: 179.8 kB / 0.6285 GB, free: 3.953 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.5015, allocations: 16 kB / 0.6285 GB, free: 3.938 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000764/0.5023, allocations: 79.91 kB / 0.6286 GB, free: 3.859 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004244/0.5027, allocations: 140.4 kB / 0.6287 GB, free: 3.723 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.136e-05/0.5028, allocations: 27.92 kB / 0.6288 GB, free: 3.695 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005556/0.5033, allocations: 0.4912 MB / 0.6292 GB, free: 3.207 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5033, allocations: 4 kB / 0.6292 GB, free: 3.203 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001024/0.5044, allocations: 287.8 kB / 0.6295 GB, free: 2.922 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.0002029/0.5046, allocations: 122.7 kB / 0.6296 GB, free: 2.797 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00417/0.5088, allocations: 1.556 MB / 0.6312 GB, free: 1.223 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.5088, allocations: 0 / 0.6312 GB, free: 1.223 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002828/0.5116, allocations: 1.068 MB / 0.6322 GB, free: 152 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009336/0.5126, allocations: 71.31 kB / 0.6323 GB, free: 80 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0039/0.5165, allocations: 1.652 MB / 0.6339 GB, free: 14.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006845/0.5172, allocations: 0.9786 MB / 0.6348 GB, free: 13.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002572/0.5175, allocations: 55.42 kB / 0.6349 GB, free: 13.33 MB / 446.1 MB Notification: Performance of SimCode: time 7.11e-07/0.5175, allocations: 4 kB / 0.6349 GB, free: 13.33 MB / 446.1 MB Notification: Performance of Templates: time 0.02265/0.5401, allocations: 14.21 MB / 0.6488 GB, free: 15.12 MB / 462.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1)