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.005493/0.005493, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.303/1.303, allocations: 222.9 MB / 239.4 MB, free: 4.547 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.001377/0.001377, allocations: 199.4 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.43/0.43, allocations: 78.52 MB / 418.4 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 71.88 kB / 0.5536 GB, free: 1.051 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3122, allocations: 68.17 MB / 0.6202 GB, free: 9.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.005123/0.3173, allocations: 5.239 MB / 0.6253 GB, free: 5.027 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00253/0.3199, allocations: 1.403 MB / 0.6266 GB, free: 3.621 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006287/0.3206, allocations: 4 kB / 0.6266 GB, free: 3.617 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005234/0.3211, allocations: 170.5 kB / 0.6268 GB, free: 3.449 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001065/0.3222, allocations: 365.5 kB / 0.6272 GB, free: 3.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.3235, allocations: 0.6358 MB / 0.6278 GB, free: 2.457 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009966/0.3245, allocations: 1.058 MB / 0.6288 GB, free: 1.395 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003314/0.3248, allocations: 227.7 kB / 0.629 GB, free: 1.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005198/0.3254, allocations: 446.1 kB / 0.6295 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006072/0.326, allocations: 0.5211 MB / 0.63 GB, free: 204 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001655/0.3261, allocations: 80 kB / 0.63 GB, free: 124 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003244/0.3265, allocations: 143.9 kB / 0.6302 GB, free: 15.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002051/0.3267, allocations: 207 kB / 0.6304 GB, free: 15.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005147/0.3272, allocations: 473.2 kB / 0.6308 GB, free: 15.31 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.3284, allocations: 1.084 MB / 0.6319 GB, free: 14.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3284, allocations: 0 / 0.6319 GB, free: 14.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3284, allocations: 0 / 0.6319 GB, free: 14.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.067e-05/0.3285, allocations: 0 / 0.6319 GB, free: 14.23 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.005042/0.3335, allocations: 1.756 MB / 0.6336 GB, free: 12.42 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.3335, allocations: 8.031 kB / 0.6336 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002617/0.3362, allocations: 446.7 kB / 0.634 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.3372, allocations: 0.6349 MB / 0.6347 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002332/0.3374, allocations: 201.8 kB / 0.6348 GB, free: 11.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.3376, allocations: 52 kB / 0.6349 GB, free: 11.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.339, allocations: 0.7681 MB / 0.6356 GB, free: 10.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.339, allocations: 0 / 0.6356 GB, free: 10.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.709e-05/0.3391, allocations: 24 kB / 0.6357 GB, free: 10.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/0.3391, allocations: 15.94 kB / 0.6357 GB, free: 10.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001471/0.3406, allocations: 0.7039 MB / 0.6364 GB, free: 9.488 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004417/0.345, allocations: 2.664 MB / 0.639 GB, free: 6.668 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.3466, allocations: 1.035 MB / 0.64 GB, free: 5.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009329/0.3475, allocations: 497.2 kB / 0.6405 GB, free: 5.027 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.042e-05/0.3476, allocations: 12.55 kB / 0.6405 GB, free: 5.016 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001118/0.3487, allocations: 0.5919 MB / 0.641 GB, free: 4.406 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 2.926e-06/0.3487, allocations: 0 / 0.641 GB, free: 4.406 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.01718/0.3659, allocations: 4.596 MB / 0.6455 GB, free: 15.77 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.848e-05/0.366, allocations: 89.7 kB / 0.6456 GB, free: 15.67 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.3671, allocations: 0.708 MB / 0.6463 GB, free: 14.95 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.312e-05/0.3672, allocations: 41.64 kB / 0.6463 GB, free: 14.91 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002919/0.3675, allocations: 376.8 kB / 0.6467 GB, free: 14.53 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002555/0.3677, allocations: 236.7 kB / 0.6469 GB, free: 14.3 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002208/0.368, allocations: 106.2 kB / 0.647 GB, free: 14.18 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.3681, allocations: 326 kB / 0.6473 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008875/0.369, allocations: 409.1 kB / 0.6477 GB, free: 13.46 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009438/0.3699, allocations: 0.5058 MB / 0.6482 GB, free: 12.92 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001781/0.3717, allocations: 0.9198 MB / 0.6491 GB, free: 11.96 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.3718, allocations: 0 / 0.6491 GB, free: 11.96 MB / 462.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008153/0.3799, allocations: 2.575 MB / 0.6516 GB, free: 9.371 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/0.38, allocations: 12.03 kB / 0.6517 GB, free: 9.359 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.38, allocations: 3.938 kB / 0.6517 GB, free: 9.355 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003963/0.384, allocations: 1.124 MB / 0.6528 GB, free: 8.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004461/0.3844, allocations: 95.89 kB / 0.6528 GB, free: 8.137 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01493/0.3994, allocations: 6.784 MB / 0.6595 GB, free: 1.203 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009086/0.4003, allocations: 111.5 kB / 0.6596 GB, free: 1.094 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.029e-05/0.4004, allocations: 28 kB / 0.6596 GB, free: 1.066 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.0003211/0.4007, allocations: 201.6 kB / 0.6598 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/0.4009, allocations: 94.89 kB / 0.6599 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008184/0.4091, allocations: 2.623 MB / 0.6625 GB, free: 14.12 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.298e-06/0.4091, allocations: 12 kB / 0.6625 GB, free: 14.11 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.4091, allocations: 3.938 kB / 0.6625 GB, free: 14.11 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.4091, allocations: 7.984 kB / 0.6625 GB, free: 14.1 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009436/0.4186, allocations: 3.82 MB / 0.6662 GB, free: 10.15 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.4186, allocations: 0 / 0.6662 GB, free: 10.15 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003882/0.419, allocations: 75.89 kB / 0.6663 GB, free: 10.08 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00356/0.4226, allocations: 1.082 MB / 0.6673 GB, free: 8.992 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.999e-05/0.4227, allocations: 19.94 kB / 0.6674 GB, free: 8.973 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01269/0.4354, allocations: 6.001 MB / 0.6732 GB, free: 2.828 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.4354, allocations: 0 / 0.6732 GB, free: 2.828 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009178/0.4446, allocations: 3.228 MB / 0.6764 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002973/0.4449, allocations: 175.9 kB / 0.6765 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/0.445, allocations: 12 kB / 0.6765 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007711/0.4458, allocations: 71.91 kB / 0.6766 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004059/0.4462, allocations: 152.4 kB / 0.6768 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.085e-05/0.4463, allocations: 19.98 kB / 0.6768 GB, free: 15.13 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006479/0.447, allocations: 0.4912 MB / 0.6773 GB, free: 14.65 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.447, allocations: 0 / 0.6773 GB, free: 14.65 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008993/0.4479, allocations: 291.7 kB / 0.6775 GB, free: 14.36 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.0001832/0.4481, allocations: 111.2 kB / 0.6776 GB, free: 14.24 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003962/0.452, allocations: 1.548 MB / 0.6792 GB, free: 12.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4521, allocations: 128 / 0.6792 GB, free: 12.68 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002784/0.4548, allocations: 1.06 MB / 0.6802 GB, free: 11.61 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005693/0.4554, allocations: 87.36 kB / 0.6803 GB, free: 11.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003279/0.4587, allocations: 1.585 MB / 0.6818 GB, free: 9.91 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005877/0.4593, allocations: 0.9787 MB / 0.6828 GB, free: 8.902 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002174/0.4596, allocations: 69.12 kB / 0.6828 GB, free: 8.836 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/0.4597, allocations: 47.44 kB / 0.6829 GB, free: 8.789 MB / 494.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4597, allocations: 0 / 0.6829 GB, free: 8.789 MB / 494.1 MB Notification: Performance of Templates: time 0.02644/0.4862, allocations: 17.06 MB / 0.6995 GB, free: 7.727 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)