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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 183.4 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 239.7 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 113.2 kB / 289.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4321/0.4321, allocations: 78.48 MB / 418.5 MB, free: 8.844 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 63.91 kB / 497.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2742, allocations: 68.12 MB / 0.5523 GB, free: 20.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.004466/0.2787, allocations: 5.542 MB / 0.5577 GB, free: 14.68 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002394/0.2811, allocations: 1.442 MB / 0.5591 GB, free: 13.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003003/0.2815, allocations: 8 kB / 0.5591 GB, free: 13.22 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003183/0.2818, allocations: 127.2 kB / 0.5592 GB, free: 13.1 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004996/0.2823, allocations: 282.1 kB / 0.5595 GB, free: 12.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.2834, allocations: 0.5944 MB / 0.5601 GB, free: 12.23 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006034/0.284, allocations: 1.023 MB / 0.5611 GB, free: 11.2 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002594/0.2843, allocations: 204.1 kB / 0.5613 GB, free: 10.99 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002709/0.2846, allocations: 394.1 kB / 0.5617 GB, free: 10.61 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004133/0.285, allocations: 0.5092 MB / 0.5622 GB, free: 10.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.899e-05/0.2851, allocations: 48 kB / 0.5622 GB, free: 10.05 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001985/0.2853, allocations: 108 kB / 0.5623 GB, free: 9.941 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.2854, allocations: 171.1 kB / 0.5625 GB, free: 9.773 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002439/0.2856, allocations: 445.2 kB / 0.5629 GB, free: 9.336 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005887/0.2862, allocations: 1.049 MB / 0.5639 GB, free: 8.285 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2862, allocations: 4 kB / 0.5639 GB, free: 8.281 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2863, allocations: 0 / 0.5639 GB, free: 8.281 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.385e-06/0.2863, allocations: 0 / 0.5639 GB, free: 8.281 MB / 378.7 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.004304/0.2906, allocations: 1.756 MB / 0.5656 GB, free: 6.473 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.2906, allocations: 12.03 kB / 0.5657 GB, free: 6.461 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002314/0.2929, allocations: 442.7 kB / 0.5661 GB, free: 6.027 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006812/0.2936, allocations: 0.6349 MB / 0.5667 GB, free: 5.352 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001794/0.2938, allocations: 197.8 kB / 0.5669 GB, free: 5.129 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.316e-05/0.2939, allocations: 48 kB / 0.5669 GB, free: 5.082 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.2952, allocations: 0.772 MB / 0.5677 GB, free: 4.297 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.2952, allocations: 0 / 0.5677 GB, free: 4.297 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.709e-05/0.2953, allocations: 24 kB / 0.5677 GB, free: 4.273 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.2953, allocations: 15.94 kB / 0.5677 GB, free: 4.258 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/0.2967, allocations: 0.7039 MB / 0.5684 GB, free: 3.555 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00368/0.3003, allocations: 2.687 MB / 0.571 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/0.3017, allocations: 1.036 MB / 0.572 GB, free: 15.56 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009824/0.3027, allocations: 485.6 kB / 0.5725 GB, free: 15.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.545e-05/0.3028, allocations: 20.53 kB / 0.5725 GB, free: 15.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001238/0.3041, allocations: 0.588 MB / 0.5731 GB, free: 14.46 MB / 394.7 MB Notification: Performance of pre-optimization done (n=66): time 2.705e-06/0.3041, allocations: 0 / 0.5731 GB, free: 14.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=66): time 0.01895/0.3231, allocations: 4.6 MB / 0.5776 GB, free: 9.82 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/0.3231, allocations: 85.67 kB / 0.5777 GB, free: 9.719 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000976/0.3241, allocations: 0.708 MB / 0.5784 GB, free: 9 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001347/0.3243, allocations: 41.73 kB / 0.5784 GB, free: 8.953 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002593/0.3245, allocations: 380.8 kB / 0.5788 GB, free: 8.578 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002291/0.3248, allocations: 228.7 kB / 0.579 GB, free: 8.352 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002105/0.325, allocations: 102.2 kB / 0.5791 GB, free: 8.246 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.3251, allocations: 334 kB / 0.5794 GB, free: 7.914 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009309/0.3261, allocations: 409 kB / 0.5798 GB, free: 7.516 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000989/0.3271, allocations: 0.502 MB / 0.5803 GB, free: 6.977 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001864/0.3289, allocations: 0.9237 MB / 0.5812 GB, free: 6.012 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.329, allocations: 4 kB / 0.5812 GB, free: 6.008 MB / 394.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008719/0.3377, allocations: 2.578 MB / 0.5837 GB, free: 3.418 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.3377, allocations: 8 kB / 0.5837 GB, free: 3.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.3377, allocations: 11.94 kB / 0.5837 GB, free: 3.398 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004213/0.342, allocations: 1.124 MB / 0.5848 GB, free: 2.273 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004257/0.3424, allocations: 87.89 kB / 0.5849 GB, free: 2.188 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01448/0.3569, allocations: 6.231 MB / 0.591 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009764/0.3579, allocations: 123.4 kB / 0.5911 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.384e-05/0.358, allocations: 23.98 kB / 0.5911 GB, free: 11.66 MB / 410.7 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.0003568/0.3584, allocations: 205.6 kB / 0.5913 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001939/0.3586, allocations: 94.81 kB / 0.5914 GB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009157/0.3678, allocations: 2.627 MB / 0.594 GB, free: 8.707 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/0.3678, allocations: 12 kB / 0.594 GB, free: 8.695 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3678, allocations: 0 / 0.594 GB, free: 8.695 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/0.3678, allocations: 3.984 kB / 0.594 GB, free: 8.691 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01165/0.3795, allocations: 3.822 MB / 0.5977 GB, free: 4.746 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.319e-06/0.3795, allocations: 0 / 0.5977 GB, free: 4.746 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004836/0.38, allocations: 87.89 kB / 0.5978 GB, free: 4.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004107/0.3841, allocations: 1.078 MB / 0.5989 GB, free: 3.578 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.263e-05/0.3842, allocations: 12 kB / 0.5989 GB, free: 3.566 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0129/0.3971, allocations: 5.48 MB / 0.6042 GB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.3971, allocations: 0 / 0.6042 GB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06534/0.4625, allocations: 22.5 MB / 0.6262 GB, free: 7.117 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002043/0.4627, allocations: 175.9 kB / 0.6264 GB, free: 6.926 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/0.4629, allocations: 16 kB / 0.6264 GB, free: 6.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008075/0.4637, allocations: 79.86 kB / 0.6265 GB, free: 6.832 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004463/0.4641, allocations: 140.3 kB / 0.6266 GB, free: 6.695 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.387e-05/0.4642, allocations: 19.98 kB / 0.6266 GB, free: 6.676 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006724/0.4649, allocations: 0.4912 MB / 0.6271 GB, free: 6.191 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4649, allocations: 0 / 0.6271 GB, free: 6.191 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001406/0.4663, allocations: 431.7 kB / 0.6275 GB, free: 5.77 MB / 442.7 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.0002161/0.4665, allocations: 115.2 kB / 0.6276 GB, free: 5.648 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004201/0.4707, allocations: 1.501 MB / 0.6291 GB, free: 4.141 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.4708, allocations: 0 / 0.6291 GB, free: 4.141 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003006/0.4738, allocations: 1.043 MB / 0.6301 GB, free: 3.086 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005645/0.4744, allocations: 85.64 kB / 0.6302 GB, free: 3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005547/0.4799, allocations: 2.818 MB / 0.6329 GB, free: 132 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005615/0.4805, allocations: 0.9987 MB / 0.6339 GB, free: 15.11 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002484/0.4807, allocations: 65.14 kB / 0.634 GB, free: 15.04 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/0.4809, allocations: 55.42 kB / 0.634 GB, free: 14.98 MB / 458.7 MB Notification: Performance of SimCode: time 4.41e-07/0.4809, allocations: 0 / 0.634 GB, free: 14.98 MB / 458.7 MB Notification: Performance of Templates: time 0.03208/0.513, allocations: 21.91 MB / 0.6554 GB, free: 9.07 MB / 474.7 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)