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.001357/0.001357, allocations: 175.1 kB / 12.73 MB, free: 2.59 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.263/1.263, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.0008822/0.0008825, allocations: 92.56 kB / 285.6 MB, free: 12.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4482/0.4482, allocations: 78.03 MB / 414.5 MB, free: 10.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.93e-05/2.931e-05, allocations: 0 / 491.7 MB, free: 13.88 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3284, allocations: 69.35 MB / 0.5479 GB, free: 20.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1684/0.4968, allocations: 96.92 MB / 0.6426 GB, free: 3.465 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.4972, allocations: 75.97 kB / 0.6427 GB, free: 3.391 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05123/0.5484, allocations: 18.51 MB / 0.6607 GB, free: 0.7227 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5485, allocations: 4 kB / 0.6607 GB, free: 0.7188 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.689e-05/0.5485, allocations: 12 kB / 0.6608 GB, free: 0.707 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.003224/0.5517, allocations: 1.266 MB / 0.662 GB, free: 15.39 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.5518, allocations: 11.97 kB / 0.662 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00174/0.5535, allocations: 326.4 kB / 0.6623 GB, free: 15.06 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/0.5548, allocations: 0.5752 MB / 0.6629 GB, free: 14.45 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000277/0.5551, allocations: 209.8 kB / 0.6631 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.5552, allocations: 55.94 kB / 0.6631 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.5564, allocations: 0.6589 MB / 0.6638 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.5564, allocations: 0 / 0.6638 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.767e-05/0.5565, allocations: 20 kB / 0.6638 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.5565, allocations: 12 kB / 0.6638 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.5576, allocations: 0.5597 MB / 0.6644 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004851/0.5624, allocations: 2.734 MB / 0.667 GB, free: 10 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/0.5636, allocations: 0.9293 MB / 0.6679 GB, free: 8.957 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005703/0.5642, allocations: 375.4 kB / 0.6683 GB, free: 8.582 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001012/0.5643, allocations: 20.47 kB / 0.6683 GB, free: 8.562 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000802/0.5652, allocations: 490.4 kB / 0.6688 GB, free: 8.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=66): time 3.417e-06/0.5652, allocations: 0 / 0.6688 GB, free: 8.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=66): time 0.008214/0.5734, allocations: 2.649 MB / 0.6714 GB, free: 5.402 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.7e-05/0.5735, allocations: 85.67 kB / 0.6714 GB, free: 5.301 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009502/0.5745, allocations: 0.5981 MB / 0.672 GB, free: 4.691 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001428/0.5746, allocations: 37.7 kB / 0.6721 GB, free: 4.648 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002854/0.5749, allocations: 384.8 kB / 0.6724 GB, free: 4.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002569/0.5752, allocations: 240.6 kB / 0.6727 GB, free: 4.031 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.275e-05/0.5752, allocations: 12 kB / 0.6727 GB, free: 4.02 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.5754, allocations: 330 kB / 0.673 GB, free: 3.691 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005138/0.5759, allocations: 293.5 kB / 0.6733 GB, free: 3.406 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005725/0.5765, allocations: 403.5 kB / 0.6737 GB, free: 2.973 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005429/0.577, allocations: 323.2 kB / 0.674 GB, free: 2.656 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.577, allocations: 3.938 kB / 0.674 GB, free: 2.652 MB / 490.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.3141/0.8912, allocations: 2.717 MB / 0.6766 GB, free: 109 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/0.8912, allocations: 6.531 kB / 0.6766 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.8913, allocations: 2.969 kB / 0.6766 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004296/0.8956, allocations: 1.064 MB / 0.6777 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005324/0.8961, allocations: 105.4 kB / 0.6778 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0119/0.908, allocations: 5.411 MB / 0.6831 GB, free: 107.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/0.9092, allocations: 145.6 kB / 0.6832 GB, free: 107.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.612e-05/0.9093, allocations: 27.17 kB / 0.6832 GB, free: 107.6 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.0001798/0.9095, allocations: 142 kB / 0.6834 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/0.9096, allocations: 86.5 kB / 0.6834 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008259/0.9179, allocations: 2.73 MB / 0.6861 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.918, allocations: 6.406 kB / 0.6861 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.918, allocations: 0 / 0.6861 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.689e-05/0.918, allocations: 3.656 kB / 0.6861 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008809/0.9268, allocations: 3.977 MB / 0.69 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/0.9269, allocations: 4 kB / 0.69 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004623/0.9273, allocations: 84.48 kB / 0.6901 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003162/0.9305, allocations: 1.04 MB / 0.6911 GB, free: 106.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.495e-05/0.9306, allocations: 11.75 kB / 0.6911 GB, free: 106.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00859/0.9392, allocations: 4.822 MB / 0.6958 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.9393, allocations: 3.875 kB / 0.6958 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00835/0.9476, allocations: 3.261 MB / 0.699 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003849/0.9481, allocations: 180.5 kB / 0.6992 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.9482, allocations: 17.78 kB / 0.6992 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007736/0.949, allocations: 106.7 kB / 0.6993 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004197/0.9494, allocations: 147.6 kB / 0.6994 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.038e-05/0.9495, allocations: 15.91 kB / 0.6994 GB, free: 102.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005466/0.95, allocations: 488 kB / 0.6999 GB, free: 101.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.95, allocations: 0 / 0.6999 GB, free: 101.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009999/0.951, allocations: 305.8 kB / 0.7002 GB, free: 101.8 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.000205/0.9512, allocations: 132.4 kB / 0.7003 GB, free: 101.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003117/0.9544, allocations: 1.345 MB / 0.7016 GB, free: 101.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.9544, allocations: 0 / 0.7016 GB, free: 101.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002404/0.9568, allocations: 1.017 MB / 0.7026 GB, free: 100.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005254/0.9573, allocations: 70.59 kB / 0.7027 GB, free: 100.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.9596, allocations: 1.208 MB / 0.7039 GB, free: 99.88 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.9599, allocations: 0.9916 MB / 0.7049 GB, free: 98.98 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002134/0.9601, allocations: 45.83 kB / 0.7049 GB, free: 98.94 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.9603, allocations: 46.81 kB / 0.7049 GB, free: 98.9 MB / 490.7 MB Notification: Performance of SimCode: time 6.01e-07/0.9603, allocations: 0 / 0.7049 GB, free: 98.9 MB / 490.7 MB Notification: Performance of Templates: time 0.01986/0.9802, allocations: 14.27 MB / 0.7189 GB, free: 87.62 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)