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.08177/0.08177, allocations: 12.59 MB / 28.22 MB, free: 0.7695 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.001037/0.001037, allocations: 115.4 kB / 31.84 MB, free: 3.902 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.389/1.389, allocations: 205.1 MB / 240.4 MB, free: 12.36 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.00135/0.00135, allocations: 199.4 kB / 290.7 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4716/0.4716, allocations: 78.5 MB / 419.3 MB, free: 11.26 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.0026/0.0026, allocations: 135.9 kB / 0.5558 GB, free: 28.66 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1332, allocations: 68.14 MB / 0.6224 GB, free: 15.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.006611/0.1399, allocations: 5.284 MB / 0.6275 GB, free: 10.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003651/0.1436, allocations: 1.373 MB / 0.6289 GB, free: 8.777 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005856/0.1443, allocations: 8 kB / 0.6289 GB, free: 8.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005279/0.1448, allocations: 166.5 kB / 0.629 GB, free: 8.605 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009765/0.1458, allocations: 373.5 kB / 0.6294 GB, free: 8.238 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001637/0.1475, allocations: 0.6304 MB / 0.63 GB, free: 7.609 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001371/0.1489, allocations: 1.054 MB / 0.631 GB, free: 6.551 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004142/0.1493, allocations: 243.6 kB / 0.6313 GB, free: 6.297 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005612/0.1499, allocations: 442.1 kB / 0.6317 GB, free: 5.863 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007278/0.1506, allocations: 0.5288 MB / 0.6322 GB, free: 5.332 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001381/0.1507, allocations: 76 kB / 0.6323 GB, free: 5.258 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004326/0.1512, allocations: 139.9 kB / 0.6324 GB, free: 5.121 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001986/0.1514, allocations: 199.1 kB / 0.6326 GB, free: 4.926 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003981/0.1518, allocations: 473.2 kB / 0.633 GB, free: 4.461 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001337/0.1532, allocations: 1.085 MB / 0.6341 GB, free: 3.371 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.1532, allocations: 0 / 0.6341 GB, free: 3.371 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1532, allocations: 0 / 0.6341 GB, free: 3.371 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.058e-05/0.1532, 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.005183/0.1584, allocations: 1.798 MB / 0.6359 GB, free: 1.516 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.1585, allocations: 11.98 kB / 0.6359 GB, free: 1.504 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002735/0.1612, allocations: 443.3 kB / 0.6363 GB, free: 1.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.1625, allocations: 0.6435 MB / 0.6369 GB, free: 392 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002624/0.1627, allocations: 201.8 kB / 0.6371 GB, free: 156 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.1629, allocations: 51.94 kB / 0.6372 GB, free: 104 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.1644, allocations: 0.7681 MB / 0.6379 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.1644, allocations: 4 kB / 0.6379 GB, free: 15.31 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.818e-05/0.1645, allocations: 20 kB / 0.6379 GB, free: 15.29 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.084e-05/0.1646, allocations: 15.94 kB / 0.638 GB, free: 15.28 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001627/0.1662, allocations: 0.6961 MB / 0.6386 GB, free: 14.58 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005085/0.1713, allocations: 2.672 MB / 0.6412 GB, free: 11.76 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.1731, allocations: 1.04 MB / 0.6423 GB, free: 10.61 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009276/0.174, allocations: 483.2 kB / 0.6427 GB, free: 10.13 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.377e-05/0.1741, allocations: 16.55 kB / 0.6427 GB, free: 10.12 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001291/0.1754, allocations: 0.5958 MB / 0.6433 GB, free: 9.5 MB / 462.1 MB Notification: Performance of pre-optimization done (n=66): time 3.537e-06/0.1754, allocations: 0 / 0.6433 GB, free: 9.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=66): time 0.01844/0.1939, allocations: 4.601 MB / 0.6478 GB, free: 4.867 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/0.1941, allocations: 85.67 kB / 0.6479 GB, free: 4.766 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/0.1954, allocations: 0.7119 MB / 0.6486 GB, free: 4.047 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.1955, allocations: 37.7 kB / 0.6486 GB, free: 4.004 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003366/0.1959, allocations: 385.2 kB / 0.649 GB, free: 3.621 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003134/0.1962, allocations: 245.9 kB / 0.6492 GB, free: 3.379 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002189/0.1964, allocations: 110.2 kB / 0.6493 GB, free: 3.262 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.1966, allocations: 326 kB / 0.6496 GB, free: 2.938 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008816/0.1975, allocations: 409.1 kB / 0.65 GB, free: 2.539 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009493/0.1985, allocations: 0.5058 MB / 0.6505 GB, free: 1.992 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001828/0.2003, allocations: 0.9159 MB / 0.6514 GB, free: 1.035 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.2003, allocations: 4 kB / 0.6514 GB, free: 1.031 MB / 462.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008408/0.2087, allocations: 2.591 MB / 0.654 GB, free: 14.43 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.465e-05/0.2088, allocations: 8 kB / 0.654 GB, free: 14.42 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.2089, allocations: 7.938 kB / 0.654 GB, free: 14.41 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003975/0.2128, allocations: 1.12 MB / 0.6551 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004879/0.2133, allocations: 99.81 kB / 0.6552 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01611/0.2295, allocations: 6.783 MB / 0.6618 GB, free: 6.262 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/0.2306, allocations: 111.5 kB / 0.6619 GB, free: 6.152 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/0.2307, allocations: 23.98 kB / 0.6619 GB, free: 6.129 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.0004345/0.2312, allocations: 207.1 kB / 0.6621 GB, free: 5.918 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002525/0.2314, allocations: 95.39 kB / 0.6622 GB, free: 5.824 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00876/0.2402, allocations: 2.623 MB / 0.6648 GB, free: 3.191 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.717e-05/0.2403, allocations: 4 kB / 0.6648 GB, free: 3.188 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.2403, allocations: 7.938 kB / 0.6648 GB, free: 3.18 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.762e-05/0.2403, allocations: 3.984 kB / 0.6648 GB, free: 3.176 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01077/0.2511, allocations: 3.84 MB / 0.6685 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.938e-06/0.2511, allocations: 0 / 0.6685 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004339/0.2516, allocations: 79.89 kB / 0.6686 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003847/0.2554, allocations: 1.07 MB / 0.6696 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001083/0.2556, allocations: 16 kB / 0.6697 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01432/0.2699, allocations: 6.022 MB / 0.6755 GB, free: 7.875 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.2699, allocations: 0 / 0.6755 GB, free: 7.875 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01021/0.2802, allocations: 3.221 MB / 0.6787 GB, free: 4.633 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004206/0.2806, allocations: 184.4 kB / 0.6789 GB, free: 4.434 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002058/0.2808, allocations: 12 kB / 0.6789 GB, free: 4.422 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008218/0.2817, allocations: 71.92 kB / 0.6789 GB, free: 4.352 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005757/0.2823, allocations: 152.3 kB / 0.6791 GB, free: 4.203 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.804e-05/0.2823, allocations: 16 kB / 0.6791 GB, free: 4.188 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000748/0.2831, allocations: 0.4951 MB / 0.6796 GB, free: 3.699 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2831, allocations: 0 / 0.6796 GB, free: 3.699 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00142/0.2845, allocations: 299.7 kB / 0.6799 GB, free: 3.406 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.0002364/0.2848, allocations: 111.2 kB / 0.68 GB, free: 3.285 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004494/0.2893, allocations: 1.536 MB / 0.6815 GB, free: 1.734 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.2893, allocations: 0 / 0.6815 GB, free: 1.734 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003115/0.2924, allocations: 1.076 MB / 0.6825 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008491/0.2933, allocations: 83.25 kB / 0.6826 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003669/0.297, allocations: 1.613 MB / 0.6842 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005818/0.2976, allocations: 0.9786 MB / 0.6851 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002361/0.2978, allocations: 69.12 kB / 0.6852 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001652/0.298, allocations: 51.42 kB / 0.6853 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of SimCode: time 6.41e-07/0.298, allocations: 0 / 0.6853 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.02561/0.3236, allocations: 17.05 MB / 0.7019 GB, free: 12.74 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)