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.001583/0.001583, allocations: 176.2 kB / 7.643 MB, free: 1.414 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.358/1.358, allocations: 221.5 MB / 229.6 MB, free: 7.582 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.000938/0.0009383, allocations: 88.12 kB / 280.5 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4751/0.4751, allocations: 78.07 MB / 409.3 MB, free: 6.352 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.169e-05/1.171e-05, allocations: 0 / 484.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1372, allocations: 69.35 MB / 0.5413 GB, free: 6.887 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3872/0.5244, allocations: 96.27 MB / 0.6353 GB, free: 3.359 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/0.5246, allocations: 71.95 kB / 0.6353 GB, free: 3.289 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05158/0.5762, allocations: 18.28 MB / 0.6532 GB, free: 1.074 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.5763, allocations: 0 / 0.6532 GB, free: 1.074 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.145e-05/0.5764, allocations: 16.22 kB / 0.6532 GB, free: 1.059 MB / 458.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.003743/0.5801, allocations: 1.273 MB / 0.6545 GB, free: 15.74 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.5802, allocations: 8.031 kB / 0.6545 GB, free: 15.73 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001922/0.5821, allocations: 322.5 kB / 0.6548 GB, free: 15.42 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/0.5834, allocations: 0.5708 MB / 0.6553 GB, free: 14.8 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002592/0.5837, allocations: 189.8 kB / 0.6555 GB, free: 14.59 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/0.5839, allocations: 28 kB / 0.6555 GB, free: 14.56 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001056/0.585, allocations: 0.5298 MB / 0.6561 GB, free: 14.03 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.5861, allocations: 0.586 MB / 0.6566 GB, free: 13.43 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.5861, allocations: 0 / 0.6566 GB, free: 13.43 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.764e-05/0.5862, allocations: 0 / 0.6566 GB, free: 13.43 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.5862, allocations: 16 kB / 0.6566 GB, free: 13.41 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005133/0.5913, allocations: 2.635 MB / 0.6592 GB, free: 10.64 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.5925, allocations: 0.9087 MB / 0.6601 GB, free: 9.617 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005738/0.5931, allocations: 355.4 kB / 0.6604 GB, free: 9.266 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.72e-05/0.5932, allocations: 12.55 kB / 0.6605 GB, free: 9.25 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008004/0.594, allocations: 480.5 kB / 0.6609 GB, free: 8.766 MB / 474.7 MB Notification: Performance of pre-optimization done (n=66): time 4.629e-06/0.594, allocations: 3.984 kB / 0.6609 GB, free: 8.762 MB / 474.7 MB Notification: Performance of matching and sorting (n=66): time 0.008101/0.6021, allocations: 2.599 MB / 0.6635 GB, free: 6.145 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.118e-05/0.6022, allocations: 86.98 kB / 0.6635 GB, free: 6.043 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009731/0.6032, allocations: 0.5472 MB / 0.6641 GB, free: 5.492 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001087/0.6033, allocations: 33.62 kB / 0.6641 GB, free: 5.453 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003029/0.6036, allocations: 384.6 kB / 0.6645 GB, free: 5.07 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003061/0.604, allocations: 216.7 kB / 0.6647 GB, free: 4.855 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.413e-05/0.604, allocations: 0 / 0.6647 GB, free: 4.855 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.6042, allocations: 338 kB / 0.665 GB, free: 4.52 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005012/0.6047, allocations: 277.6 kB / 0.6653 GB, free: 4.246 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005299/0.6052, allocations: 381.9 kB / 0.6656 GB, free: 3.84 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005241/0.6057, allocations: 314 kB / 0.6659 GB, free: 3.531 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.6058, allocations: 0 / 0.6659 GB, free: 3.531 MB / 474.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008104/0.6139, allocations: 2.661 MB / 0.6685 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.6139, allocations: 11.98 kB / 0.6685 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.6139, allocations: 4 kB / 0.6685 GB, free: 0.8438 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00366/0.6176, allocations: 1.044 MB / 0.6696 GB, free: 15.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005008/0.6181, allocations: 99.89 kB / 0.6697 GB, free: 15.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01054/0.6287, allocations: 5.235 MB / 0.6748 GB, free: 10.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.6298, allocations: 131.6 kB / 0.6749 GB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.45e-05/0.6299, allocations: 20 kB / 0.6749 GB, free: 10.2 MB / 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.0002364/0.6302, allocations: 124.7 kB / 0.675 GB, free: 10.07 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003007/0.6305, allocations: 94.88 kB / 0.6751 GB, free: 9.973 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008173/0.6387, allocations: 2.655 MB / 0.6777 GB, free: 7.297 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/0.6387, allocations: 15.98 kB / 0.6777 GB, free: 7.281 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.6387, allocations: 0 / 0.6777 GB, free: 7.281 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.498e-05/0.6387, allocations: 0 / 0.6777 GB, free: 7.281 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009689/0.6484, allocations: 3.846 MB / 0.6815 GB, free: 3.324 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.716e-05/0.6485, allocations: 4 kB / 0.6815 GB, free: 3.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005403/0.6491, allocations: 83.89 kB / 0.6816 GB, free: 3.238 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003547/0.6526, allocations: 1.028 MB / 0.6826 GB, free: 2.207 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000174/0.6528, allocations: 5.875 kB / 0.6826 GB, free: 2.203 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009498/0.6623, allocations: 4.699 MB / 0.6872 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.6624, allocations: 0 / 0.6872 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009146/0.6716, allocations: 3.211 MB / 0.6903 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003499/0.6719, allocations: 175.9 kB / 0.6905 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002192/0.6722, allocations: 4 kB / 0.6905 GB, free: 9.949 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009473/0.6731, allocations: 98.62 kB / 0.6906 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004506/0.6736, allocations: 148.2 kB / 0.6907 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.715e-05/0.6737, allocations: 20 kB / 0.6907 GB, free: 9.691 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006438/0.6743, allocations: 439.1 kB / 0.6911 GB, free: 9.27 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6743, allocations: 4 kB / 0.6912 GB, free: 9.266 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001232/0.6756, allocations: 275.6 kB / 0.6914 GB, free: 8.996 MB / 0.4948 GB 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.0002432/0.6758, allocations: 120.4 kB / 0.6915 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003501/0.6793, allocations: 1.289 MB / 0.6928 GB, free: 7.578 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.6794, allocations: 4 kB / 0.6928 GB, free: 7.574 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002812/0.6822, allocations: 0.9891 MB / 0.6938 GB, free: 6.578 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006305/0.6828, allocations: 55.25 kB / 0.6938 GB, free: 6.52 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003255/0.6861, allocations: 1.172 MB / 0.695 GB, free: 5.32 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006366/0.6868, allocations: 0.9894 MB / 0.6959 GB, free: 4.305 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003104/0.6871, allocations: 48.55 kB / 0.696 GB, free: 4.258 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/0.6873, allocations: 47.44 kB / 0.696 GB, free: 4.211 MB / 0.4948 GB Notification: Performance of SimCode: time 5.81e-07/0.6873, allocations: 0 / 0.696 GB, free: 4.211 MB / 0.4948 GB Notification: Performance of Templates: time 0.02263/0.7099, allocations: 13.19 MB / 0.7089 GB, free: 7.141 MB / 0.5105 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)