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.07761/0.07761, allocations: 12.61 MB / 28.86 MB, free: 244 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 115.4 kB / 32.46 MB, free: 3.395 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.293/1.293, allocations: 205.1 MB / 241 MB, free: 12.39 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.001251/0.001251, allocations: 191.6 kB / 291.3 MB, free: 10.96 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4171/0.4171, allocations: 78.51 MB / 419.9 MB, free: 10.76 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.002626/0.002626, allocations: 135.8 kB / 0.4895 GB, free: 9.414 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2487, allocations: 68.11 MB / 0.556 GB, free: 21.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.004433/0.2531, allocations: 5.282 MB / 0.5611 GB, free: 15.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002151/0.2553, allocations: 1.373 MB / 0.5625 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002715/0.2556, allocations: 8 kB / 0.5625 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003269/0.2559, allocations: 162.5 kB / 0.5626 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005555/0.2565, allocations: 333.5 kB / 0.563 GB, free: 14.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.2576, allocations: 0.64 MB / 0.5636 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006727/0.2583, allocations: 1.062 MB / 0.5646 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002607/0.2586, allocations: 223.7 kB / 0.5648 GB, free: 12.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002958/0.2589, allocations: 450 kB / 0.5653 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004386/0.2593, allocations: 0.5211 MB / 0.5658 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.27e-05/0.2594, allocations: 76 kB / 0.5658 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002089/0.2596, allocations: 136 kB / 0.566 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.2598, allocations: 211 kB / 0.5662 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002685/0.26, allocations: 473.2 kB / 0.5666 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006659/0.2607, allocations: 1.08 MB / 0.5677 GB, free: 9.238 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2607, allocations: 0 / 0.5677 GB, free: 9.238 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2607, allocations: 0 / 0.5677 GB, free: 9.238 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.327e-06/0.2608, allocations: 8 kB / 0.5677 GB, free: 9.23 MB / 382.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.004153/0.2649, allocations: 1.76 MB / 0.5694 GB, free: 7.418 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.2649, allocations: 15.98 kB / 0.5694 GB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002456/0.2674, allocations: 442.6 kB / 0.5698 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007995/0.2682, allocations: 0.6311 MB / 0.5705 GB, free: 6.297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001663/0.2684, allocations: 201.8 kB / 0.5707 GB, free: 6.066 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-05/0.2685, allocations: 55.91 kB / 0.5707 GB, free: 6.012 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.2697, allocations: 0.7719 MB / 0.5715 GB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.2697, allocations: 0 / 0.5715 GB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.792e-05/0.2698, allocations: 23.98 kB / 0.5715 GB, free: 5.203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.2698, allocations: 15.94 kB / 0.5715 GB, free: 5.188 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.2711, allocations: 0.6961 MB / 0.5722 GB, free: 4.492 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003477/0.2746, allocations: 2.672 MB / 0.5748 GB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.2758, allocations: 1.039 MB / 0.5758 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007971/0.2766, allocations: 487.2 kB / 0.5763 GB, free: 40 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.078e-05/0.2767, allocations: 12.56 kB / 0.5763 GB, free: 28 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001138/0.2778, allocations: 0.5958 MB / 0.5769 GB, free: 15.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 2.004e-06/0.2778, allocations: 0 / 0.5769 GB, free: 15.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.01738/0.2952, allocations: 4.6 MB / 0.5814 GB, free: 10.78 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.2953, allocations: 89.61 kB / 0.5814 GB, free: 10.67 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009439/0.2963, allocations: 0.7119 MB / 0.5821 GB, free: 9.949 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.135e-05/0.2963, allocations: 33.7 kB / 0.5822 GB, free: 9.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002685/0.2966, allocations: 384.8 kB / 0.5825 GB, free: 9.531 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000235/0.2969, allocations: 228.6 kB / 0.5828 GB, free: 9.305 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002147/0.2971, allocations: 102.3 kB / 0.5829 GB, free: 9.199 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.2972, allocations: 330 kB / 0.5832 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008914/0.2981, allocations: 405.1 kB / 0.5836 GB, free: 8.477 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009552/0.2991, allocations: 0.5058 MB / 0.584 GB, free: 7.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001818/0.3009, allocations: 0.916 MB / 0.5849 GB, free: 6.977 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.3009, allocations: 0 / 0.5849 GB, free: 6.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008333/0.3093, allocations: 2.598 MB / 0.5875 GB, free: 4.363 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.3093, allocations: 4 kB / 0.5875 GB, free: 4.359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.3093, allocations: 7.938 kB / 0.5875 GB, free: 4.352 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003974/0.3133, allocations: 1.12 MB / 0.5886 GB, free: 3.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004369/0.3137, allocations: 95.81 kB / 0.5887 GB, free: 3.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01517/0.3289, allocations: 6.768 MB / 0.5953 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009193/0.3299, allocations: 111.5 kB / 0.5954 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.258e-05/0.3299, allocations: 23.98 kB / 0.5954 GB, free: 12.09 MB / 414.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.0003192/0.3303, allocations: 210.5 kB / 0.5956 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.3304, allocations: 86.91 kB / 0.5957 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008335/0.3387, allocations: 2.626 MB / 0.5983 GB, free: 9.148 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/0.3388, allocations: 8 kB / 0.5983 GB, free: 9.141 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.3388, allocations: 3.938 kB / 0.5983 GB, free: 9.137 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.3388, allocations: 3.984 kB / 0.5983 GB, free: 9.133 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009456/0.3482, allocations: 3.824 MB / 0.602 GB, free: 5.184 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.3483, allocations: 0 / 0.602 GB, free: 5.184 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004007/0.3487, allocations: 79.88 kB / 0.6021 GB, free: 5.105 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00367/0.3524, allocations: 1.082 MB / 0.6031 GB, free: 4.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.535e-05/0.3524, allocations: 12 kB / 0.6032 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01315/0.3656, allocations: 6.012 MB / 0.609 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3656, allocations: 0 / 0.609 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009408/0.375, allocations: 3.228 MB / 0.6122 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002524/0.3753, allocations: 183.8 kB / 0.6124 GB, free: 10.4 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.3754, allocations: 12 kB / 0.6124 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007639/0.3762, allocations: 75.92 kB / 0.6124 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003952/0.3766, allocations: 148.3 kB / 0.6126 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.76e-05/0.3767, allocations: 16 kB / 0.6126 GB, free: 10.15 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000607/0.3773, allocations: 0.4951 MB / 0.6131 GB, free: 9.656 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3773, allocations: 4 kB / 0.6131 GB, free: 9.652 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008363/0.3781, allocations: 287.8 kB / 0.6134 GB, free: 9.371 MB / 430.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.0001705/0.3783, allocations: 119.1 kB / 0.6135 GB, free: 9.242 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00398/0.3823, allocations: 1.533 MB / 0.615 GB, free: 7.695 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3823, allocations: 0 / 0.615 GB, free: 7.695 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002789/0.3851, allocations: 1.06 MB / 0.616 GB, free: 6.629 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000566/0.3857, allocations: 85.84 kB / 0.6161 GB, free: 6.555 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002932/0.3886, allocations: 1.587 MB / 0.6176 GB, free: 4.938 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00048/0.3891, allocations: 0.9709 MB / 0.6186 GB, free: 3.938 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002086/0.3893, allocations: 65.14 kB / 0.6186 GB, free: 3.871 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/0.3895, allocations: 59.36 kB / 0.6187 GB, free: 3.812 MB / 430.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3895, allocations: 4 kB / 0.6187 GB, free: 3.809 MB / 430.1 MB Notification: Performance of Templates: time 0.02505/0.4146, allocations: 16.89 MB / 0.6352 GB, free: 2.93 MB / 446.1 MB 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 -s gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1)