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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003557/0.003557, allocations: 179.2 kB / 7.452 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.229/1.229, allocations: 221.4 MB / 229.3 MB, free: 3.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009071/0.000907, allocations: 96.62 kB / 280.1 MB, free: 1.168 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4104/0.4104, allocations: 78.06 MB / 408.9 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.382e-06/6.402e-06, allocations: 0 / 484.3 MB, free: 4.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2593, allocations: 69.35 MB / 0.5407 GB, free: 21.48 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1125/0.3718, allocations: 96.19 MB / 0.6346 GB, free: 8.57 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/0.3721, allocations: 75.89 kB / 0.6347 GB, free: 8.496 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.05385/0.4259, allocations: 18.01 MB / 0.6523 GB, free: 6.324 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.394e-05/0.426, allocations: 12 kB / 0.6523 GB, free: 6.312 MB / 474.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.003628/0.4297, allocations: 1.309 MB / 0.6536 GB, free: 4.957 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.4297, allocations: 8.031 kB / 0.6536 GB, free: 4.949 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00201/0.4317, allocations: 342.4 kB / 0.6539 GB, free: 4.613 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.4329, allocations: 0.5754 MB / 0.6545 GB, free: 3.992 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002522/0.4332, allocations: 189.8 kB / 0.6547 GB, free: 3.773 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.4333, allocations: 39.94 kB / 0.6547 GB, free: 3.734 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00108/0.4344, allocations: 0.5298 MB / 0.6552 GB, free: 3.207 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.4356, allocations: 0.5822 MB / 0.6558 GB, free: 2.613 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.4356, allocations: 0 / 0.6558 GB, free: 2.613 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.559e-05/0.4357, allocations: 0 / 0.6558 GB, free: 2.613 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.4357, allocations: 19.91 kB / 0.6558 GB, free: 2.594 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005109/0.4408, allocations: 2.658 MB / 0.6584 GB, free: 15.79 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008465/0.4417, allocations: 495 kB / 0.6589 GB, free: 15.29 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005509/0.4422, allocations: 355.6 kB / 0.6592 GB, free: 14.93 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.979e-05/0.4423, allocations: 16.64 kB / 0.6592 GB, free: 14.92 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007208/0.4431, allocations: 454.7 kB / 0.6597 GB, free: 14.46 MB / 490.7 MB Notification: Performance of pre-optimization done (n=66): time 2.344e-06/0.4431, allocations: 0 / 0.6597 GB, free: 14.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=66): time 0.00909/0.4522, allocations: 2.767 MB / 0.6624 GB, free: 11.68 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.4522, allocations: 85.77 kB / 0.6625 GB, free: 11.57 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007932/0.453, allocations: 0.5549 MB / 0.663 GB, free: 11.02 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.763e-05/0.4531, allocations: 25.7 kB / 0.663 GB, free: 10.98 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.4533, allocations: 244.8 kB / 0.6632 GB, free: 10.74 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002454/0.4535, allocations: 228.5 kB / 0.6635 GB, free: 10.51 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.65e-05/0.4536, allocations: 0 / 0.6635 GB, free: 10.51 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.931e-05/0.4537, allocations: 334 kB / 0.6638 GB, free: 10.18 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005102/0.4542, allocations: 285.3 kB / 0.6641 GB, free: 9.898 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006009/0.4548, allocations: 393 kB / 0.6644 GB, free: 9.477 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005853/0.4554, allocations: 319 kB / 0.6647 GB, free: 9.164 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.4554, allocations: 0 / 0.6647 GB, free: 9.164 MB / 490.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.009187/0.4646, allocations: 2.826 MB / 0.6675 GB, free: 6.324 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.4646, allocations: 8.031 kB / 0.6675 GB, free: 6.316 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.4647, allocations: 4 kB / 0.6675 GB, free: 6.312 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00416/0.4688, allocations: 1.088 MB / 0.6686 GB, free: 5.223 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006629/0.4695, allocations: 103.9 kB / 0.6687 GB, free: 5.121 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01133/0.4809, allocations: 4.774 MB / 0.6733 GB, free: 224 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.4822, allocations: 143.3 kB / 0.6735 GB, free: 80 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/0.4823, allocations: 23.98 kB / 0.6735 GB, free: 56 kB / 490.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 ($whenCondition1,$whenCondition2) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {17 11} Notification: Performance of prepare postOptimizeDAE: time 0.1508/0.6331, allocations: 115.6 kB / 0.6736 GB, free: 148.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002693/0.6334, allocations: 90.91 kB / 0.6737 GB, free: 148.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008575/0.642, allocations: 2.822 MB / 0.6764 GB, free: 148.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.642, allocations: 7.156 kB / 0.6765 GB, free: 148.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.642, allocations: 0 / 0.6765 GB, free: 148.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.661e-05/0.6421, allocations: 7.562 kB / 0.6765 GB, free: 148.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009964/0.652, allocations: 3.845 MB / 0.6802 GB, free: 148 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.924e-06/0.6521, allocations: 0 / 0.6802 GB, free: 148 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005107/0.6526, allocations: 93.27 kB / 0.6803 GB, free: 148 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003668/0.6563, allocations: 1.066 MB / 0.6813 GB, free: 148 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.854e-05/0.6564, allocations: 6.688 kB / 0.6814 GB, free: 148 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00912/0.6655, allocations: 4.37 MB / 0.6856 GB, free: 146.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.6656, allocations: 1.125 kB / 0.6856 GB, free: 146.6 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009423/0.675, allocations: 3.381 MB / 0.6889 GB, free: 146.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003063/0.6753, allocations: 177.2 kB / 0.6891 GB, free: 146.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/0.6755, allocations: 0 / 0.6891 GB, free: 146.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000941/0.6764, allocations: 108.7 kB / 0.6892 GB, free: 146.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002424/0.6767, allocations: 94.03 kB / 0.6893 GB, free: 146.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.418e-05/0.6768, allocations: 15.72 kB / 0.6893 GB, free: 146.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0004964/0.6773, allocations: 439.1 kB / 0.6897 GB, free: 146 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009445/0.6782, allocations: 276.2 kB / 0.69 GB, free: 146 MB / 490.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {18 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002287/0.6785, allocations: 124.9 kB / 0.6901 GB, free: 145.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003623/0.6821, allocations: 1.288 MB / 0.6914 GB, free: 145.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.6821, allocations: 0 / 0.6914 GB, free: 145.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002878/0.685, allocations: 0.9638 MB / 0.6923 GB, free: 145.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005451/0.6856, allocations: 52.16 kB / 0.6923 GB, free: 145.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003477/0.6891, allocations: 1.216 MB / 0.6935 GB, free: 145.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006367/0.6897, allocations: 1.021 MB / 0.6945 GB, free: 144.4 MB / 490.7 MB Notification: Performance of SimCode: time 7.01e-07/0.6897, allocations: 7.469 kB / 0.6945 GB, free: 144.4 MB / 490.7 MB Notification: Performance of Templates: time 0.02047/0.7102, allocations: 13.47 MB / 0.7077 GB, free: 143.8 MB / 490.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)