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.0773/0.0773, allocations: 12.6 MB / 28.91 MB, free: 0.6055 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.001071/0.001071, allocations: 111.5 kB / 32.5 MB, free: 3.547 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.272/1.272, allocations: 205.1 MB / 241.1 MB, free: 12.38 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.001379/0.001379, allocations: 199.3 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.4144/0.4144, allocations: 78.51 MB / 420 MB, free: 11.24 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.002582/0.002582, allocations: 133.4 kB / 0.5565 GB, free: 28.57 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1106, allocations: 68.13 MB / 0.623 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.005936/0.1165, allocations: 5.291 MB / 0.6282 GB, free: 10.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00275/0.1193, allocations: 1.369 MB / 0.6295 GB, free: 8.762 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006627/0.12, allocations: 8 kB / 0.6295 GB, free: 8.754 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005547/0.1206, allocations: 170.5 kB / 0.6297 GB, free: 8.586 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001065/0.1217, allocations: 333.4 kB / 0.63 GB, free: 8.258 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.1232, allocations: 0.6422 MB / 0.6306 GB, free: 7.617 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001285/0.1245, allocations: 1.054 MB / 0.6317 GB, free: 6.559 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000386/0.1249, allocations: 235.6 kB / 0.6319 GB, free: 6.312 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000589/0.1255, allocations: 438.1 kB / 0.6323 GB, free: 5.883 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000796/0.1263, allocations: 0.5288 MB / 0.6328 GB, free: 5.352 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002303/0.1266, allocations: 76 kB / 0.6329 GB, free: 5.277 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003922/0.127, allocations: 144 kB / 0.633 GB, free: 5.137 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002022/0.1272, allocations: 199.1 kB / 0.6332 GB, free: 4.941 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004714/0.1277, allocations: 477.2 kB / 0.6337 GB, free: 4.473 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001164/0.1288, allocations: 1.074 MB / 0.6347 GB, free: 3.395 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1288, allocations: 0 / 0.6347 GB, free: 3.395 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1289, allocations: 0 / 0.6347 GB, free: 3.395 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.926e-05/0.1289, allocations: 0 / 0.6347 GB, free: 3.395 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.004939/0.1338, allocations: 1.768 MB / 0.6365 GB, free: 1.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.1339, allocations: 11.98 kB / 0.6365 GB, free: 1.559 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002603/0.1365, allocations: 446.6 kB / 0.6369 GB, free: 1.121 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.1376, allocations: 0.6272 MB / 0.6375 GB, free: 460 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002598/0.1379, allocations: 201.8 kB / 0.6377 GB, free: 224 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.138, allocations: 52 kB / 0.6377 GB, free: 172 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.1395, allocations: 0.7681 MB / 0.6385 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.1395, allocations: 3.938 kB / 0.6385 GB, free: 15.38 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.631e-05/0.1396, allocations: 20 kB / 0.6385 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/0.1396, allocations: 19.94 kB / 0.6385 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001443/0.1411, allocations: 0.7 MB / 0.6392 GB, free: 14.64 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004492/0.1456, allocations: 2.668 MB / 0.6418 GB, free: 11.82 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.1471, allocations: 1.035 MB / 0.6428 GB, free: 10.68 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009081/0.1481, allocations: 491.1 kB / 0.6433 GB, free: 10.2 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.903e-05/0.1481, allocations: 8.562 kB / 0.6433 GB, free: 10.19 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001079/0.1492, allocations: 0.592 MB / 0.6439 GB, free: 9.574 MB / 462.1 MB Notification: Performance of pre-optimization done (n=66): time 2.645e-06/0.1492, allocations: 0 / 0.6439 GB, free: 9.574 MB / 462.1 MB Notification: Performance of matching and sorting (n=66): time 0.01742/0.1667, allocations: 4.6 MB / 0.6484 GB, free: 4.941 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.886e-05/0.1668, allocations: 93.61 kB / 0.6485 GB, free: 4.832 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000974/0.1677, allocations: 0.708 MB / 0.6492 GB, free: 4.117 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001312/0.1679, allocations: 41.7 kB / 0.6492 GB, free: 4.07 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002608/0.1682, allocations: 376.8 kB / 0.6496 GB, free: 3.695 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000278/0.1684, allocations: 236.5 kB / 0.6498 GB, free: 3.461 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000221/0.1687, allocations: 102.3 kB / 0.6499 GB, free: 3.352 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1688, allocations: 334 kB / 0.6502 GB, free: 3.02 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008631/0.1697, allocations: 401.1 kB / 0.6506 GB, free: 2.629 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009388/0.1706, allocations: 0.5059 MB / 0.6511 GB, free: 2.082 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001798/0.1724, allocations: 0.9198 MB / 0.652 GB, free: 1.121 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.1725, allocations: 0 / 0.652 GB, free: 1.121 MB / 462.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.008268/0.1807, allocations: 2.594 MB / 0.6545 GB, free: 14.52 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.1808, allocations: 8 kB / 0.6545 GB, free: 14.51 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.1808, allocations: 3.938 kB / 0.6545 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003935/0.1848, allocations: 1.124 MB / 0.6556 GB, free: 13.38 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004827/0.1853, allocations: 103.8 kB / 0.6557 GB, free: 13.28 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01527/0.2006, allocations: 6.765 MB / 0.6623 GB, free: 6.359 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.2016, allocations: 119.5 kB / 0.6624 GB, free: 6.242 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/0.2017, allocations: 24 kB / 0.6625 GB, free: 6.219 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.0003885/0.2021, allocations: 203.2 kB / 0.6627 GB, free: 6.012 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002088/0.2023, allocations: 86.97 kB / 0.6627 GB, free: 5.926 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008353/0.2107, allocations: 2.63 MB / 0.6653 GB, free: 3.285 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/0.2108, allocations: 8 kB / 0.6653 GB, free: 3.277 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2108, allocations: 3.938 kB / 0.6653 GB, free: 3.273 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.598e-05/0.2108, allocations: 3.984 kB / 0.6653 GB, free: 3.27 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009728/0.2205, allocations: 3.824 MB / 0.6691 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.2206, allocations: 0 / 0.6691 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004494/0.221, allocations: 79.89 kB / 0.6691 GB, free: 15.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003665/0.2247, allocations: 1.074 MB / 0.6702 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001171/0.2249, allocations: 12 kB / 0.6702 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01292/0.2378, allocations: 6.017 MB / 0.6761 GB, free: 7.988 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/0.2378, allocations: 11.94 kB / 0.6761 GB, free: 7.977 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009403/0.2473, allocations: 3.213 MB / 0.6792 GB, free: 4.742 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003101/0.2476, allocations: 171.9 kB / 0.6794 GB, free: 4.555 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001983/0.2478, allocations: 8 kB / 0.6794 GB, free: 4.547 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008358/0.2487, allocations: 83.91 kB / 0.6795 GB, free: 4.465 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004311/0.2491, allocations: 148.2 kB / 0.6796 GB, free: 4.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.605e-05/0.2492, allocations: 23.98 kB / 0.6796 GB, free: 4.297 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006344/0.2498, allocations: 499 kB / 0.6801 GB, free: 3.816 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2498, allocations: 4 kB / 0.6801 GB, free: 3.812 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001002/0.2508, allocations: 291.7 kB / 0.6804 GB, free: 3.527 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.00022/0.2511, allocations: 119.2 kB / 0.6805 GB, free: 3.398 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004054/0.2551, allocations: 1.54 MB / 0.682 GB, free: 1.844 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.2552, allocations: 0 / 0.682 GB, free: 1.844 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002834/0.258, allocations: 1.053 MB / 0.683 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007317/0.2588, allocations: 83.3 kB / 0.6831 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003259/0.262, allocations: 1.627 MB / 0.6847 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006109/0.2627, allocations: 0.9748 MB / 0.6857 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002506/0.263, allocations: 55.42 kB / 0.6857 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of SimCode: time 7.31e-07/0.263, allocations: 0 / 0.6857 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of Templates: time 0.01978/0.2827, allocations: 14.41 MB / 0.6998 GB, free: 15.55 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)