Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.FACTS.STATCOM_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo", uses=false) Using package OpenIPSL with version 2.0.0-beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.FACTS.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.FACTS.STATCOM_Test") translateModel(OpenIPSL.Examples.FACTS.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.FACTS.STATCOM_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 176.1 kB / 16.12 MB, free: 5.668 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.4 MB / 222.3 MB, free: 8.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007312/0.0007312, allocations: 80.86 kB / 270.6 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.3155/0.3155, allocations: 42.28 MB / 361.2 MB, free: 49.31 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004254/0.0004254, allocations: 12 kB / 429.4 MB, free: 7.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1258, allocations: 57.56 MB / 487 MB, free: 14.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4248/0.5507, allocations: 91.89 MB / 0.5653 GB, free: 15.87 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/0.551, allocations: 79.95 kB / 0.5654 GB, free: 15.79 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04954/0.6005, allocations: 17.92 MB / 0.5829 GB, free: 13.76 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.797e-06/0.6006, allocations: 0 / 0.5829 GB, free: 13.76 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.126e-05/0.6006, allocations: 19.94 kB / 0.5829 GB, free: 13.74 MB / 410.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.00357/0.6042, allocations: 1.444 MB / 0.5843 GB, free: 12.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.6043, allocations: 12.03 kB / 0.5843 GB, free: 12.24 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001762/0.606, allocations: 318.5 kB / 0.5846 GB, free: 11.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.6072, allocations: 0.6091 MB / 0.5852 GB, free: 11.28 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002525/0.6074, allocations: 223.1 kB / 0.5854 GB, free: 11.03 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.6075, allocations: 55.91 kB / 0.5855 GB, free: 10.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.6091, allocations: 0.811 MB / 0.5863 GB, free: 10.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.6092, allocations: 0 / 0.5863 GB, free: 10.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.663e-05/0.6093, allocations: 20 kB / 0.5863 GB, free: 10.13 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.6093, allocations: 16 kB / 0.5863 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001582/0.6109, allocations: 0.7625 MB / 0.5871 GB, free: 9.352 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00494/0.6158, allocations: 2.73 MB / 0.5897 GB, free: 6.465 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/0.6174, allocations: 1.084 MB / 0.5908 GB, free: 5.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/0.6185, allocations: 0.5226 MB / 0.5913 GB, free: 4.738 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.725e-05/0.6186, allocations: 12.55 kB / 0.5913 GB, free: 4.727 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001261/0.6198, allocations: 0.6388 MB / 0.5919 GB, free: 4.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=66): time 2.825e-06/0.6199, allocations: 0 / 0.5919 GB, free: 4.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=66): time 0.01725/0.6371, allocations: 5.198 MB / 0.597 GB, free: 14.83 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/0.6372, allocations: 85.61 kB / 0.5971 GB, free: 14.73 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/0.6383, allocations: 0.7002 MB / 0.5978 GB, free: 14.02 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001371/0.6385, allocations: 41.7 kB / 0.5978 GB, free: 13.97 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003029/0.6388, allocations: 376.8 kB / 0.5982 GB, free: 13.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002623/0.639, allocations: 232.5 kB / 0.5984 GB, free: 13.37 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.365e-05/0.6391, allocations: 12 kB / 0.5984 GB, free: 13.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.6392, allocations: 334 kB / 0.5987 GB, free: 13.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.6402, allocations: 453.1 kB / 0.5991 GB, free: 12.58 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/0.6413, allocations: 0.5491 MB / 0.5997 GB, free: 11.99 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001982/0.6433, allocations: 1.017 MB / 0.6007 GB, free: 10.94 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.6433, allocations: 0 / 0.6007 GB, free: 10.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.009252/0.6526, allocations: 3.156 MB / 0.6038 GB, free: 7.766 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.553e-05/0.6526, allocations: 4 kB / 0.6038 GB, free: 7.762 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.6527, allocations: 4 kB / 0.6038 GB, free: 7.758 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004342/0.657, allocations: 1.295 MB / 0.605 GB, free: 6.461 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005302/0.6576, allocations: 103.9 kB / 0.6051 GB, free: 6.359 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01532/0.6729, allocations: 6.881 MB / 0.6119 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/0.674, allocations: 143.4 kB / 0.612 GB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.405e-05/0.6741, allocations: 24 kB / 0.612 GB, free: 15.18 MB / 442.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 () * 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 (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.0004067/0.6745, allocations: 193.8 kB / 0.6122 GB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.6746, allocations: 82.97 kB / 0.6123 GB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008955/0.6836, allocations: 3.158 MB / 0.6154 GB, free: 11.72 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.367e-05/0.6837, allocations: 8 kB / 0.6154 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.6837, allocations: 0 / 0.6154 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.941e-05/0.6837, allocations: 7.984 kB / 0.6154 GB, free: 11.7 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01067/0.6944, allocations: 4.396 MB / 0.6197 GB, free: 7.184 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/0.6944, allocations: 0 / 0.6197 GB, free: 7.184 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004807/0.6949, allocations: 87.89 kB / 0.6198 GB, free: 7.098 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003925/0.6988, allocations: 1.27 MB / 0.621 GB, free: 5.824 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-05/0.699, allocations: 16 kB / 0.621 GB, free: 5.809 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01301/0.712, allocations: 6.014 MB / 0.6269 GB, free: 15.66 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.712, allocations: 4 kB / 0.6269 GB, free: 15.66 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01034/0.7224, allocations: 3.841 MB / 0.6306 GB, free: 11.79 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003982/0.7228, allocations: 183.9 kB / 0.6308 GB, free: 11.59 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.7229, allocations: 15.94 kB / 0.6308 GB, free: 11.57 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007749/0.7237, allocations: 99.92 kB / 0.6309 GB, free: 11.48 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004932/0.7242, allocations: 144.3 kB / 0.6311 GB, free: 11.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.576e-05/0.7243, allocations: 16 kB / 0.6311 GB, free: 11.32 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007263/0.725, allocations: 0.4951 MB / 0.6316 GB, free: 10.83 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.725, allocations: 0 / 0.6316 GB, free: 10.83 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0009945/0.726, allocations: 303.6 kB / 0.6318 GB, free: 10.54 MB / 458.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 (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.0002212/0.7263, allocations: 127.1 kB / 0.632 GB, free: 10.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00421/0.7305, allocations: 1.678 MB / 0.6336 GB, free: 8.719 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.7305, allocations: 0 / 0.6336 GB, free: 8.719 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003079/0.7336, allocations: 1.184 MB / 0.6348 GB, free: 7.52 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007051/0.7343, allocations: 77.38 kB / 0.6348 GB, free: 7.441 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00322/0.7375, allocations: 1.877 MB / 0.6367 GB, free: 5.543 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005916/0.7382, allocations: 0.9782 MB / 0.6376 GB, free: 4.539 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002507/0.7384, allocations: 44.56 kB / 0.6377 GB, free: 4.496 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.7386, allocations: 43.42 kB / 0.6377 GB, free: 4.453 MB / 458.7 MB Notification: Performance of SimCode: time 8.01e-07/0.7386, allocations: 0 / 0.6377 GB, free: 4.453 MB / 458.7 MB Notification: Performance of Templates: time 0.02278/0.7613, allocations: 14.29 MB / 0.6517 GB, free: 6.176 MB / 474.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.FACTS.STATCOM_Test.makefile (rm -f OpenIPSL_OpenIPSL.Examples.FACTS.STATCOM_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.FACTS.STATCOM_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.FACTS.STATCOM_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.FACTS.STATCOM_Test.sim & ./OpenIPSL_OpenIPSL.Examples.FACTS.STATCOM_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.FACTS.STATCOM_Test.pipe 2>&1)