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/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.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 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_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/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 182.9 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.291/1.291, 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.0009296/0.0009296, allocations: 109.6 kB / 289.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4016/0.4016, allocations: 78.52 MB / 418.5 MB, free: 8.523 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 63.91 kB / 497.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2411, allocations: 68.17 MB / 0.5524 GB, free: 19.87 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.004318/0.2454, allocations: 5.537 MB / 0.5578 GB, free: 14.3 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00215/0.2476, allocations: 1.446 MB / 0.5592 GB, free: 12.86 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005157/0.2481, allocations: 8 kB / 0.5592 GB, free: 12.85 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004031/0.2486, allocations: 123.2 kB / 0.5593 GB, free: 12.73 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006063/0.2492, allocations: 278.1 kB / 0.5596 GB, free: 12.45 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.2502, allocations: 0.5983 MB / 0.5602 GB, free: 11.86 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006425/0.2508, allocations: 1.027 MB / 0.5612 GB, free: 10.83 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002363/0.2511, allocations: 200.1 kB / 0.5614 GB, free: 10.62 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002596/0.2514, allocations: 410.1 kB / 0.5618 GB, free: 10.22 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004046/0.2518, allocations: 0.5054 MB / 0.5623 GB, free: 9.711 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.836e-05/0.2519, allocations: 48 kB / 0.5623 GB, free: 9.664 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002019/0.2521, allocations: 104 kB / 0.5624 GB, free: 9.562 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.2522, allocations: 179 kB / 0.5626 GB, free: 9.387 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002371/0.2524, allocations: 441.2 kB / 0.563 GB, free: 8.953 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005599/0.253, allocations: 1.045 MB / 0.564 GB, free: 7.906 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.253, allocations: 0 / 0.564 GB, free: 7.906 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.253, allocations: 4 kB / 0.564 GB, free: 7.902 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.253, allocations: 0 / 0.564 GB, free: 7.902 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.004191/0.2572, allocations: 1.756 MB / 0.5658 GB, free: 6.094 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.2573, allocations: 8.031 kB / 0.5658 GB, free: 6.086 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002278/0.2596, allocations: 442.7 kB / 0.5662 GB, free: 5.652 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006689/0.2602, allocations: 0.6349 MB / 0.5668 GB, free: 4.977 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001735/0.2604, allocations: 197.8 kB / 0.567 GB, free: 4.754 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.666e-05/0.2605, allocations: 48 kB / 0.567 GB, free: 4.707 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.2617, allocations: 0.772 MB / 0.5678 GB, free: 3.922 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.2618, allocations: 7.922 kB / 0.5678 GB, free: 3.914 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.478e-05/0.2618, allocations: 20 kB / 0.5678 GB, free: 3.895 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.2618, allocations: 19.94 kB / 0.5678 GB, free: 3.875 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001277/0.2631, allocations: 0.7039 MB / 0.5685 GB, free: 3.172 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003504/0.2666, allocations: 2.679 MB / 0.5711 GB, free: 344 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.2681, allocations: 1.042 MB / 0.5722 GB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009465/0.269, allocations: 495.1 kB / 0.5726 GB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.203e-05/0.2691, allocations: 12.55 kB / 0.5726 GB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001178/0.2703, allocations: 0.5842 MB / 0.5732 GB, free: 14.08 MB / 394.7 MB Notification: Performance of pre-optimization done (n=66): time 2.234e-06/0.2703, allocations: 0 / 0.5732 GB, free: 14.08 MB / 394.7 MB Notification: Performance of matching and sorting (n=66): time 0.01838/0.2887, allocations: 4.6 MB / 0.5777 GB, free: 9.441 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.2888, allocations: 89.61 kB / 0.5778 GB, free: 9.336 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008485/0.2896, allocations: 0.7041 MB / 0.5785 GB, free: 8.621 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.312e-05/0.2897, allocations: 41.7 kB / 0.5785 GB, free: 8.574 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/0.29, allocations: 376.8 kB / 0.5789 GB, free: 8.203 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002057/0.2902, allocations: 236.7 kB / 0.5791 GB, free: 7.969 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/0.2904, allocations: 106.2 kB / 0.5792 GB, free: 7.859 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.2905, allocations: 334 kB / 0.5795 GB, free: 7.527 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008885/0.2914, allocations: 401.1 kB / 0.5799 GB, free: 7.137 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009769/0.2924, allocations: 0.5059 MB / 0.5804 GB, free: 6.594 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001797/0.2942, allocations: 0.912 MB / 0.5813 GB, free: 5.641 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.2942, allocations: 4 kB / 0.5813 GB, free: 5.637 MB / 394.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00854/0.3027, allocations: 2.586 MB / 0.5838 GB, free: 3.039 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.3028, allocations: 8 kB / 0.5838 GB, free: 3.031 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.3028, allocations: 7.938 kB / 0.5838 GB, free: 3.023 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00397/0.3068, allocations: 1.124 MB / 0.5849 GB, free: 1.898 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004207/0.3072, allocations: 95.83 kB / 0.585 GB, free: 1.805 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01429/0.3215, allocations: 6.227 MB / 0.5911 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000923/0.3225, allocations: 115.5 kB / 0.5912 GB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.4e-05/0.3225, allocations: 20 kB / 0.5912 GB, free: 11.29 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.0002867/0.3228, allocations: 205.6 kB / 0.5914 GB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.323, allocations: 94.81 kB / 0.5915 GB, free: 10.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008723/0.3317, allocations: 2.627 MB / 0.5941 GB, free: 8.344 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.3317, allocations: 8 kB / 0.5941 GB, free: 8.336 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.3317, allocations: 0 / 0.5941 GB, free: 8.336 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.3318, allocations: 7.984 kB / 0.5941 GB, free: 8.328 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009729/0.3415, allocations: 3.822 MB / 0.5978 GB, free: 4.383 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.3415, allocations: 4 kB / 0.5978 GB, free: 4.379 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003865/0.3419, allocations: 79.89 kB / 0.5979 GB, free: 4.301 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003726/0.3457, allocations: 1.074 MB / 0.599 GB, free: 3.223 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.899e-05/0.3457, allocations: 12 kB / 0.599 GB, free: 3.211 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0122/0.3579, allocations: 5.491 MB / 0.6043 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.358, allocations: 0 / 0.6043 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06185/0.4198, allocations: 22.5 MB / 0.6263 GB, free: 6.75 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002085/0.4201, allocations: 179.9 kB / 0.6265 GB, free: 6.555 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.4202, allocations: 12 kB / 0.6265 GB, free: 6.543 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000772/0.421, allocations: 79.91 kB / 0.6266 GB, free: 6.465 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004578/0.4214, allocations: 136.3 kB / 0.6267 GB, free: 6.332 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-05/0.4215, allocations: 19.98 kB / 0.6267 GB, free: 6.312 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005892/0.4221, allocations: 0.4912 MB / 0.6272 GB, free: 5.828 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4221, allocations: 0 / 0.6272 GB, free: 5.828 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001278/0.4234, allocations: 431.7 kB / 0.6276 GB, free: 5.406 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.0002024/0.4236, allocations: 115.2 kB / 0.6277 GB, free: 5.285 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004101/0.4277, allocations: 1.505 MB / 0.6292 GB, free: 3.773 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.4277, allocations: 0 / 0.6292 GB, free: 3.773 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002968/0.4307, allocations: 1.043 MB / 0.6302 GB, free: 2.719 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006655/0.4314, allocations: 79.3 kB / 0.6303 GB, free: 2.637 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005567/0.437, allocations: 2.825 MB / 0.633 GB, free: 15.76 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005423/0.4375, allocations: 0.9948 MB / 0.634 GB, free: 14.74 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002765/0.4378, allocations: 73.11 kB / 0.6341 GB, free: 14.67 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.438, allocations: 51.38 kB / 0.6341 GB, free: 14.62 MB / 458.7 MB Notification: Performance of SimCode: time 4.61e-07/0.438, allocations: 0 / 0.6341 GB, free: 14.62 MB / 458.7 MB Notification: Performance of Templates: time 0.031/0.469, allocations: 21.91 MB / 0.6555 GB, free: 8.727 MB / 474.7 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)