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/ModelicaServices 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/Complex 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 106.7 kB / 16.41 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 222.9 MB / 240.1 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 200.4 kB / 290.4 MB, free: 2.094 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5652/0.5652, allocations: 91.89 MB / 432.4 MB, free: 9.098 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 76.61 kB / 0.5733 GB, free: 33.53 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1565, allocations: 71.29 MB / 0.643 GB, free: 3.598 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.007009/0.1636, allocations: 5.255 MB / 0.6481 GB, free: 14.32 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003584/0.1672, allocations: 1.407 MB / 0.6495 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009448/0.1682, allocations: 4 kB / 0.6495 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007426/0.169, allocations: 174.5 kB / 0.6496 GB, free: 12.73 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00146/0.1705, allocations: 325.4 kB / 0.65 GB, free: 12.41 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001831/0.1723, allocations: 0.6446 MB / 0.6506 GB, free: 11.77 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001779/0.1741, allocations: 1.054 MB / 0.6516 GB, free: 10.71 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005165/0.1746, allocations: 235.6 kB / 0.6518 GB, free: 10.47 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008187/0.1755, allocations: 434.2 kB / 0.6523 GB, free: 10.05 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001005/0.1765, allocations: 0.5327 MB / 0.6528 GB, free: 9.512 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002983/0.1768, allocations: 76 kB / 0.6528 GB, free: 9.438 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005584/0.1774, allocations: 140 kB / 0.653 GB, free: 9.301 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003104/0.1777, allocations: 199.1 kB / 0.6532 GB, free: 9.105 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007534/0.1785, allocations: 469.2 kB / 0.6536 GB, free: 8.645 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001737/0.1802, allocations: 1.086 MB / 0.6547 GB, free: 7.555 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.1802, allocations: 0 / 0.6547 GB, free: 7.555 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.178e-06/0.1802, allocations: 3.938 kB / 0.6547 GB, free: 7.551 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.298e-05/0.1803, allocations: 11.94 kB / 0.6547 GB, free: 7.539 MB / 462.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.005517/0.1858, allocations: 1.752 MB / 0.6564 GB, free: 5.73 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.1859, allocations: 12.03 kB / 0.6564 GB, free: 5.719 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002674/0.1886, allocations: 446.6 kB / 0.6568 GB, free: 5.281 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/0.19, allocations: 0.6234 MB / 0.6575 GB, free: 4.617 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002721/0.1903, allocations: 197.8 kB / 0.6576 GB, free: 4.391 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.1904, allocations: 59.89 kB / 0.6577 GB, free: 4.332 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001545/0.1919, allocations: 0.7681 MB / 0.6584 GB, free: 3.551 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.192, allocations: 0 / 0.6584 GB, free: 3.551 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.835e-05/0.192, allocations: 20 kB / 0.6585 GB, free: 3.531 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.1921, allocations: 19.94 kB / 0.6585 GB, free: 3.512 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/0.1935, allocations: 0.7039 MB / 0.6592 GB, free: 2.809 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004879/0.1984, allocations: 2.664 MB / 0.6618 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.2, allocations: 1.038 MB / 0.6628 GB, free: 14.84 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009343/0.201, allocations: 491.1 kB / 0.6633 GB, free: 14.35 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.992e-05/0.201, allocations: 8.562 kB / 0.6633 GB, free: 14.34 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001121/0.2022, allocations: 0.5842 MB / 0.6638 GB, free: 13.74 MB / 478.1 MB Notification: Performance of pre-optimization done (n=66): time 4.409e-06/0.2022, allocations: 0 / 0.6638 GB, free: 13.74 MB / 478.1 MB Notification: Performance of matching and sorting (n=66): time 0.01824/0.2204, allocations: 4.604 MB / 0.6683 GB, free: 9.102 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.952e-05/0.2205, allocations: 97.59 kB / 0.6684 GB, free: 8.988 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.2217, allocations: 0.708 MB / 0.6691 GB, free: 8.266 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001386/0.2219, allocations: 37.69 kB / 0.6692 GB, free: 8.223 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003087/0.2222, allocations: 384.8 kB / 0.6695 GB, free: 7.844 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003618/0.2226, allocations: 224.7 kB / 0.6697 GB, free: 7.621 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002684/0.2228, allocations: 110.2 kB / 0.6698 GB, free: 7.508 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.223, allocations: 334 kB / 0.6702 GB, free: 7.176 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009585/0.224, allocations: 401.1 kB / 0.6705 GB, free: 6.785 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/0.225, allocations: 0.502 MB / 0.671 GB, free: 6.242 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001924/0.2269, allocations: 0.9237 MB / 0.6719 GB, free: 5.273 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.2269, allocations: 4 kB / 0.6719 GB, free: 5.27 MB / 478.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008618/0.2356, allocations: 2.586 MB / 0.6745 GB, free: 2.676 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.428e-05/0.2356, allocations: 4 kB / 0.6745 GB, free: 2.672 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/0.2357, allocations: 11.92 kB / 0.6745 GB, free: 2.66 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004009/0.2397, allocations: 1.12 MB / 0.6756 GB, free: 1.539 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005035/0.2402, allocations: 95.88 kB / 0.6757 GB, free: 1.445 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01545/0.2557, allocations: 6.762 MB / 0.6823 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.2568, allocations: 119.4 kB / 0.6824 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.165e-05/0.2568, allocations: 20 kB / 0.6824 GB, free: 10.39 MB / 494.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.0003744/0.2572, allocations: 205.7 kB / 0.6826 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/0.2574, allocations: 82.97 kB / 0.6827 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008544/0.2659, allocations: 2.627 MB / 0.6852 GB, free: 7.457 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.755e-05/0.266, allocations: 8 kB / 0.6852 GB, free: 7.449 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.266, allocations: 3.938 kB / 0.6852 GB, free: 7.445 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.755e-05/0.266, allocations: 3.984 kB / 0.6853 GB, free: 7.441 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01008/0.2761, allocations: 3.836 MB / 0.689 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.2762, allocations: 0 / 0.689 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004657/0.2767, allocations: 83.89 kB / 0.6891 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003713/0.2804, allocations: 1.078 MB / 0.6901 GB, free: 2.312 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.732e-05/0.2805, allocations: 12 kB / 0.6901 GB, free: 2.301 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01322/0.2937, allocations: 6.004 MB / 0.696 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.2938, allocations: 0 / 0.696 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009628/0.3034, allocations: 3.22 MB / 0.6992 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000391/0.3039, allocations: 171.9 kB / 0.6993 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001517/0.304, allocations: 15.98 kB / 0.6993 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007456/0.3048, allocations: 75.92 kB / 0.6994 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004915/0.3053, allocations: 148.3 kB / 0.6995 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.458e-05/0.3053, allocations: 19.98 kB / 0.6996 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006629/0.306, allocations: 0.4951 MB / 0.7 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.306, allocations: 0 / 0.7 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009679/0.307, allocations: 295.7 kB / 0.7003 GB, free: 7.684 MB / 0.4981 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 () * 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.0002287/0.3072, allocations: 115.2 kB / 0.7004 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004118/0.3114, allocations: 1.54 MB / 0.7019 GB, free: 6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.3114, allocations: 0 / 0.7019 GB, free: 6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00291/0.3143, allocations: 1.057 MB / 0.703 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007715/0.3151, allocations: 83.3 kB / 0.7031 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003479/0.3186, allocations: 1.629 MB / 0.7046 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005875/0.3192, allocations: 0.9709 MB / 0.7056 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000246/0.3195, allocations: 59.42 kB / 0.7056 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of SimCode: time 1.393e-06/0.3195, allocations: 0 / 0.7056 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of Templates: time 0.02148/0.341, allocations: 14.29 MB / 0.7196 GB, free: 3.832 MB / 0.5137 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)