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.005557/0.005557, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.349/1.349, allocations: 222.9 MB / 239.4 MB, free: 4.531 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.001666/0.001666, allocations: 196.5 kB / 289.7 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4896/0.4896, allocations: 78.52 MB / 418.4 MB, free: 3.117 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 87.84 kB / 0.5536 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3525, allocations: 68.17 MB / 0.6202 GB, free: 9.691 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.004822/0.3574, allocations: 5.232 MB / 0.6253 GB, free: 4.957 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00235/0.3598, allocations: 1.407 MB / 0.6266 GB, free: 3.547 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003912/0.3602, allocations: 8 kB / 0.6266 GB, free: 3.539 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000381/0.3606, allocations: 166.5 kB / 0.6268 GB, free: 3.375 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005839/0.3612, allocations: 369.4 kB / 0.6272 GB, free: 3.012 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.3622, allocations: 0.6362 MB / 0.6278 GB, free: 2.379 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006622/0.3629, allocations: 1.062 MB / 0.6288 GB, free: 1.312 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002833/0.3632, allocations: 227.7 kB / 0.629 GB, free: 1.078 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003085/0.3635, allocations: 446.1 kB / 0.6295 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004394/0.364, allocations: 0.5288 MB / 0.63 GB, free: 112 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.105e-05/0.3641, allocations: 76 kB / 0.63 GB, free: 36 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002477/0.3643, allocations: 136 kB / 0.6302 GB, free: 15.9 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001732/0.3645, allocations: 207.1 kB / 0.6304 GB, free: 15.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003687/0.3649, allocations: 473.2 kB / 0.6308 GB, free: 15.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009675/0.3659, allocations: 1.08 MB / 0.6319 GB, free: 14.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3659, allocations: 0 / 0.6319 GB, free: 14.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3659, allocations: 0 / 0.6319 GB, free: 14.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.3659, allocations: 0 / 0.6319 GB, free: 14.16 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.00495/0.3708, allocations: 1.76 MB / 0.6336 GB, free: 12.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.3709, allocations: 8.031 kB / 0.6336 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002635/0.3735, allocations: 446.7 kB / 0.634 GB, free: 11.9 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.3746, allocations: 0.631 MB / 0.6346 GB, free: 11.22 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002371/0.3749, allocations: 213.7 kB / 0.6349 GB, free: 10.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.285e-05/0.375, allocations: 48 kB / 0.6349 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.3765, allocations: 0.772 MB / 0.6356 GB, free: 10.15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.3765, allocations: 0 / 0.6356 GB, free: 10.15 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-05/0.3766, allocations: 20 kB / 0.6357 GB, free: 10.13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.3766, allocations: 15.94 kB / 0.6357 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001517/0.3782, allocations: 0.7 MB / 0.6364 GB, free: 9.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004411/0.3826, allocations: 2.668 MB / 0.639 GB, free: 6.586 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.3841, allocations: 1.034 MB / 0.64 GB, free: 5.438 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009829/0.3851, allocations: 491.1 kB / 0.6405 GB, free: 4.949 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.978e-05/0.3852, allocations: 16.5 kB / 0.6405 GB, free: 4.934 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001185/0.3864, allocations: 0.5842 MB / 0.641 GB, free: 4.332 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 2.264e-06/0.3864, allocations: 0 / 0.641 GB, free: 4.332 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.01893/0.4054, allocations: 4.6 MB / 0.6455 GB, free: 15.7 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.05e-05/0.4055, allocations: 97.62 kB / 0.6456 GB, free: 15.58 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009713/0.4064, allocations: 0.7041 MB / 0.6463 GB, free: 14.87 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001008/0.4066, allocations: 41.69 kB / 0.6464 GB, free: 14.82 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002781/0.4068, allocations: 380.8 kB / 0.6467 GB, free: 14.45 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002498/0.4071, allocations: 228.6 kB / 0.6469 GB, free: 14.22 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002273/0.4073, allocations: 106.2 kB / 0.647 GB, free: 14.11 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.4075, allocations: 330 kB / 0.6473 GB, free: 13.78 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009436/0.4084, allocations: 405.1 kB / 0.6477 GB, free: 13.38 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.4094, allocations: 0.5059 MB / 0.6482 GB, free: 12.84 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001937/0.4114, allocations: 0.9159 MB / 0.6491 GB, free: 11.88 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.4114, allocations: 4 kB / 0.6491 GB, free: 11.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.009019/0.4204, allocations: 2.586 MB / 0.6517 GB, free: 9.281 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.4205, allocations: 8 kB / 0.6517 GB, free: 9.273 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.4205, allocations: 11.92 kB / 0.6517 GB, free: 9.262 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004245/0.4248, allocations: 1.113 MB / 0.6528 GB, free: 8.148 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004927/0.4253, allocations: 95.88 kB / 0.6528 GB, free: 8.055 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01632/0.4416, allocations: 6.78 MB / 0.6595 GB, free: 1.129 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009962/0.4427, allocations: 119.5 kB / 0.6596 GB, free: 1.012 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.679e-05/0.4427, allocations: 23.98 kB / 0.6596 GB, free: 0.9883 MB / 462.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.0003507/0.4431, allocations: 201.6 kB / 0.6598 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.4432, allocations: 86.97 kB / 0.6599 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009012/0.4523, allocations: 2.627 MB / 0.6624 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/0.4523, allocations: 4 kB / 0.6625 GB, free: 14.04 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.4523, allocations: 11.88 kB / 0.6625 GB, free: 14.03 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.705e-05/0.4523, allocations: 3.984 kB / 0.6625 GB, free: 14.03 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01026/0.4626, allocations: 3.828 MB / 0.6662 GB, free: 10.07 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-06/0.4627, allocations: 4 kB / 0.6662 GB, free: 10.07 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004251/0.4631, allocations: 75.89 kB / 0.6663 GB, free: 9.996 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003938/0.467, allocations: 1.086 MB / 0.6673 GB, free: 8.906 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.383e-05/0.4671, allocations: 12 kB / 0.6674 GB, free: 8.895 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01428/0.4814, allocations: 6.005 MB / 0.6732 GB, free: 2.746 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.4815, allocations: 0 / 0.6732 GB, free: 2.746 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01012/0.4916, allocations: 3.22 MB / 0.6764 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003537/0.492, allocations: 179.8 kB / 0.6765 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/0.4921, allocations: 15.98 kB / 0.6765 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008047/0.4929, allocations: 67.92 kB / 0.6766 GB, free: 15.22 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000458/0.4934, allocations: 152.4 kB / 0.6768 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.081e-05/0.4935, allocations: 19.98 kB / 0.6768 GB, free: 15.05 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006199/0.4941, allocations: 0.4951 MB / 0.6773 GB, free: 14.56 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.423e-06/0.4941, allocations: 0 / 0.6773 GB, free: 14.56 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009214/0.495, allocations: 295.6 kB / 0.6775 GB, free: 14.27 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.0001992/0.4952, allocations: 111.2 kB / 0.6776 GB, free: 14.15 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004429/0.4997, allocations: 1.544 MB / 0.6792 GB, free: 12.59 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.4997, allocations: 0 / 0.6792 GB, free: 12.59 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003095/0.5028, allocations: 1.06 MB / 0.6802 GB, free: 11.52 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007918/0.5036, allocations: 83.3 kB / 0.6803 GB, free: 11.44 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00329/0.5069, allocations: 1.595 MB / 0.6818 GB, free: 9.824 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005373/0.5075, allocations: 0.9709 MB / 0.6828 GB, free: 8.824 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002346/0.5077, allocations: 69.12 kB / 0.6828 GB, free: 8.758 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.5079, allocations: 55.42 kB / 0.6829 GB, free: 8.703 MB / 494.1 MB Notification: Performance of SimCode: time 7.92e-07/0.5079, allocations: 0 / 0.6829 GB, free: 8.703 MB / 494.1 MB Notification: Performance of Templates: time 0.02747/0.5354, allocations: 17.05 MB / 0.6995 GB, free: 7.652 MB / 0.4981 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.FACTS.STATCOM_Test.makefile (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)