Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Tests.FACTS.STATCOM_Test") translateModel(OpenIPSL.Tests.FACTS.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.0008812/0.0008812, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.466/1.466, allocations: 223.3 MB / 239.4 MB, free: 5.508 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.001144/0.001144, allocations: 172.6 kB / 290.6 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4819/0.4819, allocations: 78.55 MB / 420.3 MB, free: 4.316 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004175/0.0004174, allocations: 8 kB / 0.4887 GB, free: 6.039 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1586, allocations: 69.36 MB / 0.5564 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.2828/0.4415, allocations: 5.097 MB / 0.5614 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003102/0.4446, allocations: 1.428 MB / 0.5628 GB, free: 36.28 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007332/0.4454, allocations: 11.78 kB / 0.5628 GB, free: 36.28 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004484/0.4458, allocations: 132.6 kB / 0.5629 GB, free: 36.23 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008138/0.4467, allocations: 276.5 kB / 0.5632 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.4479, allocations: 0.5868 MB / 0.5637 GB, free: 35.93 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009304/0.4489, allocations: 1.005 MB / 0.5647 GB, free: 35.67 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003067/0.4492, allocations: 199.1 kB / 0.5649 GB, free: 35.63 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004076/0.4496, allocations: 391.2 kB / 0.5653 GB, free: 35.51 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000493/0.4501, allocations: 488.8 kB / 0.5657 GB, free: 35.37 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.848e-05/0.4502, allocations: 39.47 kB / 0.5658 GB, free: 35.37 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002356/0.4504, allocations: 103.5 kB / 0.5659 GB, free: 35.36 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.4506, allocations: 174.2 kB / 0.5661 GB, free: 35.3 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002776/0.4509, allocations: 445.6 kB / 0.5665 GB, free: 35.1 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007465/0.4516, allocations: 1.016 MB / 0.5675 GB, free: 34.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.4516, allocations: 3.469 kB / 0.5675 GB, free: 34.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4516, allocations: 0 / 0.5675 GB, free: 34.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.4516, allocations: 0 / 0.5675 GB, free: 34.84 MB / 430.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.004399/0.456, allocations: 1.631 MB / 0.5691 GB, free: 34.14 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.4561, allocations: 8.188 kB / 0.5691 GB, free: 34.14 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002547/0.4587, allocations: 448.7 kB / 0.5695 GB, free: 34.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008655/0.4595, allocations: 0.6299 MB / 0.5701 GB, free: 33.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002049/0.4597, allocations: 213.1 kB / 0.5703 GB, free: 33.57 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.153e-05/0.4598, allocations: 51.12 kB / 0.5704 GB, free: 33.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/0.4613, allocations: 0.8263 MB / 0.5712 GB, free: 33.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.4613, allocations: 1.031 kB / 0.5712 GB, free: 33.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.59e-05/0.4614, allocations: 23.94 kB / 0.5712 GB, free: 33.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.4614, allocations: 18.25 kB / 0.5712 GB, free: 33.49 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/0.4629, allocations: 0.7593 MB / 0.572 GB, free: 33.49 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003949/0.4668, allocations: 2.73 MB / 0.5746 GB, free: 32.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.4683, allocations: 1.092 MB / 0.5757 GB, free: 31.94 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/0.4693, allocations: 0.5297 MB / 0.5762 GB, free: 31.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.739e-05/0.4694, allocations: 11.25 kB / 0.5762 GB, free: 31.91 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001301/0.4708, allocations: 0.6385 MB / 0.5768 GB, free: 31.82 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.174e-06/0.4708, allocations: 0 / 0.5768 GB, free: 31.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.01971/0.4905, allocations: 5.62 MB / 0.5823 GB, free: 31.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.4906, allocations: 83.7 kB / 0.5824 GB, free: 31.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.4917, allocations: 0.7109 MB / 0.5831 GB, free: 31.11 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001439/0.4919, allocations: 38.86 kB / 0.5831 GB, free: 31.08 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003262/0.4922, allocations: 383.1 kB / 0.5835 GB, free: 30.86 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002557/0.4925, allocations: 226.6 kB / 0.5837 GB, free: 30.68 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.253e-05/0.4926, allocations: 57.81 kB / 0.5838 GB, free: 30.64 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.794e-05/0.4927, allocations: 333 kB / 0.5841 GB, free: 30.32 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001034/0.4937, allocations: 452.7 kB / 0.5845 GB, free: 30.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/0.4948, allocations: 0.5502 MB / 0.5851 GB, free: 29.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002217/0.497, allocations: 1.021 MB / 0.5861 GB, free: 29.46 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.4971, allocations: 0 / 0.5861 GB, free: 29.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.01025/0.5073, allocations: 3.161 MB / 0.5891 GB, free: 28.78 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.256e-05/0.5074, allocations: 6.938 kB / 0.5892 GB, free: 28.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.5074, allocations: 6.344 kB / 0.5892 GB, free: 28.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004578/0.512, allocations: 1.308 MB / 0.5904 GB, free: 28.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005079/0.5126, allocations: 109 kB / 0.5905 GB, free: 28.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0159/0.5285, allocations: 6.857 MB / 0.5972 GB, free: 25.33 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/0.5296, allocations: 141.5 kB / 0.5974 GB, free: 25.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-05/0.5297, allocations: 25.39 kB / 0.5974 GB, free: 25.28 MB / 430.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.0003373/0.53, allocations: 204.2 kB / 0.5976 GB, free: 25.11 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.5302, allocations: 90.44 kB / 0.5977 GB, free: 25.06 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01028/0.5405, allocations: 3.196 MB / 0.6008 GB, free: 24.36 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.5405, allocations: 7.062 kB / 0.6008 GB, free: 24.36 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.5405, allocations: 1.406 kB / 0.6008 GB, free: 24.36 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/0.5405, allocations: 2.625 kB / 0.6008 GB, free: 24.36 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01158/0.5521, allocations: 4.404 MB / 0.6051 GB, free: 22.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.5521, allocations: 1.062 kB / 0.6051 GB, free: 22.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004426/0.5526, allocations: 85.67 kB / 0.6052 GB, free: 22.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004299/0.5569, allocations: 1.268 MB / 0.6064 GB, free: 22.56 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.819e-05/0.557, allocations: 12.97 kB / 0.6064 GB, free: 22.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01439/0.5714, allocations: 6.025 MB / 0.6123 GB, free: 19.54 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.5714, allocations: 9.531 kB / 0.6123 GB, free: 19.53 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01019/0.5816, allocations: 3.84 MB / 0.6161 GB, free: 16.1 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003553/0.582, allocations: 175.9 kB / 0.6163 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001843/0.5822, allocations: 19.98 kB / 0.6163 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009017/0.5831, allocations: 103.9 kB / 0.6164 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004639/0.5836, allocations: 144.2 kB / 0.6165 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.743e-05/0.5837, allocations: 16 kB / 0.6165 GB, free: 15.63 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006075/0.5843, allocations: 0.4951 MB / 0.617 GB, free: 15.14 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.21e-07/0.5843, allocations: 4 kB / 0.617 GB, free: 15.14 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001078/0.5854, allocations: 299.6 kB / 0.6173 GB, free: 14.84 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.0002044/0.5856, allocations: 112.2 kB / 0.6174 GB, free: 14.73 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004142/0.5897, allocations: 1.698 MB / 0.6191 GB, free: 13.02 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.5898, allocations: 0 / 0.6191 GB, free: 13.02 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003029/0.5928, allocations: 1.174 MB / 0.6202 GB, free: 11.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008205/0.5936, allocations: 75.88 kB / 0.6203 GB, free: 11.76 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003154/0.5968, allocations: 1.98 MB / 0.6222 GB, free: 9.789 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.5972, allocations: 0.9786 MB / 0.6232 GB, free: 8.785 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002342/0.5974, allocations: 71.09 kB / 0.6232 GB, free: 8.715 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.5976, allocations: 52.45 kB / 0.6233 GB, free: 8.664 MB / 430.1 MB Notification: Performance of SimCode: time 1.392e-06/0.5976, allocations: 0 / 0.6233 GB, free: 8.664 MB / 430.1 MB Notification: Performance of Templates: time 0.02306/0.6207, allocations: 14.76 MB / 0.6377 GB, free: 10.07 MB / 446.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.sim & ./OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.pipe 2>&1) Environment - environmentSimulation: