Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL.Tests.FACTS.STATCOM_Test") translateModel(OpenIPSL.Tests.FACTS.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.00187/0.00187, allocations: 168.2 kB / 16.1 MB, free: 5.691 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.474/1.474, allocations: 223.3 MB / 240.1 MB, free: 9.859 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.000823/0.0008231, allocations: 98.42 kB / 291.3 MB, free: 10.53 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5216/0.5216, allocations: 78.61 MB / 421 MB, free: 9.051 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004143/0.0004144, allocations: 11.94 kB / 0.4894 GB, free: 9.25 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3644, allocations: 69.35 MB / 0.5571 GB, free: 18.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.005094/0.3696, allocations: 5.102 MB / 0.5621 GB, free: 13.68 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003088/0.3727, allocations: 1.427 MB / 0.5635 GB, free: 12.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000935/0.3736, allocations: 8 kB / 0.5635 GB, free: 12.24 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006116/0.3743, allocations: 135.2 kB / 0.5636 GB, free: 12.11 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00123/0.3755, allocations: 278.1 kB / 0.5639 GB, free: 11.83 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001471/0.377, allocations: 0.5756 MB / 0.5645 GB, free: 11.26 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001276/0.3783, allocations: 1.007 MB / 0.5655 GB, free: 10.25 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004019/0.3787, allocations: 204.1 kB / 0.5657 GB, free: 10.04 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006191/0.3793, allocations: 394.1 kB / 0.566 GB, free: 9.648 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008236/0.3802, allocations: 489.5 kB / 0.5665 GB, free: 9.168 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002672/0.3805, allocations: 40 kB / 0.5665 GB, free: 9.129 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004/0.3809, allocations: 99.91 kB / 0.5666 GB, free: 9.031 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001393/0.381, allocations: 163.1 kB / 0.5668 GB, free: 8.871 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003417/0.3814, allocations: 447 kB / 0.5672 GB, free: 8.426 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005704/0.3819, allocations: 0.7928 MB / 0.568 GB, free: 7.633 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.382, allocations: 7.938 kB / 0.568 GB, free: 7.625 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.382, allocations: 4 kB / 0.568 GB, free: 7.621 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.382, allocations: 4 kB / 0.568 GB, free: 7.617 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.003941/0.3859, allocations: 1.624 MB / 0.5696 GB, free: 5.941 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.386, allocations: 12.03 kB / 0.5696 GB, free: 5.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002359/0.3883, allocations: 450.6 kB / 0.57 GB, free: 5.488 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007196/0.3891, allocations: 0.6272 MB / 0.5706 GB, free: 4.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001914/0.3893, allocations: 209.8 kB / 0.5708 GB, free: 4.586 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.835e-05/0.3894, allocations: 56 kB / 0.5709 GB, free: 4.531 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.3907, allocations: 0.8227 MB / 0.5717 GB, free: 3.695 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.3907, allocations: 0 / 0.5717 GB, free: 3.695 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.986e-05/0.3907, allocations: 20 kB / 0.5717 GB, free: 3.676 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.3908, allocations: 19.94 kB / 0.5717 GB, free: 3.656 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/0.3921, allocations: 0.7586 MB / 0.5725 GB, free: 2.898 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003522/0.3956, allocations: 2.738 MB / 0.5751 GB, free: 4 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/0.3973, allocations: 1.084 MB / 0.5762 GB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001031/0.3983, allocations: 0.5338 MB / 0.5767 GB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.681e-05/0.3984, allocations: 16.53 kB / 0.5767 GB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001274/0.3997, allocations: 0.6451 MB / 0.5774 GB, free: 13.59 MB / 394.7 MB Notification: Performance of pre-optimization done (n=66): time 1.934e-06/0.3997, allocations: 0 / 0.5774 GB, free: 13.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=66): time 0.01845/0.4182, allocations: 5.612 MB / 0.5829 GB, free: 7.941 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.4182, allocations: 89.7 kB / 0.5829 GB, free: 7.836 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009821/0.4192, allocations: 0.7118 MB / 0.5836 GB, free: 7.113 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.116e-05/0.4193, allocations: 37.7 kB / 0.5837 GB, free: 7.07 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002969/0.4196, allocations: 384.7 kB / 0.584 GB, free: 6.691 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002452/0.4199, allocations: 228.7 kB / 0.5843 GB, free: 6.465 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.923e-05/0.42, allocations: 49.7 kB / 0.5843 GB, free: 6.41 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.4201, allocations: 334 kB / 0.5846 GB, free: 6.078 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009422/0.4211, allocations: 457.1 kB / 0.5851 GB, free: 5.633 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/0.4221, allocations: 0.5644 MB / 0.5856 GB, free: 5.031 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00192/0.424, allocations: 1.014 MB / 0.5866 GB, free: 3.98 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.4241, allocations: 0 / 0.5866 GB, free: 3.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008665/0.4327, allocations: 3.16 MB / 0.5897 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.4328, allocations: 4 kB / 0.5897 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.4328, allocations: 7.938 kB / 0.5897 GB, free: 0.793 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004041/0.4368, allocations: 1.308 MB / 0.591 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004151/0.4373, allocations: 103.8 kB / 0.5911 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01493/0.4522, allocations: 6.864 MB / 0.5978 GB, free: 8.371 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009884/0.4532, allocations: 135.6 kB / 0.5979 GB, free: 8.238 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.455e-05/0.4533, allocations: 28 kB / 0.5979 GB, free: 8.211 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.0003403/0.4536, allocations: 201.6 kB / 0.5981 GB, free: 8.004 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.4538, allocations: 90.88 kB / 0.5982 GB, free: 7.914 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008765/0.4625, allocations: 3.197 MB / 0.6013 GB, free: 4.699 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.4626, allocations: 12 kB / 0.6013 GB, free: 4.688 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.4626, allocations: 0 / 0.6013 GB, free: 4.688 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.4626, allocations: 4 kB / 0.6013 GB, free: 4.684 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01065/0.4733, allocations: 4.396 MB / 0.6056 GB, free: 172 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/0.4733, allocations: 4 kB / 0.6056 GB, free: 168 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004101/0.4738, allocations: 83.89 kB / 0.6057 GB, free: 84 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003954/0.4777, allocations: 1.266 MB / 0.607 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.846e-05/0.4778, allocations: 12 kB / 0.607 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01285/0.4907, allocations: 6.03 MB / 0.6129 GB, free: 8.633 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.4907, allocations: 0 / 0.6129 GB, free: 8.633 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01005/0.5008, allocations: 3.841 MB / 0.6166 GB, free: 4.766 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003798/0.5012, allocations: 179.9 kB / 0.6168 GB, free: 4.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.5013, allocations: 19.98 kB / 0.6168 GB, free: 4.551 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007318/0.502, allocations: 111.9 kB / 0.6169 GB, free: 4.441 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004807/0.5025, allocations: 144.3 kB / 0.617 GB, free: 4.301 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.091e-05/0.5026, allocations: 16 kB / 0.6171 GB, free: 4.285 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007045/0.5033, allocations: 0.4951 MB / 0.6175 GB, free: 3.793 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5033, allocations: 0 / 0.6175 GB, free: 3.793 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009452/0.5043, allocations: 291.7 kB / 0.6178 GB, free: 3.508 MB / 426.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.0001951/0.5045, allocations: 115.2 kB / 0.6179 GB, free: 3.387 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004211/0.5087, allocations: 1.696 MB / 0.6196 GB, free: 1.676 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.5087, allocations: 4.125 kB / 0.6196 GB, free: 1.672 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002944/0.5116, allocations: 1.169 MB / 0.6207 GB, free: 0.4961 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007113/0.5124, allocations: 83.25 kB / 0.6208 GB, free: 424 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003268/0.5156, allocations: 2.012 MB / 0.6228 GB, free: 14.36 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005696/0.5162, allocations: 0.9786 MB / 0.6237 GB, free: 13.36 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.5164, allocations: 55.42 kB / 0.6238 GB, free: 13.31 MB / 442.7 MB Notification: Performance of SimCode: time 4.51e-07/0.5164, allocations: 0 / 0.6238 GB, free: 13.31 MB / 442.7 MB Notification: Performance of Templates: time 0.01808/0.5345, allocations: 14.13 MB / 0.6376 GB, free: 15.16 MB / 458.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test.sim & ./OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1)