Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+maint.om/package.mo", uses=false) 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/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.FACTS.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test") translateModel(OpenIPSL.Tests.FACTS.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08606/0.08606, allocations: 12.59 MB / 28.23 MB, free: 1.047 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 119.3 kB / 31.84 MB, free: 3.984 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.1 MB / 240.4 MB, free: 12.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 188.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4325/0.4325, allocations: 78.5 MB / 419.3 MB, free: 11.25 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002782/0.002782, allocations: 138.5 kB / 0.5558 GB, free: 28.55 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1062, allocations: 68.13 MB / 0.6224 GB, free: 15.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.006208/0.1125, allocations: 5.28 MB / 0.6275 GB, free: 10.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002835/0.1154, allocations: 1.373 MB / 0.6288 GB, free: 8.781 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007579/0.1161, allocations: 8 kB / 0.6289 GB, free: 8.773 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00062/0.1168, allocations: 178.5 kB / 0.629 GB, free: 8.598 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001139/0.118, allocations: 357.5 kB / 0.6294 GB, free: 8.246 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.1198, allocations: 0.6503 MB / 0.63 GB, free: 7.598 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001617/0.1214, allocations: 1.058 MB / 0.631 GB, free: 6.535 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004416/0.1219, allocations: 231.6 kB / 0.6313 GB, free: 6.293 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007289/0.1226, allocations: 434.1 kB / 0.6317 GB, free: 5.867 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008678/0.1235, allocations: 0.5327 MB / 0.6322 GB, free: 5.332 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002334/0.1237, allocations: 76 kB / 0.6323 GB, free: 5.258 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004043/0.1241, allocations: 147.9 kB / 0.6324 GB, free: 5.113 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002185/0.1244, allocations: 203.1 kB / 0.6326 GB, free: 4.914 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006183/0.125, allocations: 469.2 kB / 0.633 GB, free: 4.453 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001371/0.1264, allocations: 1.078 MB / 0.6341 GB, free: 3.371 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1264, allocations: 0 / 0.6341 GB, free: 3.371 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1264, allocations: 0 / 0.6341 GB, free: 3.371 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.666e-05/0.1264, allocations: 0 / 0.6341 GB, free: 3.371 MB / 446.1 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.005776/0.1322, allocations: 1.764 MB / 0.6358 GB, free: 1.551 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.1323, allocations: 11.98 kB / 0.6358 GB, free: 1.539 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002917/0.1352, allocations: 438.7 kB / 0.6362 GB, free: 1.109 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/0.1365, allocations: 0.6389 MB / 0.6369 GB, free: 436 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000271/0.1368, allocations: 197.8 kB / 0.6371 GB, free: 204 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/0.137, allocations: 60 kB / 0.6371 GB, free: 144 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0018/0.1388, allocations: 0.7642 MB / 0.6379 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.1388, allocations: 0 / 0.6379 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.643e-05/0.1389, allocations: 24 kB / 0.6379 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.1389, allocations: 15.94 kB / 0.6379 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001673/0.1406, allocations: 0.7039 MB / 0.6386 GB, free: 14.62 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004883/0.1455, allocations: 2.66 MB / 0.6412 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/0.1472, allocations: 1.039 MB / 0.6422 GB, free: 10.66 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001089/0.1483, allocations: 483.2 kB / 0.6427 GB, free: 10.18 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.613e-05/0.1484, allocations: 16.53 kB / 0.6427 GB, free: 10.17 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001273/0.1497, allocations: 0.588 MB / 0.6433 GB, free: 9.559 MB / 462.1 MB Notification: Performance of pre-optimization done (n=66): time 2.655e-06/0.1497, allocations: 0 / 0.6433 GB, free: 9.559 MB / 462.1 MB Notification: Performance of matching and sorting (n=66): time 0.02008/0.1698, allocations: 4.608 MB / 0.6478 GB, free: 4.918 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.873e-05/0.1699, allocations: 85.7 kB / 0.6478 GB, free: 4.816 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.171, allocations: 0.7158 MB / 0.6485 GB, free: 4.094 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.125e-05/0.1711, allocations: 33.7 kB / 0.6486 GB, free: 4.055 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002784/0.1714, allocations: 380.8 kB / 0.6489 GB, free: 3.676 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002681/0.1716, allocations: 228.6 kB / 0.6491 GB, free: 3.449 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002545/0.1719, allocations: 110.3 kB / 0.6493 GB, free: 3.332 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.172, allocations: 326 kB / 0.6496 GB, free: 3.008 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009895/0.173, allocations: 409.1 kB / 0.65 GB, free: 2.609 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00108/0.1741, allocations: 0.5175 MB / 0.6505 GB, free: 2.051 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002085/0.1762, allocations: 0.9198 MB / 0.6514 GB, free: 1.09 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.1762, allocations: 0 / 0.6514 GB, free: 1.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.009214/0.1855, allocations: 2.594 MB / 0.6539 GB, free: 14.48 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.1855, allocations: 4 kB / 0.6539 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.1855, allocations: 7.938 kB / 0.6539 GB, free: 14.47 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004361/0.1899, allocations: 1.124 MB / 0.655 GB, free: 13.35 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000527/0.1904, allocations: 99.89 kB / 0.6551 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01698/0.2074, allocations: 6.768 MB / 0.6617 GB, free: 6.332 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.2086, allocations: 115.5 kB / 0.6618 GB, free: 6.219 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/0.2087, allocations: 24 kB / 0.6618 GB, free: 6.195 MB / 478.1 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.000423/0.2092, allocations: 195.2 kB / 0.662 GB, free: 5.996 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000231/0.2094, allocations: 86.91 kB / 0.6621 GB, free: 5.91 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009437/0.2188, allocations: 2.638 MB / 0.6647 GB, free: 3.262 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/0.2189, allocations: 11.98 kB / 0.6647 GB, free: 3.25 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.2189, allocations: 3.938 kB / 0.6647 GB, free: 3.246 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.54e-05/0.2189, allocations: 0 / 0.6647 GB, free: 3.246 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01119/0.2301, allocations: 3.82 MB / 0.6684 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/0.2302, allocations: 4 kB / 0.6684 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004545/0.2306, allocations: 79.89 kB / 0.6685 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004209/0.2349, allocations: 1.074 MB / 0.6696 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.677e-05/0.235, allocations: 15.98 kB / 0.6696 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01479/0.2498, allocations: 6.009 MB / 0.6754 GB, free: 7.969 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.2498, allocations: 0 / 0.6754 GB, free: 7.969 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01065/0.2605, allocations: 3.228 MB / 0.6786 GB, free: 4.719 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004052/0.2609, allocations: 175.9 kB / 0.6788 GB, free: 4.527 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001939/0.2611, allocations: 16 kB / 0.6788 GB, free: 4.512 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008719/0.262, allocations: 75.91 kB / 0.6788 GB, free: 4.438 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004466/0.2625, allocations: 144.4 kB / 0.679 GB, free: 4.297 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.887e-05/0.2626, allocations: 16 kB / 0.679 GB, free: 4.281 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007107/0.2633, allocations: 0.4951 MB / 0.6795 GB, free: 3.793 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2633, allocations: 0 / 0.6795 GB, free: 3.793 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009681/0.2643, allocations: 299.7 kB / 0.6798 GB, free: 3.5 MB / 494.1 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.0002081/0.2645, allocations: 115.2 kB / 0.6799 GB, free: 3.375 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004595/0.2691, allocations: 1.533 MB / 0.6814 GB, free: 1.828 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.2691, allocations: 4.125 kB / 0.6814 GB, free: 1.824 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003129/0.2722, allocations: 1.06 MB / 0.6824 GB, free: 0.75 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007206/0.273, allocations: 79.3 kB / 0.6825 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003467/0.2765, allocations: 1.587 MB / 0.684 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005394/0.277, allocations: 0.9787 MB / 0.685 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002399/0.2773, allocations: 61.14 kB / 0.6851 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.2774, allocations: 55.42 kB / 0.6851 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of SimCode: time 5.71e-07/0.2774, allocations: 0 / 0.6851 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of Templates: time 0.02701/0.3045, allocations: 17.04 MB / 0.7017 GB, free: 12.89 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1)