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.004855/0.004855, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.383/1.383, allocations: 222.9 MB / 239.4 MB, free: 4.383 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.001242/0.001243, allocations: 184.5 kB / 289.7 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4388/0.4388, allocations: 78.52 MB / 418.4 MB, free: 3.168 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 75.88 kB / 0.5536 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3089, allocations: 68.17 MB / 0.6202 GB, free: 9.699 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.005789/0.3147, allocations: 5.233 MB / 0.6253 GB, free: 4.969 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002243/0.317, allocations: 1.407 MB / 0.6266 GB, free: 3.559 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002861/0.3173, allocations: 8 kB / 0.6266 GB, free: 3.551 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003463/0.3176, allocations: 162.6 kB / 0.6268 GB, free: 3.391 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005371/0.3182, allocations: 333.4 kB / 0.6271 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.3192, allocations: 0.6375 MB / 0.6277 GB, free: 2.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006279/0.3199, allocations: 1.058 MB / 0.6288 GB, free: 1.367 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002928/0.3202, allocations: 231.7 kB / 0.629 GB, free: 1.129 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003019/0.3205, allocations: 446.1 kB / 0.6294 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005163/0.321, allocations: 0.5211 MB / 0.6299 GB, free: 172 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.549e-05/0.3211, allocations: 76 kB / 0.63 GB, free: 96 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002568/0.3214, allocations: 140 kB / 0.6301 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001745/0.3216, allocations: 215 kB / 0.6303 GB, free: 15.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003637/0.3219, allocations: 473.2 kB / 0.6308 GB, free: 15.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009884/0.3229, allocations: 1.087 MB / 0.6319 GB, free: 14.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3229, allocations: 4 kB / 0.6319 GB, free: 14.19 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3229, allocations: 0 / 0.6319 GB, free: 14.19 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.661e-05/0.323, allocations: 0 / 0.6319 GB, free: 14.19 MB / 446.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.3277, allocations: 1.787 MB / 0.6336 GB, free: 12.35 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.3277, allocations: 8.031 kB / 0.6336 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002567/0.3303, allocations: 455.2 kB / 0.634 GB, free: 11.9 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008709/0.3312, allocations: 0.6319 MB / 0.6347 GB, free: 11.22 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002554/0.3315, allocations: 209.7 kB / 0.6349 GB, free: 10.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.905e-05/0.3316, allocations: 52 kB / 0.6349 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.333, allocations: 0.7719 MB / 0.6357 GB, free: 10.15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.3331, allocations: 0 / 0.6357 GB, free: 10.15 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.323e-05/0.3331, allocations: 20 kB / 0.6357 GB, free: 10.13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.3332, allocations: 15.94 kB / 0.6357 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/0.3347, allocations: 0.6961 MB / 0.6364 GB, free: 9.414 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004121/0.3388, allocations: 2.684 MB / 0.639 GB, free: 6.574 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/0.3403, allocations: 1.034 MB / 0.64 GB, free: 5.426 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009593/0.3413, allocations: 483.2 kB / 0.6405 GB, free: 4.945 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.056e-05/0.3414, allocations: 12.55 kB / 0.6405 GB, free: 4.934 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001155/0.3426, allocations: 0.5919 MB / 0.6411 GB, free: 4.324 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 3.296e-06/0.3426, allocations: 4 kB / 0.6411 GB, free: 4.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.01833/0.3609, allocations: 4.597 MB / 0.6455 GB, free: 15.69 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.015e-05/0.361, allocations: 89.69 kB / 0.6456 GB, free: 15.58 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009813/0.362, allocations: 0.7119 MB / 0.6463 GB, free: 14.86 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001116/0.3621, allocations: 37.69 kB / 0.6464 GB, free: 14.82 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002695/0.3624, allocations: 385.2 kB / 0.6467 GB, free: 14.44 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002479/0.3627, allocations: 241.9 kB / 0.647 GB, free: 14.2 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002265/0.3629, allocations: 110.3 kB / 0.6471 GB, free: 14.08 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.363, allocations: 326 kB / 0.6474 GB, free: 13.76 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009488/0.364, allocations: 409.1 kB / 0.6478 GB, free: 13.36 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000972/0.3649, allocations: 0.5058 MB / 0.6483 GB, free: 12.82 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00186/0.3668, allocations: 0.916 MB / 0.6492 GB, free: 11.86 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.3668, allocations: 0 / 0.6492 GB, free: 11.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008559/0.3754, allocations: 2.591 MB / 0.6517 GB, free: 9.258 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.3754, allocations: 6.188 kB / 0.6517 GB, free: 9.254 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.3755, allocations: 11.92 kB / 0.6517 GB, free: 9.242 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004023/0.3795, allocations: 1.119 MB / 0.6528 GB, free: 8.121 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004621/0.38, allocations: 103.8 kB / 0.6529 GB, free: 8.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0163/0.3963, allocations: 6.776 MB / 0.6595 GB, free: 1.094 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/0.3973, allocations: 119.5 kB / 0.6596 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.3975, allocations: 28 kB / 0.6597 GB, free: 0.9492 MB / 462.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.0003834/0.3979, allocations: 201.6 kB / 0.6598 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002113/0.3981, allocations: 87.44 kB / 0.6599 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008843/0.4069, allocations: 2.63 MB / 0.6625 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/0.407, allocations: 8 kB / 0.6625 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.407, allocations: 7.875 kB / 0.6625 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/0.407, allocations: 3.984 kB / 0.6625 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01043/0.4174, allocations: 3.817 MB / 0.6662 GB, free: 10.04 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.4175, allocations: 4 kB / 0.6663 GB, free: 10.04 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004178/0.4179, allocations: 75.89 kB / 0.6663 GB, free: 9.965 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003869/0.4218, allocations: 1.078 MB / 0.6674 GB, free: 8.883 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.745e-05/0.4219, allocations: 16 kB / 0.6674 GB, free: 8.867 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01391/0.4358, allocations: 6.025 MB / 0.6733 GB, free: 2.699 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.4358, allocations: 7.938 kB / 0.6733 GB, free: 2.691 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009952/0.4458, allocations: 3.221 MB / 0.6764 GB, free: 15.44 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003209/0.4461, allocations: 184.3 kB / 0.6766 GB, free: 15.24 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/0.4463, allocations: 15.98 kB / 0.6766 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008093/0.4471, allocations: 75.92 kB / 0.6767 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000443/0.4476, allocations: 144.4 kB / 0.6768 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-05/0.4476, allocations: 19.98 kB / 0.6768 GB, free: 14.99 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006821/0.4483, allocations: 0.4912 MB / 0.6773 GB, free: 14.51 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4483, allocations: 0 / 0.6773 GB, free: 14.51 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009156/0.4493, allocations: 299.8 kB / 0.6776 GB, free: 14.21 MB / 494.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.000207/0.4495, allocations: 107.2 kB / 0.6777 GB, free: 14.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004224/0.4537, allocations: 1.548 MB / 0.6792 GB, free: 12.53 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.4537, allocations: 0 / 0.6792 GB, free: 12.53 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002975/0.4567, allocations: 1.064 MB / 0.6803 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005819/0.4573, allocations: 83.3 kB / 0.6803 GB, free: 11.38 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00344/0.4607, allocations: 1.629 MB / 0.6819 GB, free: 9.727 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008368/0.4616, allocations: 0.9709 MB / 0.6829 GB, free: 8.727 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002934/0.4619, allocations: 69.12 kB / 0.683 GB, free: 8.66 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/0.4621, allocations: 55.42 kB / 0.683 GB, free: 8.605 MB / 494.1 MB Notification: Performance of SimCode: time 1.162e-06/0.4621, allocations: 0 / 0.683 GB, free: 8.605 MB / 494.1 MB Notification: Performance of Templates: time 0.02693/0.4891, allocations: 17.05 MB / 0.6997 GB, free: 7.547 MB / 0.4981 GB 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)