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.001376/0.001376, allocations: 105.2 kB / 16.27 MB, free: 5.98 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.446/1.446, allocations: 222.9 MB / 239.9 MB, free: 4.629 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.001652/0.001652, allocations: 192.4 kB / 290.2 MB, free: 2.344 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5425/0.5425, allocations: 92.61 MB / 433 MB, free: 8.637 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002293/0.002293, allocations: 79.88 kB / 0.5034 GB, free: 6.969 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4087, allocations: 71.4 MB / 0.5731 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.005312/0.4141, allocations: 5.255 MB / 0.5782 GB, free: 33.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002946/0.4171, allocations: 1.416 MB / 0.5796 GB, free: 32.48 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004748/0.4176, allocations: 7.781 kB / 0.5796 GB, free: 32.48 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000442/0.418, allocations: 160.8 kB / 0.5797 GB, free: 32.4 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006813/0.4188, allocations: 332.7 kB / 0.5801 GB, free: 32.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.4201, allocations: 0.638 MB / 0.5807 GB, free: 31.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008853/0.421, allocations: 1.056 MB / 0.5817 GB, free: 31.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000333/0.4213, allocations: 232 kB / 0.5819 GB, free: 31.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004216/0.4218, allocations: 435.1 kB / 0.5824 GB, free: 30.96 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005248/0.4223, allocations: 0.5351 MB / 0.5829 GB, free: 30.7 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.4224, allocations: 78.44 kB / 0.583 GB, free: 30.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002757/0.4227, allocations: 140.6 kB / 0.5831 GB, free: 30.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.4228, allocations: 200.9 kB / 0.5833 GB, free: 30.55 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000312/0.4232, allocations: 471.6 kB / 0.5837 GB, free: 30.24 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000824/0.424, allocations: 1.072 MB / 0.5848 GB, free: 29.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.424, allocations: 0.7188 kB / 0.5848 GB, free: 29.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.424, allocations: 0 / 0.5848 GB, free: 29.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.424, allocations: 1.219 kB / 0.5848 GB, free: 29.75 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.004786/0.4288, allocations: 1.767 MB / 0.5865 GB, free: 28.83 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.4289, allocations: 7.719 kB / 0.5865 GB, free: 28.83 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002598/0.4315, allocations: 447.5 kB / 0.5869 GB, free: 28.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009304/0.4324, allocations: 0.623 MB / 0.5875 GB, free: 28.29 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002223/0.4327, allocations: 201 kB / 0.5877 GB, free: 28.11 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.823e-05/0.4328, allocations: 54.25 kB / 0.5878 GB, free: 28.09 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.4343, allocations: 0.7709 MB / 0.5885 GB, free: 27.79 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.4343, allocations: 0 / 0.5885 GB, free: 27.79 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.907e-05/0.4344, allocations: 20.94 kB / 0.5886 GB, free: 27.77 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.4344, allocations: 16.47 kB / 0.5886 GB, free: 27.77 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001537/0.436, allocations: 0.7024 MB / 0.5893 GB, free: 27.54 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004197/0.4402, allocations: 2.678 MB / 0.5919 GB, free: 25.88 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001427/0.4416, allocations: 1.04 MB / 0.5929 GB, free: 25.13 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009325/0.4426, allocations: 482.2 kB / 0.5934 GB, free: 24.94 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.393e-05/0.4427, allocations: 14.89 kB / 0.5934 GB, free: 24.94 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001186/0.4438, allocations: 0.5974 MB / 0.594 GB, free: 24.7 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.545e-06/0.4439, allocations: 0 / 0.594 GB, free: 24.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.01936/0.4632, allocations: 4.599 MB / 0.5984 GB, free: 23.78 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.848e-05/0.4633, allocations: 85.03 kB / 0.5985 GB, free: 23.69 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.4646, allocations: 0.7098 MB / 0.5992 GB, free: 23.38 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001707/0.4648, allocations: 35.95 kB / 0.5992 GB, free: 23.34 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002753/0.4651, allocations: 380.3 kB / 0.5996 GB, free: 23.04 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002547/0.4653, allocations: 227.3 kB / 0.5998 GB, free: 22.86 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002336/0.4656, allocations: 105.8 kB / 0.5999 GB, free: 22.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.535e-05/0.4657, allocations: 332.6 kB / 0.6002 GB, free: 22.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009716/0.4666, allocations: 403.1 kB / 0.6006 GB, free: 22.35 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.4677, allocations: 0.5089 MB / 0.6011 GB, free: 22.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001968/0.4697, allocations: 0.9184 MB / 0.602 GB, free: 21.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.4697, allocations: 5 kB / 0.602 GB, free: 21.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.009197/0.4789, allocations: 2.586 MB / 0.6046 GB, free: 21.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.207e-05/0.4789, allocations: 8.219 kB / 0.6046 GB, free: 21.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.253e-05/0.479, allocations: 8.844 kB / 0.6046 GB, free: 21.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00428/0.4833, allocations: 1.117 MB / 0.6057 GB, free: 20.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005114/0.4838, allocations: 100.5 kB / 0.6058 GB, free: 20.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01617/0.5, allocations: 6.787 MB / 0.6124 GB, free: 17.33 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/0.5013, allocations: 116.4 kB / 0.6125 GB, free: 17.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.958e-05/0.5014, allocations: 22.88 kB / 0.6125 GB, free: 17.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.0003885/0.5017, allocations: 203.9 kB / 0.6127 GB, free: 17.11 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000185/0.5019, allocations: 85.98 kB / 0.6128 GB, free: 17.06 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009657/0.5116, allocations: 2.624 MB / 0.6154 GB, free: 16.19 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-05/0.5117, allocations: 10.78 kB / 0.6154 GB, free: 16.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/0.5117, allocations: 9.188 kB / 0.6154 GB, free: 16.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.28e-05/0.5117, allocations: 3.984 kB / 0.6154 GB, free: 16.17 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009867/0.5216, allocations: 3.832 MB / 0.6191 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/0.5216, allocations: 1.188 kB / 0.6191 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000473/0.5221, allocations: 79.45 kB / 0.6192 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003642/0.5258, allocations: 1.088 MB / 0.6203 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001179/0.5259, allocations: 12 kB / 0.6203 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0125/0.5384, allocations: 6.016 MB / 0.6261 GB, free: 6.547 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.5385, allocations: 4 kB / 0.6262 GB, free: 6.543 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009142/0.5476, allocations: 3.219 MB / 0.6293 GB, free: 3.293 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004059/0.5481, allocations: 179.8 kB / 0.6295 GB, free: 3.098 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002717/0.5484, allocations: 12 kB / 0.6295 GB, free: 3.086 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009381/0.5493, allocations: 75.91 kB / 0.6296 GB, free: 3.012 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004752/0.5498, allocations: 144.4 kB / 0.6297 GB, free: 2.871 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-05/0.5499, allocations: 23.98 kB / 0.6297 GB, free: 2.848 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007189/0.5506, allocations: 0.4951 MB / 0.6302 GB, free: 2.355 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5506, allocations: 0 / 0.6302 GB, free: 2.355 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001258/0.5519, allocations: 291.7 kB / 0.6305 GB, free: 2.07 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.0002057/0.5521, allocations: 115.1 kB / 0.6306 GB, free: 1.949 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00421/0.5563, allocations: 1.56 MB / 0.6321 GB, free: 384 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/0.5563, allocations: 0 / 0.6321 GB, free: 384 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003128/0.5595, allocations: 1.064 MB / 0.6331 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008113/0.5603, allocations: 82.27 kB / 0.6332 GB, free: 15.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003977/0.5643, allocations: 1.643 MB / 0.6348 GB, free: 13.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007786/0.5651, allocations: 0.9786 MB / 0.6358 GB, free: 12.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000251/0.5654, allocations: 55.42 kB / 0.6358 GB, free: 12.49 MB / 446.1 MB Notification: Performance of SimCode: time 1.232e-06/0.5654, allocations: 0 / 0.6358 GB, free: 12.49 MB / 446.1 MB Notification: Performance of Templates: time 0.02406/0.5894, allocations: 14.21 MB / 0.6497 GB, free: 14.27 MB / 462.1 MB 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)