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.1241/0.1241, allocations: 12.6 MB / 28.91 MB, free: 0.5859 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.001398/0.001398, allocations: 103.5 kB / 32.5 MB, free: 3.531 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.501/1.501, allocations: 205.1 MB / 241.1 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.001494/0.001494, allocations: 187.4 kB / 291.4 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.4415/0.4415, allocations: 78.5 MB / 420 MB, free: 11.25 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.002584/0.002584, allocations: 141.9 kB / 0.5565 GB, free: 28.46 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1404, allocations: 68.13 MB / 0.623 GB, free: 15.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.006172/0.1466, allocations: 5.291 MB / 0.6282 GB, free: 10.15 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003117/0.1498, allocations: 1.373 MB / 0.6295 GB, free: 8.773 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006067/0.1505, allocations: 8 kB / 0.6295 GB, free: 8.766 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004849/0.151, allocations: 170.5 kB / 0.6297 GB, free: 8.598 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000899/0.1519, allocations: 329.5 kB / 0.63 GB, free: 8.273 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001532/0.1534, allocations: 0.6307 MB / 0.6306 GB, free: 7.645 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001322/0.1547, allocations: 1.062 MB / 0.6317 GB, free: 6.578 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003916/0.1551, allocations: 235.6 kB / 0.6319 GB, free: 6.332 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000608/0.1558, allocations: 438.1 kB / 0.6323 GB, free: 5.902 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007016/0.1565, allocations: 0.5249 MB / 0.6328 GB, free: 5.375 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001437/0.1566, allocations: 76 kB / 0.6329 GB, free: 5.301 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003281/0.157, allocations: 147.9 kB / 0.633 GB, free: 5.156 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000182/0.1572, allocations: 203.1 kB / 0.6332 GB, free: 4.957 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004177/0.1576, allocations: 469.2 kB / 0.6337 GB, free: 4.496 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001177/0.1588, allocations: 1.086 MB / 0.6347 GB, free: 3.406 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1588, allocations: 0 / 0.6347 GB, free: 3.406 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1588, allocations: 0 / 0.6347 GB, free: 3.406 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.949e-05/0.1588, allocations: 0 / 0.6347 GB, free: 3.406 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.005292/0.1641, allocations: 1.76 MB / 0.6364 GB, free: 1.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.1642, allocations: 11.98 kB / 0.6365 GB, free: 1.578 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002775/0.167, allocations: 450.6 kB / 0.6369 GB, free: 1.137 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/0.1683, allocations: 0.6311 MB / 0.6375 GB, free: 472 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000286/0.1686, allocations: 197.8 kB / 0.6377 GB, free: 240 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/0.1688, allocations: 52 kB / 0.6377 GB, free: 188 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/0.1705, allocations: 0.7681 MB / 0.6385 GB, free: 15.4 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.1706, allocations: 4 kB / 0.6385 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-05/0.1706, allocations: 20 kB / 0.6385 GB, free: 15.38 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.124e-05/0.1707, allocations: 19.94 kB / 0.6385 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00163/0.1723, allocations: 0.7 MB / 0.6392 GB, free: 14.66 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005197/0.1775, allocations: 2.672 MB / 0.6418 GB, free: 11.83 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001683/0.1792, allocations: 1.032 MB / 0.6428 GB, free: 10.69 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001031/0.1803, allocations: 483.2 kB / 0.6433 GB, free: 10.21 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.371e-05/0.1804, allocations: 16.55 kB / 0.6433 GB, free: 10.2 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001296/0.1817, allocations: 0.5919 MB / 0.6439 GB, free: 9.586 MB / 462.1 MB Notification: Performance of pre-optimization done (n=66): time 3.026e-06/0.1817, allocations: 0 / 0.6439 GB, free: 9.586 MB / 462.1 MB Notification: Performance of matching and sorting (n=66): time 0.01983/0.2016, allocations: 4.6 MB / 0.6484 GB, free: 4.953 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.709e-05/0.2017, allocations: 85.67 kB / 0.6485 GB, free: 4.852 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/0.2029, allocations: 0.7158 MB / 0.6492 GB, free: 4.129 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001564/0.203, allocations: 37.7 kB / 0.6492 GB, free: 4.086 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003127/0.2034, allocations: 380.7 kB / 0.6496 GB, free: 3.707 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003607/0.2037, allocations: 236.6 kB / 0.6498 GB, free: 3.473 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002519/0.204, allocations: 102.3 kB / 0.6499 GB, free: 3.363 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.2041, allocations: 322 kB / 0.6502 GB, free: 3.043 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009582/0.2051, allocations: 409.1 kB / 0.6506 GB, free: 2.645 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/0.2062, allocations: 0.5097 MB / 0.6511 GB, free: 2.094 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002001/0.2082, allocations: 0.9237 MB / 0.652 GB, free: 1.129 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.2082, allocations: 0 / 0.652 GB, free: 1.129 MB / 462.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.009145/0.2174, allocations: 2.582 MB / 0.6545 GB, free: 14.54 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/0.2174, allocations: 8.312 kB / 0.6545 GB, free: 14.53 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/0.2175, allocations: 7.938 kB / 0.6545 GB, free: 14.52 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004335/0.2218, allocations: 1.128 MB / 0.6556 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005077/0.2223, allocations: 95.89 kB / 0.6557 GB, free: 13.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01705/0.2394, allocations: 6.768 MB / 0.6623 GB, free: 6.375 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.2406, allocations: 115.5 kB / 0.6624 GB, free: 6.262 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/0.2408, allocations: 27.94 kB / 0.6625 GB, free: 6.234 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.0004735/0.2413, allocations: 195.2 kB / 0.6626 GB, free: 6.035 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002655/0.2415, allocations: 86.97 kB / 0.6627 GB, free: 5.949 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00922/0.2508, allocations: 2.626 MB / 0.6653 GB, free: 3.312 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.112e-05/0.2508, allocations: 11.98 kB / 0.6653 GB, free: 3.301 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.2508, allocations: 7.938 kB / 0.6653 GB, free: 3.293 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.896e-05/0.2509, allocations: 0 / 0.6653 GB, free: 3.293 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01109/0.262, allocations: 3.828 MB / 0.669 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.451e-05/0.262, allocations: 0 / 0.669 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004938/0.2625, allocations: 75.89 kB / 0.6691 GB, free: 15.26 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004476/0.267, allocations: 1.074 MB / 0.6702 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000201/0.2673, allocations: 23.98 kB / 0.6702 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01476/0.2821, allocations: 6.01 MB / 0.6761 GB, free: 8.008 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.2821, allocations: 4 kB / 0.6761 GB, free: 8.004 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01046/0.2926, allocations: 3.228 MB / 0.6792 GB, free: 4.754 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003942/0.293, allocations: 175.9 kB / 0.6794 GB, free: 4.562 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002485/0.2933, allocations: 8 kB / 0.6794 GB, free: 4.555 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009394/0.2942, allocations: 75.91 kB / 0.6795 GB, free: 4.48 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005267/0.2948, allocations: 148.4 kB / 0.6796 GB, free: 4.336 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.661e-05/0.2949, allocations: 20 kB / 0.6796 GB, free: 4.316 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007828/0.2957, allocations: 0.4951 MB / 0.6801 GB, free: 3.828 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2957, allocations: 4 kB / 0.6801 GB, free: 3.824 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001148/0.2968, allocations: 291.7 kB / 0.6804 GB, free: 3.539 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.000261/0.2971, allocations: 111.2 kB / 0.6805 GB, free: 3.418 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004651/0.3017, allocations: 1.537 MB / 0.682 GB, free: 1.867 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.3018, allocations: 0 / 0.682 GB, free: 1.867 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003253/0.3051, allocations: 1.06 MB / 0.683 GB, free: 0.793 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009221/0.306, allocations: 83.36 kB / 0.6831 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003811/0.3098, allocations: 1.63 MB / 0.6847 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00068/0.3106, allocations: 0.9747 MB / 0.6857 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002821/0.3109, allocations: 55.44 kB / 0.6857 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of SimCode: time 8.62e-07/0.3109, allocations: 0 / 0.6857 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of Templates: time 0.02207/0.3329, allocations: 14.28 MB / 0.6997 GB, free: 15.7 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)