Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL.Tests.FACTS.STATCOM_Test") translateModel(OpenIPSL.Tests.FACTS.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001313/0.001313, allocations: 180.9 kB / 7.651 MB, free: 1.422 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.356/1.356, allocations: 221.5 MB / 229.6 MB, free: 7.609 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.00084/0.0008398, allocations: 92.97 kB / 280.5 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5072/0.5072, allocations: 78.94 MB / 410.2 MB, free: 6 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.203e-05/1.207e-05, allocations: 0 / 485.9 MB, free: 11.56 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1447, allocations: 69.51 MB / 0.5424 GB, free: 5.945 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4731/0.6179, allocations: 96.84 MB / 0.637 GB, free: 1.332 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/0.6181, allocations: 71.97 kB / 0.6371 GB, free: 1.262 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05228/0.6704, allocations: 18.44 MB / 0.6551 GB, free: 14.91 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.6705, allocations: 0 / 0.6551 GB, free: 14.91 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.959e-05/0.6706, allocations: 12 kB / 0.6551 GB, free: 14.9 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.004088/0.6747, allocations: 1.284 MB / 0.6563 GB, free: 13.57 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.6747, allocations: 8.031 kB / 0.6563 GB, free: 13.57 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002087/0.6768, allocations: 322.5 kB / 0.6567 GB, free: 13.25 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/0.6783, allocations: 0.5708 MB / 0.6572 GB, free: 12.64 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002772/0.6786, allocations: 189.8 kB / 0.6574 GB, free: 12.42 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000174/0.6788, allocations: 28 kB / 0.6574 GB, free: 12.39 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001175/0.68, allocations: 0.5376 MB / 0.6579 GB, free: 11.86 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.6812, allocations: 0.5782 MB / 0.6585 GB, free: 11.26 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.6813, allocations: 0 / 0.6585 GB, free: 11.26 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.023e-05/0.6813, allocations: 0 / 0.6585 GB, free: 11.26 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.294e-05/0.6814, allocations: 16 kB / 0.6585 GB, free: 11.25 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0062/0.6876, allocations: 2.638 MB / 0.6611 GB, free: 8.465 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/0.6888, allocations: 0.909 MB / 0.662 GB, free: 7.445 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005508/0.6893, allocations: 359.3 kB / 0.6623 GB, free: 7.09 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.624e-05/0.6894, allocations: 12.55 kB / 0.6623 GB, free: 7.074 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008177/0.6903, allocations: 473.8 kB / 0.6628 GB, free: 6.594 MB / 474.7 MB Notification: Performance of pre-optimization done (n=66): time 2.905e-06/0.6903, allocations: 0 / 0.6628 GB, free: 6.594 MB / 474.7 MB Notification: Performance of matching and sorting (n=66): time 0.008352/0.6986, allocations: 2.591 MB / 0.6653 GB, free: 3.984 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.06e-05/0.6987, allocations: 93.66 kB / 0.6654 GB, free: 3.875 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.6998, allocations: 0.5472 MB / 0.6659 GB, free: 3.324 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001083/0.6999, allocations: 29.69 kB / 0.666 GB, free: 3.289 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003455/0.7003, allocations: 385.4 kB / 0.6663 GB, free: 2.906 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003257/0.7006, allocations: 224.7 kB / 0.6666 GB, free: 2.684 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.625e-05/0.7007, allocations: 0 / 0.6666 GB, free: 2.684 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.7008, allocations: 330 kB / 0.6669 GB, free: 2.355 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000478/0.7013, allocations: 281.6 kB / 0.6671 GB, free: 2.078 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005323/0.7018, allocations: 389.9 kB / 0.6675 GB, free: 1.664 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005124/0.7024, allocations: 306.1 kB / 0.6678 GB, free: 1.363 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.7024, allocations: 0 / 0.6678 GB, free: 1.363 MB / 474.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008132/0.7105, allocations: 2.662 MB / 0.6704 GB, free: 14.69 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.7106, allocations: 8 kB / 0.6704 GB, free: 14.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.7106, allocations: 7.984 kB / 0.6704 GB, free: 14.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003621/0.7142, allocations: 1.043 MB / 0.6714 GB, free: 13.63 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005036/0.7147, allocations: 111.8 kB / 0.6715 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01132/0.7261, allocations: 5.232 MB / 0.6767 GB, free: 8.168 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/0.7273, allocations: 127.6 kB / 0.6768 GB, free: 8.043 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/0.7275, allocations: 20 kB / 0.6768 GB, free: 8.023 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.000259/0.7277, allocations: 124.6 kB / 0.6769 GB, free: 7.895 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003057/0.7281, allocations: 92.47 kB / 0.677 GB, free: 7.805 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008104/0.7362, allocations: 2.662 MB / 0.6796 GB, free: 5.121 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.479e-05/0.7362, allocations: 11.98 kB / 0.6796 GB, free: 5.109 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.7362, allocations: 0 / 0.6796 GB, free: 5.109 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.7363, allocations: 0 / 0.6796 GB, free: 5.109 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009911/0.7462, allocations: 3.842 MB / 0.6834 GB, free: 1.156 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/0.7462, allocations: 3.984 kB / 0.6834 GB, free: 1.152 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000438/0.7467, allocations: 87.89 kB / 0.6835 GB, free: 1.066 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003443/0.7501, allocations: 1.032 MB / 0.6845 GB, free: 32 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.481e-05/0.7502, allocations: 4 kB / 0.6845 GB, free: 28 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009734/0.76, allocations: 4.703 MB / 0.6891 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.76, allocations: 0 / 0.6891 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008993/0.769, allocations: 3.215 MB / 0.6922 GB, free: 7.965 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004318/0.7695, allocations: 171.9 kB / 0.6924 GB, free: 7.777 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000201/0.7697, allocations: 4 kB / 0.6924 GB, free: 7.773 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009429/0.7706, allocations: 91.91 kB / 0.6925 GB, free: 7.684 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004549/0.7711, allocations: 140.3 kB / 0.6926 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.696e-05/0.7712, allocations: 28.83 kB / 0.6926 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007079/0.7719, allocations: 435.2 kB / 0.693 GB, free: 7.102 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7719, allocations: 0 / 0.693 GB, free: 7.102 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001292/0.7732, allocations: 283.6 kB / 0.6933 GB, free: 6.824 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.0002699/0.7735, allocations: 111.1 kB / 0.6934 GB, free: 6.707 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003507/0.777, allocations: 1.304 MB / 0.6947 GB, free: 5.402 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.7771, allocations: 4.125 kB / 0.6947 GB, free: 5.398 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002714/0.7798, allocations: 0.9803 MB / 0.6956 GB, free: 4.41 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005603/0.7804, allocations: 55.25 kB / 0.6957 GB, free: 4.352 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00281/0.7832, allocations: 1.178 MB / 0.6968 GB, free: 3.145 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006078/0.7838, allocations: 0.9902 MB / 0.6978 GB, free: 2.129 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002624/0.7841, allocations: 48.55 kB / 0.6979 GB, free: 2.082 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.7842, allocations: 39.44 kB / 0.6979 GB, free: 2.043 MB / 0.4948 GB Notification: Performance of SimCode: time 5.41e-07/0.7842, allocations: 0 / 0.6979 GB, free: 2.043 MB / 0.4948 GB Notification: Performance of Templates: time 0.02614/0.8104, allocations: 13.2 MB / 0.7108 GB, free: 4.957 MB / 0.5105 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1)